@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
/* ================================
   font
================================ */
body {
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 400 !important;
}
/* ================================
   ハンバーガーメニュー
================================ */
.btn-menu img {
  border-radius:0;
}


/* ================================
   ロゴ
================================ */
.navbar-brand img {
  width: 200px;
}

.navbar.navbar-expand-lg.navbar-light .container {
  padding-left: 0;
  padding-right: 0;
}

.bg-light {
  background-color: unset !important;
}

.text-center.d-flex.link{
  flex-direction: column;
  align-items: center;
}


/* ================================
  ステップセクション
================================ */
.container.my-4 .col-lg-4.d-none.d-lg-block,
.container.d-sm-none,
.container.mt-4 .col-lg-4.d-none.d-lg-block {
  display: none !important;
}

main.container>.container.my-4 .col-lg-8.d-flex-col.gap-2,
main.container>.container.mt-4 .col-lg-8.d-flex-col.gap-2,
main.container>.container.my-4 .col-lg-8.d-flex.flex-column.gap-2,
main.container>.container.mt-4 .col-lg-8.d-flex.flex-column.gap-2,
main.container>.container.my-4 .form-container.col-lg-8.d-flex.flex-column.gap-3 {
  width: 100% !important;
}

.container .my-4 .row .col-lg-8.d-flex.flex-column.gap-4,
.container .my-4 .row .col-lg-8.d-flex.flex-column.gap-3,
.container .my-4 .row .col-lg-8.d-flex.flex-column.gap-2 {
  width: 75% !important;
}

@media (max-width: 767px) {
  .d-flex.justify-content-center.d-sm-none.w-100.mt-3 {
    display: none !important;
  }

  .container .my-4 .row .col-lg-8.d-flex.flex-column.gap-4,
  .container .my-4 .row .col-lg-8.d-flex.flex-column.gap-3,
  .container .my-4 .row .col-lg-8.d-flex.flex-column.gap-2 {
    width: 100% !important;
  }

}



/* ================================
  サイドメニュー
================================ */
.col-lg-4 {
  flex: 0 0 auto;
  width: 25%;
}

/* ================================
   ハンバーガメニュー
================================ */
:root {
  --main-red: #e60012;
}

/* ===== オーバーレイ ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ===== メニュー本体 ===== */
.hamburger-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  background: #fff;
  /* 外側の太線 */
  border-left: 4px solid #e60012;
  transform: translateX(100%);
  transition: .3s;
  z-index: 999;
  overflow-y: auto;
}

/* 内側の細線 */
.hamburger-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6px;
  /* 太線から少し内側 */
  width: 1px;
  height: 100%;
  background: #e60012;
}

/* PC */
@media (min-width: 768px) {
  .hamburger-menu {
    width: 480px;
    padding: 40px 32px;
  }
}

/* SP */
@media (max-width: 767px) {
  .hamburger-menu {
    width: 90%;
    padding: 24px 20px;
  }
}

.hamburger-menu.active {
  transform: translateX(0);
}

/* ===== 閉じるボタン ===== */
.menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--main-red);
  color: #fff;
  font-size: 20px;
  border: none;
  cursor: pointer;
}

/* ===== メニューリスト ===== */
.menu-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}

.menu-list>li {
  border-bottom: 1px solid var(--main-red);
}

.menu-list a,
.accordion-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 16px 0;
  color: var(--main-red);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== サブメニュー ===== */
.sub-menu {
  list-style: none;
  padding: 0 0 16px 16px;
  display: none;
}

.sub-menu li a {
  padding: 8px 0;
  font-weight: normal;
}

.has-child.open .sub-menu {
  display: block;
}

.has-child.open .icon {
  transform: rotate(45deg);
}

.icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 28px;
  height: 28px;
  border-radius: 50%;

  background: #e60012;
  color: #fff;

  font-size: 18px;
  font-weight: bold;
  line-height: 1;

  transition: transform .3s;
}

/* 親メニュー */
.hamburger-menu>.menu-list>li>a,
.hamburger-menu>.menu-list>li>button {
  position: relative;
  padding-left: 32px;
}

/* 赤い● */
.hamburger-menu>.menu-list>li>a::before,
.hamburger-menu>.menu-list>li>button::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 18px;
  background-color: #d80000;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* 子メニュー */
.hamburger-menu .sub-menu li>a {
  position: relative;
  padding-left: 32px;
}

/* 「−」表示 */
.hamburger-menu .sub-menu li>a::before {
  content: "−";
  position: absolute;
  left: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: #d80000;
  font-weight: bold;
  font-size: 18px;
}

@media (max-width: 767px) {
  .d-flex.justify-content-center.d-sm-none.w-100.mt-3 {
    display: none !important;
  }
/* ================================
  スマホのみヘッダー追従
================================ */
body{
  padding-top:70px;
}

.navbar{
  position: fixed;
  background-color: #fff !important;
  top: 0;
  left: 0;
  padding: 8px 12px;
  width: 100%;
  z-index: 1000;
}

.footer-box .container{
  padding-left: 0;
  padding-right: 0;
}

.footer-box {
    padding: 15px 0 !important;
}


}


/* ================================
  改行
================================ */
.sp-only {
  display: none !important;
}

.pc-only {
  display: inline !important;
}

@media (max-width: 765px) {
  .sp-only {
    display: inline !important;
  }

  .pc-only {
    display: none !important;
  }
}
