* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hina Mincho", serif;
}

ol {
  list-style: none;
}

main {
  text-align: left;
}

.content {
  margin: 64px auto;
  padding: 0 20px;
  max-width: 980px;
}

/* =============ヘッダー===================== */

header {
  background-color: #001d67;
  height: 100px;
  display: flex;
}

h1 img {
  height: 80px;
  margin: 10px auto;
  padding: 10px 30px;
}

/* ==============================
パンくずリスト
=============================== */

.breadcrumb {
  display: flex;
  flex-wrap: nowrap;
  padding: 20px 30px;
  text-align: left;
}

.breadcrumb li {
  margin-right: 10px;
  font-size: 12px;
}

.breadcrumb a {
  margin-right: 10px;
  color: #00064d;
}

/* -----------------------
ハンバーガーメニュー
------------------------ */

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin: 20px 30px;
  background-color: rgba(255, 255, 255, 0.5);
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all 0.4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}
.hamburger__line:nth-of-type(2) {
  top: 23px;
}
.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

/* オフキャンバスのメニュー本体（ハンバーガーで開閉） */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  height: 100vh;
  background-color: #001d67;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.25);
  transform: translateX(-110%);
  transition: transform 0.35s;
  z-index: 90;
  border-radius: 20px;
}

.nav.active {
  transform: translateX(0);
}

/* アコーディオン（2段階） */
.accordion-menu {
  margin: 0;
  padding: 100px 20px 0;
  list-style: none;
}

.nav_item {
  margin: 16px 0;
}

.nav_link,
.nav_sublink,
.nav_sub2link {
  display: block;
  text-decoration: none;
}

.nav_link {
  color: #eee;
  font-weight: 900;
  background-color: #001d67;
  padding: 14px 16px;
  border-radius: 8px;
}

/* 既存の `.nav_list a` を使っていた分を無効化して新クラスに寄せる */
.nav_list a {
  background: none;
  padding: 0;
  border-radius: 0;
}

.has-sub > .dropdownlink {
  position: relative;
}

.has-sub > .dropdownlink::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #eee;
  border-bottom: 2px solid #eee;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.25s;
}

.has-sub.open > .dropdownlink::after {
  transform: translateY(-40%) rotate(-135deg);
}

.submenuItems {
  display: none;
  margin: 10px 0 0;
  padding: 0 0 0 14px;
}

.nav_sublink {
  color: #001d67;
  font-weight: 800;
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 8px;
}

.nav_sub {
  margin: 10px 0;
}

/* 2段目 */
.nav_sub2 {
  margin: 10px 0;
}

.nav_sub2link {
  color: #001d67;
  font-weight: 700;
  background: #f2f2f2;
  padding: 10px 14px;
  border-radius: 8px;
}

/* 2段目の矢印は少し薄く */
.nav_sub.has-sub > .dropdownlink::after {
  border-right-color: #001d67;
  border-bottom-color: #001d67;
}

.header_content {
  width: 100%;
  height: 600px;
  background-color: #00064d;
}

/* ================コンテンツ================== */

.content_section {
  display: block;
  margin: 64px auto;
  width: calc(100% - 32px);
  max-width: 800px;
  padding: 0px 25px;
  border-radius: 10px;
  border: 0.5px solid #cecece;
  background-color: #ffffff;
  box-shadow: 5px 5px 20px -10px;
  margin-bottom: 64px;
}

h2 {
  margin: 128px auto;
}

.heading02 {
  position: relative;
  font-size: 26px;
  text-align: center;
  border-bottom: 5px solid #dddddd;
  padding-bottom: 16px;
  margin-bottom: 64px;
}

.heading02::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background-color: #001d67;
}

.attention_btn {
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
  justify-content: center;
}

.attention_btn a {
  width: 100%;
  max-width: 400px;
  text-align: center;
  font-size: 25px;
  color: #00064d;
  margin: 16px 32px;
  padding: 20px 40px;
  border: 3px solid #00064d;
  border-radius: 10px;
  background-color: #ffffff;
}

