body {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.wrapper {
  overflow: hidden;
}

.button {
  background: #1e2084;
  border: 2px solid #1e2084;
  border-radius: 60px;
  color: #fff;
  display: block;
  font-weight: bold;
  max-width: 200px;
  padding: 15px 40px;
  text-align: center;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  text-decoration: none;
  margin: 30px auto;
}

p {
  font-size: .9rem;
}

.sales-notice {
  background: #fff3f3;
  border: 1px solid #e0a3a3;
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 30px;
}

.sales-notice p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #b40000;
}


/****************************        下部メニュー         **********************************/
#sp-fixed-menu {
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  /* opacity: 0.9; */
  z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#sp-fixed-menu li {
  justify-content: center;
  align-items: center;
  /* width: 50%; */
  width: 100%;
  padding: 0;
  margin: 0;
  /* font-size: 20px; */
}

/*左側メニューを緑色に*/
/* #sp-fixed-menu li:first-child{
  background: #38b435;
} */

/*左側メニューをオレンジ色に*/
/* #sp-fixed-menu li:last-child{
  background: #f3a324;
} */

/*ボタンを調整*/
#sp-fixed-menu li a {
  color: #fff;
  text-align: center;
  display: block;
  width: 100%;

  /* padding:20px 0; */
  padding: 0;
}

#sp-fixed-menu img {
  width: 100%;
  object-fit: contain;

}

#sp-fixed-menu li a img {
  width: 100%;
  object-fit: contain;
}

.title-frame {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: auto;
  margin-top: -40px;
}

.fadein {
  /* 最初は非表示 */
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s, opacity 1s, visibility 1s;
}

/* フェードイン時に入るクラス */
.is-fadein {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* SHUTTER ANIMATION */
.shutter {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  z-index: 99;
  -webkit-animation: byeShutter 3.5s forwards;
  animation: byeShutter 3.5s forwards;
}

.shutter-logo {
  width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: logo 0.8s forwards;
  animation: logo 0.8s forwards;
  animation-delay: 0.2s;
}

@keyframes byeShutter {
  50% {
    opacity: 1;
  }

  100% {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes logo {
  0% {
    opacity: 1;
  }

  50% {
    transform: rotate(10deg);
  }

  100% {
    transform: scale(0.8);
  }
}

/* END SHUTTER ANIMATION */

/* HAMBURGER */
#hamburger {
  display: none;
}

#toggle {
  position: fixed;
  top: 30px;
  right: 30px;
}

#toggle-box {
  position: relative;
  width: 50px;
  height: 40px;
  cursor: pointer;
}

#toggle-box>span {
  width: 100%;
  height: 1px;
  left: 0;
  display: block;
  background: #000;
  position: absolute;
  transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle-box>span:nth-child(1) {
  top: 0;
}

#toggle-box>span:nth-child(2) {
  top: 50%;
  transform: translatey(-50%);
}

#toggle-box>span:nth-child(3) {
  bottom: 0;
}

#toggle {
  z-index: 1000;
}

#nav-content {
  z-index: 900;
  overflow-x: hidden;
  width: 50%;
  height: 100%;
  /* color: #00256A; */
  background: #1e2084;
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  text-align: center;

}


#nav-content ul {
  list-style: none;
  display: block;
  position: absolute;
  /* top: 10%; */
  top: 15%;
  left: 8%;
  padding-left: 10px;
  width: 80%;
  line-height: 4em;
}

#nav-content ul li {
  width: 100%;
  border-bottom: 1px solid #fff;
  padding: 10px 0;
}

#nav-content ul li a {
  display: block;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
}

#nav-content a:hover {
  opacity: 0.6;
}

.is-open {
  overflow: hidden;
}

.is-open #toggle-box>span {
  background: #fff;
}

.is-open #toggle-box>span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg) translatey(-50%);
}

.is-open #toggle-box>span:nth-child(2) {
  width: 0;
}

.is-open #toggle-box>span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg) translatey(-50%);
}

.is-open #nav-content {
  z-index: 999;
  transform: translateX(0);
  width: 100%;
}


/* SM */
@media(max-width:519px) {
  #hamburger {
    display: block;
  }

  .header-top .gnav {
    display: none;
  }

  .button {
    font-size: .8rem;
    max-width: 180px;
    padding: 14px 30px;
    margin-top: 50px;
  }
}

