* {
  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;
}

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

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;
}

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

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;
}

.contact_text {
  font-family: sans-serif;
  line-height: 2rem;
  font-weight: 700;
}

.contact_text a {
  font-size: 18px;
  color: red;
  text-decoration: underline;
}

.about_p {
  text-align: center;
  margin-bottom: 64px;
}
/*** レスポンシブテーブルデザイン ***/
#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;
}

@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%;
  }
} /* 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;
  }
}