.about_p {
  text-align: center;
  margin-bottom: 64px;
}

/* ----------------------------
予約について
------------------------------*/

.book_ol {
  margin: 64px auto;
  width: 100%;
  max-width: 600px;
  font-size: 15px;
  padding: 0 16px;
}

.book_li {
  margin: 16px 0;
  line-height: 2.5rem;
}
.book_text {
  margin: 32px 20px;
  font-size: 14px;
}

table {
  margin: 0 auto;
  text-align: center;
}

tbody {
  border: 1px solid #00064d;
}

tr {
  border: 1px solid #00064d;
}
th {
  border: 1px solid #00064d;
  padding: 8px 15px;
}

td {
  padding: 8px;
}
thead th {
  background-color: #4553f1;
  color: #fff;
}

/*** レスポンシブテーブルデザイン ***/
#formWrap {
  width: 700px;
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 90%;
}

table.form {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid #cccccc;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
}

table.form th {
  box-sizing: border-box;
  padding: 6px 8px 5px;
  border-top: solid 1px #ffffff;
  width: 25%;
  overflow: hidden;
  color: #13131e;
  font-style: normal;
  font-weight: bold;
  font-size: 100%;
  text-align: left;
  word-break: break-all;
  word-wrap: break-word;
  vertical-align: top;
  background-color: #f1f1f1;
}

table.form td {
  box-sizing: border-box;
  padding: 5px 10px;
  text-align: left;
  vertical-align: top;
  color: #595960;
  background-color: #ffffff;
  border-top: dotted 1px #e0dccc;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-word;
}
.moji {
  font-size: 15px;
}

.req {
  font-size: 0.85em;
  color: #ff3300;
}

input#button {
  font-size: 1.3em;
  margin-top: 20px;
  margin-bottom: 50px;
  padding-top: 15px;
  padding-right: 40px;
  padding-bottom: 15px;
  padding-left: 40px;
}

/* -----------------------
フォーム追加スタイル
------------------------ */
.rental-form input[type="text"],
.rental-form input[type="email"],
.rental-form input[type="tel"],
.rental-form input[type="number"],
.rental-form input[type="date"],
.rental-form select,
.rental-form textarea {
  width: 100%;
  font-size: 16px;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
}

.rental-form textarea {
  resize: vertical;
}

.help {
  margin-top: 8px;
  color: #555;
  font-size: 12px;
  line-height: 1.5;
}

.help.small {
  font-size: 11px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.field .label {
  display: block;
  font-size: 12px;
  color: #333;
  margin-bottom: 6px;
  font-weight: 700;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.checks label {
  color: #111;
}

.inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.unit {
  color: #333;
}

.check-consent {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.form-actions {
  text-align: center;
  margin: 18px 0 40px;
}

.btn-primary {
  border: none;
  border-radius: 999px;
  background: #001d67;
  color: #fff;
  padding: 14px 44px;
  font-size: 16px;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.92;
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

.alert {
  background: #fff3f3;
  border: 1px solid #ffb3b3;
  color: #7a1b1b;
  padding: 14px 16px;
  border-radius: 10px;
  white-space: pre-line;
  margin: 16px 0;
}

@media (max-width: 768px) {
  #formWrap {
    width: 96%;
    margin: 0 auto;
    color: #555;
    line-height: 120%;
    font-size: 90%;
  }
  table.form th {
    width: 100%;
    display: block;
    margin: 0 auto;
    border: none;
    border-radius: 3px;
  }
  table.form td {
    display: list-item;
    width: 100%;
    border-top: none !important;
  }

  .moji {
    font-size: 90%;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .btn-primary {
    width: 100%;
  }
}

/* end */

@media screen and (max-width: 450px) {
  h1 img {
    height: 50px;
    margin: 20px auto;
    padding: 10px 30px;
  }

  .heading02 {
    font-size: 18px;
  }

  .company_text {
    font-size: 14px;
  }
}

.company span {
  font-size: 10px;
}