/*PCの場合にはメニューを表示させない*/
@media (min-width: 768px) {
  .for-sp {
    display: none;
  }
}

@media(max-width:300px) {
  #toggle-box {
    width: 35px;
    height: 25px;
  }

  #nav-content ul li {
    padding: 15px 0;

  }

}


/* END HAMBURGER */



/* HEADER */
header {
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 999;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  height: 70px;
  padding: 40px 0;
}

.header-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.header-top .logo {
  /* width: 10%; */
  height: 70px;
  object-fit: contain;
  margin: 0 20px;

}


/*********************************** ナビメニュー用CSS  ***********************************/
.gnav {
  height: 70px;
  display: flex;
  justify-content: flex-end;
  width: 80%;
  margin: auto;
}

.contact-btn {
  width: 20%;
}

.contact-btn img {
  width: 100%;
}

.gnav ul {
  display: flex;
  margin: 0;
  padding: 0;
  height: 70px;
  width: 80%;
}

.gnav li {
  position: relative;
  flex: 1;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 🔻 li の縦線（疑似要素で高さ50%） */
.gnav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  height: 50%;
  /* ← ここで高さ調整 */
  width: 1px;
  background: #333;
  top: 25%;
  /* 中央に寄せる（(100-50)/2 = 25） */
}

/* 🔻 テキストを上下に並べて中央揃え */
.gnav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  height: 100%;
}

/* 🔻 下部の英語小文字 */
.gnav a span {
  font-size: 0.7em;
  font-weight: normal;
  margin-top: -5px;
  opacity: 0.8;
}


/*********************************** ナビメニュー用CSS  ***********************************/

/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  left: 50%;
  bottom: 10px;
  /*全体の高さ*/
  height: 50px;
  font-weight: bolder;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  /* color: #eee; */
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* .scrolldown1 span img {
  width: 100%;
  margin-top: -30px;
  margin-bottom: 5px;
} */

/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  /* background: #eee; */
  background: #fff;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/****************************レスポンシブ CSS（header/nav） ***********************************/
@media(max-width:1024px) {

  .header-top .logo {
    width: 100%;
    height: 70px;
    max-width: 200px;
    object-fit: contain;
  }

  .gnav ul {
    padding: 0;
    width: 80%;
  }

  .gnav a {
    font-size: .8em;
  }

}

@media(max-width:834px) {

  .header-top .logo {
    max-width: 180px;
  }

  .gnav {
    width: 70%;
  }

  .gnav a {
    font-size: .7em;
  }

  .gnav ul {
    width: 90%;
  }

  .contact-btn {
    width: 25%;
  }

}

@media(max-width:820px) {}

@media(max-width:768px) {}

@media(max-width:519px) {

  header {
    height: 90px;
  }

  .scrolldown1 span {
    top: -10px;
    color: #333;
  }

  .scrolldown1::after {
    top: 55px;
    height: 20px;
    background: #333;
  }

}

@media(max-width:300px) {
  header {
    height: 70px;
  }

  .header-top .logo {
    max-width: 130px;
  }

}


/* END HEADER */

/* CONTENTS1 */
.contents1 {
  margin-top: 220px;
}

.contents1-title {
  position: relative;
}

.contents1-title::after {
  content: 'CONTACT';
  font-size: 11rem;
  font-weight: bold;
  white-space: nowrap;
  line-height: 12rem;
  color: #f5f5f5;
  position: absolute;
  bottom: -44px;
  left: 30px;
  right: 0;
  z-index: -1;
}

.contents1-title h1 {
  padding-left: 50px;
}

.contents1-container {
  /* display: flex; */
  background-color: #efece8;
  padding: 100px 0;
}

.contents1-contents {
  /* width: 50%; */
  width: 90%;
  margin: auto;
  text-align: center;
}

.contents1-contents h2 {
  font-size: 2.5rem;
}

.contents1-contents p {
  font-size: 1rem;
  line-height: 44px;
  text-align: left;
  display: inline-block;
}

.contents1-contents h2 span {
  display: block;
}

/* .contents1-container img {
  width: 40%;
  display: block;
  margin: auto;
} */

@media(max-width:1024px) {
  .contents1-contents h2 {
    font-size: 2rem;
  }

  .contents1-contents p {
    line-height: 35px;
  }

}

