
#top-area {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 900;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.header-col.center {
  margin-left: auto;
  font-size: 15px;
  font-weight: bold;
}


/* ロゴ（左カラム） */
.logo {
  margin: 0 32px;
}
.logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 電話番号 */
.tel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  position: relative;
}
.tel span {
  font-size: 30px;
  font-weight: bold;
}

/* ナビゲーション */
.main-nav {
  width: 100%;
}
.main-nav .main-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}
.main-nav > .main-menu > li {
  position: relative;
}
.main-nav > .main-menu > li > a {
  color: #1A005D;
  font-size: 14px;
  font-weight: bold;
  padding: 8px 0;
  transition: color 0.2s;
}
.main-nav > .main-menu > li > a:hover {
  color: #8EC300;
}

/* サブメニュー */
.main-nav ul .sub-menu {
  display: none;
  position: absolute;
  font-size: 13px;
  line-height: 30px;
  top: 18px;
  left: 0;
  background: rgba(26, 0, 93, 0.8);
  min-width: 220px;
  z-index: 10;
  flex-direction: column;
  padding: 5px 0;
  gap: 5px;
  text-align: left;
}
.main-nav ul li:hover > .sub-menu {
  display: flex;
}
.has-sub .sub-menu li {
  background: #002340;
}
.main-nav ul .sub-menu li a {
  color: #fff;
  margin-left: 15px;
  display: block;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  position: relative;
  display: block;
}
/* アイコンのスタイル */
.main-nav ul .sub-menu li a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  height: 5px;
  margin: auto;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
/* アイコンのスタイル */
.main-nav ul .sub-menu li a::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 3px;
  width: 5px;
  height: 5px;
  margin: auto;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.main-nav ul .sub-menu li a span {
  padding-left: 15px;
}
.main-nav ul .sub-menu li a span {
  background-image: linear-gradient(#fff, #fff);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 0 1px;
  transition: background-size 0.3s;
}

.main-nav ul .sub-menu li a:hover span {
  background-position: bottom left;
  background-size: 100% 1px;
}

/* お問い合わせ（右カラム） */
.contact {
  flex: 0 0 110px;
  align-items: flex-end;
  justify-content: center;
  min-width: 60px;
}
.contact img {
  width: 110px;
  height: 110px;
}


/* ハンバーガーボタン */
.sp-menu-btn {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  z-index: 1002;
}
.sp-menu-btn .bar {
  display: block;
  width: 20px;
  height: 3px;
  background: #fff;
  margin: 3px auto;
  border-radius: 2px;
  transition: none;
}
.sp-menu-btn .text {
  color: #fff;
  font-size: 12px;
  line-height: 15px;
}

/* open時は3本線を×にする */
.sp-menu-btn.open .bar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.sp-menu-btn.open .bar:nth-child(2) {
  opacity: 0;
}
.sp-menu-btn.open .bar:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}
.sp-menu-btn.open .bar {
  width: 24px;
}

/* SPメニュー本体 */
.sp-menu {
  display: none;
  position: fixed;
  top: 50px;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: #003865;
  z-index: 1000;
}
.sp-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sp-menu li {
  padding: 5px 24px;
}
.sp-menu li:not(:last-child) {
  border-bottom: 1px solid #fff;
}
.sp-menu ul li a {
  color: #fff;
  font-size: 15px;
  line-height: 35px;
  text-decoration: none;
  display: block;
  width: 100%;
}

/* --- PC表示 --- */
@media (min-width: 900px) {
  .sp-menu-btn,
  .sp-menu {
    display: none !important;
  }
}

/* --- SP表示 --- */
@media (max-width: 899px) {
  .header {
    height: 50px;
  }
  .logo img {
    width: 250px;
  }
  .logo {
    margin: 0 8px;
  }
  .header-col.center,
  .contact {
    display: none;
  }
  .sp-menu-btn {
    display: block;
    background: #003865;
    width: 50px;
    height: 50px;
  }
  .sp-menu {
    display: none;
  }
  .sp-menu.open {
    display: block;
  }
}

.has-sub {
  padding: 0!important;
}
.has-sub .menu-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 6px 5px 24px;
}
.sp-menu .has-sub .sub-menu a {
  padding: 0 0 0 10px;
}
.toggle-btn {
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  position: relative;
  cursor: pointer;
  margin-left: 8px;
  display: block;
  border-left: 1px #fff solid;
  padding-left: 30px;
}
.toggle-btn .bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: none;
}
.toggle-btn .bar1 {
  transform: translate(-50%, -50%) rotate(0deg);
}
.toggle-btn .bar2 {
  transform: translate(-50%, -50%) rotate(90deg);
}
.toggle-btn.open .bar1 {
  transform: translate(-50%, -50%) rotate(0deg);
}
.toggle-btn.open .bar2 {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* サブメニュー初期非表示 */
.sub-menu {
  display: none;
  margin-top: 8px;
  padding-left: 18px;
}
/* サブメニュー表示時（親li.open） */
.has-sub.open > .sub-menu {
  display: block;
}
.other {
  text-align: center;
  background: #ccc;
  border-bottom: none;
  line-height: 21px;
}
.other a {
  color: #003865!important;
  font-size: 12px!important;
}

.pclink {
  background: #fff;
}
.sp-menu ul li:not(.has-sub) {
  position: relative;
}
.sp-menu ul li:not(.has-sub):not(.other)::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16px;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}
.sp-menu ul li.active {
  background: #008dca;
}