@media(max-width:834px) {
  .contents1-title::after {
    font-size: 7rem;
  }

  .contents1-contents h2 {
    font-size: 1.7rem;
  }

  .contents1-contents p {
    font-size: .8rem;
    line-height: 25px;
  }

}

@media(max-width:768px) {}

@media(max-width:519px) {
  .contents1-title::after {
    font-size: 4rem;
    bottom: -64px;
  }

  .contents1-container {
    display: block;
    padding: 30px 0;
  }

  .contents1-contents {
    width: 90%;
  }

  .contents1-container img {
    width: 70%;
    margin: 50px auto;
  }

}

/* ===== CONTENTS1（CONTACT強化版） ===== */
.contents1 {
  margin-top: 220px;
}

.contents1-title {
  position: relative;
}

.contents1-title::after {
  content: 'CONTACT';
  font-size: 11rem;
  font-weight: bold;
  white-space: nowrap;
  line-height: 12rem;
  color: #f2f2f2;
  position: absolute;
  bottom: -44px;
  left: 30px;
  z-index: -1;
}

.contents1-title h1 {
  padding-left: 50px;
}

/* 背景をグラデーションに */
.contents1-container {
  padding: 120px 0 80px;
  background: linear-gradient(
    180deg,
    #efece8 0%,
    #f6f6f6 100%
  );
}

/* 中央カード */
.contents1-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 60px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  text-align: center;
}

.contents1-card h2 {
  font-size: 2.6rem;
  line-height: 1.5;
  margin-bottom: 40px;
}

.contents1-card h2 span {
  color: #1e2084;
}

.contents1-card p {
  font-size: 1.05rem;
  line-height: 2;
  text-align: left;
  max-width: 720px;
  margin: 0 auto;
  color: #333;
}

/* 注意書き */
.contents1-note {
  margin-top: 35px;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 834px) {
  .contents1-title::after {
    font-size: 7rem;
  }

  .contents1-card {
    padding: 50px 40px;
  }

  .contents1-card h2 {
    font-size: 2rem;
  }

  .contents1-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 519px) {
  .contents1-title::after {
    font-size: 4rem;
    bottom: -60px;
  }

  .contents1-container {
    padding: 60px 0 80px;
  }

  .contents1-card {
    width: 90%;
    padding: 35px 15px;
  }

  .contents1-card h2 {
    font-size: 1.6rem;
  }

  .contents1-card p {
    font-size: 0.85rem;
  }
}


/* END CONTENTS1 */

/* CONTACT-BOX */
.contact-form {
  max-width: 900px;
  margin: 80px auto;
  padding: 50px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  box-sizing: border-box;
}

.contact-form h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 50px;
  color: #1e2084;
}

/* セクション見出し */
.form-section {
  margin: 50px 0 25px;
  font-size: 1.3rem;
  font-weight: bold;
  border-left: 6px solid #1e2084;
  padding-left: 15px;
  color: #333;
}

/* フォーム項目 */
.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  color: #333;
}

.required {
  background: #d40000;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

/* 入力欄 */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: 0.3s;
  box-sizing: border-box;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e2084;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(30,32,132,0.1);
}

/* ポリシー */
.policy-box {
  background: #f9f9f9;
  border-left: 4px solid #1e2084;
  padding: 20px 25px;
  margin: 40px 0;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
}

/* チェック */
.form-check {
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.form-check input {
  margin-right: 8px;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
}

.form-submit button {
  background: linear-gradient(135deg, #1e2084, #3a3fd8);
  color: #fff;
  border: none;
  padding: 18px 70px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 6px 15px rgba(30,32,132,0.3);
}

.form-submit button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30,32,132,0.4);
}

/* スマホ */
@media (max-width: 600px) {
  .contact-form {
    padding: 25px;
  }

  .contact-form h2 {
    font-size: 1.4rem;
  }

  .form-submit button {
    width: 100%;
    padding: 16px;
  }
}


/* END CONTACT-BOX */


/*  footer-contact */
.footer-contact {
  background-color: #1e2084;
  padding: 50px 0;
}

.footer-contact-container {
  background-color: #fff;
  width: 80%;
  margin: auto;
  text-align: center;
  padding: 50px 0;
  position: relative;
}

.footer-contact-container img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
}

.footer-contact-container h2 span {
  display: block;
}

.footer-contact-container h2 {
  font-size: 2rem;
}

.footer-contact-container h3 {
  position: relative;
  display: block;
  padding: 0 70px;
  line-height: 1.6;
  width: 60%;
  margin: auto;
}

/* 共通設定 */
.footer-contact-container h3::before,
.footer-contact-container h3::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  /* 線の長さ */
  height: 2px;
  /* ← 細さ（ここがポイント） */
  background: #000;
  /* 色 */
}

/* 左：＼ */
.footer-contact-container h3::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

/* 右：／ */
.footer-contact-container h3::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.button2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 40px;
  background-color: #1e2084;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;

  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button2 i {
  font-size: 1.1em;
}

.button2:hover {
  background-color: #0f1170;
  transform: translateY(-2px);
}


@media(max-width:1024px) {}

@media(max-width:834px) {

  .footer-contact-container {
    padding: 10px 0;
  }

  .footer-contact-container h2 {
    font-size: 1.5rem;
  }

  .footer-contact-container h3 {
    padding: 0 50px;
  }

  .footer-contact-container h3 span {
    display: block;
  }

}

@media(max-width:768px) {}

@media(max-width:519px) {
  .footer-contact-container h2 {
    font-size: 1.2rem;
  }

  .footer-contact-container h3 {
    font-size: .8rem;
  }

  .footer-contact-container h3::before,
  .footer-contact-container h3::after {
    width: 40px;
    height: 1px;
  }

  .button2 {
    padding: 13px 30px;
    font-size: .8rem;
  }

  .footer-contact-container img {
    width: 30%;
    right: -20px;
  }

}

/* END footer-contact */

/* FOOTER */

.footer-container {
  display: flex;
  margin: 50px auto;
}

.footer-map {
  width: 40%;
  height: 500px;
  margin: auto;
}

.footer-contents {
  width: 50%;
}

.footer-contents img {
  width: 40%;
  display: block;
  margin: 20px auto;
}

.footer-info {
  width: 70%;
  margin: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 6px 0;
  vertical-align: top;
  text-align: left;
}

.info-table td span {
  padding-left: 10px;
}

.info-table th {
  width: 110px;
  /* 左側の幅調整（お好みで） */
  font-weight: bold;
  color: #333;
}

.info-table td {
  color: #555;
}

.footer-tel {
  text-align: center;
  margin: 50px auto;
}

.footer-tel p {
  font-size: 1.1rem;
  margin: 0;
  color: #1e2084;
}

.footer-tel .number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* アイコンとの間隔 */
}

.footer-tel .number i {
  font-size: 2.2em;
  color: #1e2084;
  /* お好みで */
}

.footer-tel .number a {
  font-size: 2.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #1e2084;
}

.footer-bottom {
  background: #1e2084;
  /* フッター背景（好みに応じて） */
  padding: 10px 0;
}

.footer-bottom_container {
  width: 60%;
  margin: auto;
}

.footer-bottom_container ul {
  display: flex;
  justify-content: center;
  /* 中央に寄せる（必要なら） */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各 li を均等幅にして中身を中央寄せにする */
.footer-bottom_container ul li {
  flex: 1;
  /* ← 各 li が同じ幅になる */
  display: flex;
  justify-content: center;
  /* テキストを横方向の中央に */
  align-items: center;
  /* テキストを縦方向の中央に */
  padding: 0 12px;
  /* 左右の余白（必要に応じて調整） */
  box-sizing: border-box;
  position: relative;
}

/* リンク自体は幅いっぱいにして文字は中央揃え */
.footer-bottom_container ul li a {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  /* 高さ調整 */
}

/* サブテキスト（英語） */
.footer-bottom_container ul li a span {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* 縦線（li の右端に表示） */
.footer-bottom_container ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  /* li の右端に置く */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  /* テキストに合う長さに調整 */
  background-color: rgba(255, 255, 255, 0.6);
}

footer .copy {
  font-size: 15px;
  line-height: 30px;
  letter-spacing: .06em;
  text-align: center;
  margin: 0;
  padding: 10px 0;
  color: #333333;
}

.time-table {
  width: 100%;
  display: table;
  border-collapse: collapse;
  table-layout: fixed;
}

.time-table th {
  border-top: 1px solid #d2d2d2;
}

.time-table th,
.time-table td {
  padding: 0px 10px;
  text-align: center;
  height: 50px;
  border-bottom: 1px solid #d2d2d2;
}

.time-table td {
  width: 100%;
  min-width: auto;
  color: #1e2084;
  font-weight: bold;
}

.time-table td .time {
  color: #3c3c3c;
}

@media screen and (max-width: 764px) {
  .time-table td {
    min-width: auto;
    width: 100%;
    max-width: 5%;
    font-size: 12px;
  }

  .time-table th,
  .time-table td {
    min-width: 40px;
    width: 100%;
    padding: 0px 15px;
    font-size: 10px;
    min-width: unset;
    padding: 4px 6px;
  }
}

@media(max-width:1024px) {
  .footer-bottom_container {
    width: 80%;
  }

  .footer-tel .number a {
    font-size: 2rem;
  }

  .footer-tel .number {
    margin: 10px auto;
  }

  .footer-map {
    width: 50%;
  }
}

@media(max-width:834px) {

  .footer-bottom_container {
    width: 95%;
  }

  .footer-tel .number a {
    font-size: 1.8rem;
  }

  .footer-bottom_container ul li a {
    font-size: .7rem;
  }

  footer .copy {
    font-size: 11px;
  }

}

@media(max-width:768px) {
  .footer-tel .number a {
    font-size: 1.5rem;
  }

}

@media screen and (max-width: 519px) {

  footer {
    margin-bottom: 80px;
    /* 固定フッターがある場合のみ */
  }

  .footer-container {
    display: block;
  }

  .footer-contents {
    width: 100%;
  }

  .footer-contents img {
    width: 70%;
    margin: 0 auto 20px;
    display: block;
  }

  .footer-info {
    width: 100%;
    margin: auto;
  }

  .info-table {
    width: 100%;
    font-size: 0.9rem;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    text-align: center;
  }

  .info-table td span {
    display: block;
  }

  .footer-tel {
    margin-top: 20px;
  }

  .footer-tel .number a {
    font-size: 1.8rem;
  }

  .footer-map {
    width: 100%;
    height: 300px;
    margin-top: 30px;
  }

  /* ===== フッターメニュー ===== */

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom_container ul {
    display: block;
    padding: 0;
    margin: 0;
  }

  .footer-bottom_container ul li {
    width: 100%;
    border: none;
    border-bottom: 1px solid #555;
    padding: 15px 0;
    text-align: center;
  }

  .footer-bottom_container ul li a {
    font-size: 1rem;
    display: block;
  }

  .footer-bottom_container ul li a span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
  }

  .copy {
    font-size: 10px;
    text-align: center;
    margin-top: 10px;
  }

  .footer-bottom_container ul li::after {
    display: none;
  }
}


@media(max-width:300px) {
  .footer-bottom {
    margin-bottom: 140px;
  }

  table {
    font-size: .7em;
  }

  td {
    padding-left: 30px;
  }

  .footer-bottom_container img {
    width: 70%;
    display: block;
    margin: 20px auto;
  }

  .footer-bottom_container .insta {
    width: 90%;
  }

}

/* END FOOTER */


/* CF7の送信ボタンに当てる */
.form-submit input[type="submit"],
.wpcf7-form input[type="submit"]{
  background: linear-gradient(135deg, #1e2084, #3a3fd8);
  color: #fff;
  border: none;
  padding: 18px 70px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 6px 15px rgba(30,32,132,0.3);
  -webkit-appearance: none;
  appearance: none;
}

.form-submit input[type="submit"]:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30,32,132,0.4);
}



/* 表題の見出し（labelの代わり） */
.form-label{
  display:block;
  margin-bottom: 8px;
  font-weight: bold;
  font-size: 0.95rem;
  color:#333;
}

/* ラジオ丸の位置 */
.radio-group .wpcf7-list-item input[type="radio"]{
  flex: 0 0 auto;
  margin: 0;
}

/* テキストを中央に（改行も綺麗に） */
.radio-group .wpcf7-list-item .wpcf7-list-item-label{
  text-align: center;
  line-height: 1.4;
  font-weight: 600;
  color: #333;
}

/* hover */
.radio-group .wpcf7-list-item label:hover{
  background: #e9ecf8;
  border-color: #1e2084;
}

/* 選択中を分かりやすく */
.radio-group .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label{
  color: #1e2084;
}
.radio-group .wpcf7-list-item label:has(input[type="radio"]:checked){
  background: #eef0ff;
  border-color: #1e2084;
}

/* ラジオ全体をグリッドに */
.radio-group .wpcf7-form-control.wpcf7-radio{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ← 3列。2×2にしたいなら repeat(2,...) */
  gap: 14px;
  margin: 0;
  padding: 0;
}

/* CF7の余白を消す */
.radio-group .wpcf7-list-item{
  margin: 0;
}

/* カード */
.radio-group .wpcf7-list-item label{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f6f6f6;
  box-sizing: border-box;
  cursor: pointer;

  /* これが超重要：1文字改行（縦書き化）防止 */
  min-height: 76px;               /* 高さを安定 */
}

/* ラジオ丸 */
.radio-group .wpcf7-list-item input[type="radio"]{
  flex: 0 0 auto;
  margin: 0;
}

/* テキスト（縦になってる原因を潰す） */
.radio-group .wpcf7-list-item .wpcf7-list-item-label{
  flex: 1 1 auto;
  min-width: 0;                   /* flexの縮みバグ対策 */
  white-space: normal;            /* 文章は折り返してOK */
  word-break: keep-all;           /* 日本語の1文字改行を防ぐ（重要） */
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  color: #333;
}

/* hover */
.radio-group .wpcf7-list-item label:hover{
  background: #e9ecf8;
  border-color: #1e2084;
}

/* checked */
.radio-group input[type="radio"]{
  accent-color: #1e2084;
}
.radio-group .wpcf7-list-item label:has(input[type="radio"]:checked){
  background: #eef0ff;
  border-color: #1e2084;
}
.radio-group .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label{
  color: #1e2084;
}

/* レスポンシブ */
@media (max-width: 834px){
  .radio-group .wpcf7-form-control.wpcf7-radio{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 519px){
  .radio-group .wpcf7-form-control.wpcf7-radio{
    grid-template-columns: 1fr;
  }
}

/* ラジオ丸 */
.radio-group .wpcf7-list-item input[type="radio"]{
  margin: 0;                  /* 余白ゼロ */
}

/* テキスト：はみ出し完全防止 */
.radio-group .wpcf7-list-item .wpcf7-list-item-label{
  width: 100%;
  max-width: 100%;
  text-align: center;
  line-height: 1.35;
  font-weight: 600;
  color: #333;

  overflow-wrap: anywhere;    /* はみ出す場合に折り返す */
  word-break: keep-all;       /* 日本語の1文字改行を避ける */
}

.radio-group .wpcf7-form-control.wpcf7-radio{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}



@media screen and (max-width: 519px) {
    .footer-contact-container {
	       width: 95%;
    }

    .footer-contact-container h3 {
      font-size: .8rem;
      width: 70%;
    }

}

/* スマホメニュー：日本語＋英語を縦にする */
#nav-content ul li a{
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  white-space: normal;
}

#nav-content ul li a span{
  display: block;
  margin-top: 6px;
  font-size: .9em;
  font-weight: normal;
  opacity: .85;
}

/* =========================================
   CF7：お問い合わせ「表題」ラジオを 2列(2×2) + 中央揃え（iPhone実機対応）
   ※ contact.css の一番下に置く
========================================= */

/* 1) ラジオ全体：2列グリッド（2つで次の列） */
.radio-group .wpcf7-form-control.wpcf7-radio{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2) CF7の span の余白を殺す */
.radio-group .wpcf7-list-item{
  margin: 0 !important;
  width: 100% !important;
  display: block !important;
}

/* 3) カード（label） */
.radio-group .wpcf7-list-item > label{
  display: flex !important;
  flex-direction: column !important; /* 丸を上、文字を下 */
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;

  width: 100% !important;
  min-height: 110px;
  padding: 18px 14px;

  border: 1px solid #d9d9d9;
  border-radius: 14px;
  background: #f6f6f6;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
}

/* 4) iPhoneの「ラジオ位置ズレ」を根本から回避：ネイティブ描画をやめて自前で描画 */
.radio-group .wpcf7-list-item > label > input[type="radio"]{
  -webkit-appearance: none !important;
  appearance: none !important;

  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  border: 2px solid #9a9a9a !important;
  background: #fff !important;

  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* 5) チェック時：中央に点が出る */
.radio-group .wpcf7-list-item > label > input[type="radio"]:checked{
  border-color: #1e2084 !important;
  background: radial-gradient(#1e2084 45%, transparent 46%) !important;
}

/* 6) テキスト */
.radio-group .wpcf7-list-item .wpcf7-list-item-label{
  width: 100% !important;
  line-height: 1.35;
  font-weight: 700;
  color: #333;
  text-align: center;

  word-break: keep-all;    /* 1文字改行防止 */
  overflow-wrap: anywhere; /* はみ出し保険 */
}

/* 7) hover / selected */
.radio-group .wpcf7-list-item > label:hover{
  background: #e9ecf8;
  border-color: #1e2084;
}

/* 8) スマホは 1列にしたいならON（今回 “2つずつ” なのでOFFでOK）
   もし「縦1列がいい」に変えたくなったらコメント解除
*/
/*
@media (max-width: 519px){
  .radio-group .wpcf7-form-control.wpcf7-radio{
    grid-template-columns: 1fr !important;
  }
}
*/


/* =========================
  CF7 送信ボタンを中央寄せ
========================= */

/* ボタンの親（あなたの .form-submit）を中央寄せ */
.form-submit{
  display: flex !important;
  justify-content: center !important;
}

/* CF7のsubmit自体を中央寄せ（親が何であっても効く保険） */
.wpcf7-form input[type="submit"].wpcf7-submit{
  display: block !important;
  margin: 0 auto !important;
}

/* もし spinner が横に出てズレる時の保険 */
.wpcf7-form .wpcf7-spinner{
  display: block;
  margin: 12px auto 0;
}

/* プライバシーポリシーリンク（同意チェック直後） */
.privacy-link{
  margin: 10px 0 30px;
  text-align: center;
  font-size: 0.85rem;
}

.privacy-link a{
  color: #1e2084;
  font-weight: 600;
  text-decoration: underline;
}

.privacy-link a:hover{
  opacity: 0.8;
}

/* =========================
   迷惑メール対策：注意書き
========================= */
.mail-notice{
  background: #f6f8ff;
  border: 1px solid rgba(30,32,132,.25);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 0 0 18px;
}

.mail-notice h3{
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 800;
  color: #1e2084;
}

.mail-notice p{
  margin: 0;
  font-size: .9rem;
  line-height: 1.8;
  color: #333;
}

.mail-notice strong{
  font-weight: 800;
}

/* スマホ */
@media (max-width: 519px){
  .mail-notice{
    padding: 14px 14px;
    margin-bottom: 14px;
  }
  .mail-notice h3{
    font-size: .95rem;
  }
  .mail-notice p{
    font-size: .85rem;
  }
}

.footer-map {
  width: 40%;
}

.yahoo-map {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形にしたい場合（おすすめ） */
  height: 100%;
  overflow: hidden;
  border-radius: 18px;  /* 任意 */
}

/* Yahooが内部に作る要素に効かせる */
.yahoo-map iframe,
.yahoo-map > div,
.yahoo-map canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 519px) {
.footer-map {
  width: 100%;
}

}

@media (max-width: 519px) {

  /* フッター情報エリア全体は中央に配置 */
  .footer-info{
    text-align: center;
  }

  /* テーブル自体を中央に置く */
  .info-table{
    display: inline-table;  /* ←これがポイント（幅を内容に合わせる） */
    width: auto;
    margin: 0 auto;
  }

  /* ここが原因だった “ブロック化” を戻す */
  .info-table th,
  .info-table td{
    display: table-cell;     /* ← block を解除 */
    width: auto;
    text-align: left;        /* ←文字は左詰め */
    padding: 6px 0 6px 6px;
    vertical-align: top;
  }

  /* 住所の span を改行したいなら（今のままでもOK） */
  .info-table td span{
    display: inline;         /* ←改行したくないなら */
    padding-left: 10px;
  }

  /* 住所を2行にしたいならこっち */
  /* .info-table td span{
    display:block;
    padding-left:0;
  } */
}

/* =========================
  Yahooマップ下：駐車場案内
========================= */
.map-parking-note{
  margin: 14px 0 26px;   /* ←下の余白を追加（重なり防止） */
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbe6;
  border: 1px solid #f0d97a;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 519px){
  .map-parking-note{
    font-size: 0.8rem;
    padding: 10px 12px;
    margin-bottom: 32px; /* ←スマホはもう少し離す */
  }
}


.map-parking-note i{
  color: #d4a400;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.map-parking-note p{
  margin: 0;
}

.map-parking-note strong{
  font-weight: 800;
  color: #1e2084;
}

