@charset "utf-8";

/* ==========================
  初期設定
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
img {
  width: 100%;
}

/* ==========================
  コンテンツの中身
========================== */
.ly_inner {
  width: 100%;
  max-width: 1080px;
  margin: 100px auto;
  padding: 20px;
  background-color: #ccc;
}
.ly_inner h2 {
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 30px;
}
.md_textblock > * + * {
  margin-top: 10px;
}

/* ナビゲーション */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #222;
}

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

/* 線 */
.bl_hamburgerLine {
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  overflow: hidden;
  margin: 0 10px;
  cursor: pointer;
}
.bl_hamburgerLine span {
  display: block;
  position: absolute;
  right: 0;
  top: 30px;
  background-color: #fff;
  height: 2px;
  width: 100%;
  transition: 0.3s;
}
.bl_hamburgerLine span::before,
.bl_hamburgerLine span::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: 0.3s;
}
.bl_hamburgerLine span::before {
  top: -20px;
}
.bl_hamburgerLine span::after {
  top: 20px;
}
.bl_hamburgerLine + nav {
  display: none;
}

/* クリックした時 */
.bl_hamburgerLine.active span {
  transform: rotate(45deg);
}
.bl_hamburgerLine.active span::before {
  transform: rotate(-90deg);
  top: 0;
}
.bl_hamburgerLine.active span::after {
  content: none;
}

/* ハンバーガー展開時の中身 */
.bl_hamburgerLine + nav {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
}
.bl_menuBox {
  background: #222;
  position: relative;
}

.bl_menuBox > ul {
  padding: 50px 40px 0;
  height: 100%;
  overflow-y: auto;
}
.bl_menuBox > ul > li {
  padding: 10px 0;
  overflow-wrap: break-word;
}
.bl_menuBox > ul > li + li {
  margin-top: 20px;
}
.bl_menuBox > ul > li > p {
  font-weight: bold;
  font-size: 15px;
  padding-right: 50px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  color: #fff;
}
.bl_menuBox > ul > li > p::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  transition: all 0.3s;
}
.bl_menuBox ul > li > p:hover::after {
  border-top: 3px solid #ddc50d;
  border-right: 3px solid #ddc50d;
}
.bl_menuBox ul > li > a {
  transition: all 0.3s;
  color: #fff;
  font-weight: 500;
  font-size: 90%;
}
.bl_menuBox ul > li > p:hover,
.bl_menuBox ul > li > a:hover {
  color: #ddc50d;
}
.bl_menuSub {
  overflow-wrap: break-word;
  display: none;
}
.bl_menuSub ul > li {
  text-align: left;
}
.bl_hamburgerMenu_list li + li {
  margin-top: 20px;
}

/* ====================================
  ここからPC幅
==================================== */
@media screen and (min-width: 768px) {
  .hp_displaySP {
    display: none !important;
  }

  /* ==========================
    ハンバーガーメニュー
  ========================== */
  .bl_menuBox {
    height: calc(100vh - 60px);
    width: 50%;
  }
  .bl_menuBox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    height: 100%;
    width: 100%;
    background: url(img_hamburger01.jpg) no-repeat center;
    background-size: cover;
  }
  .bl_menuBox > ul > li {
    text-align: right;
    width: 60%;
  }
  .bl_menuBox ul > li > a {
    padding-left: 10px;
  }
  .bl_menuSub {
    position: absolute;
    left: 60%;
    top: 30px;
    width: 40%;
    height: 100%;
    padding: 30px 10px;
  }
  .bl_menuSub ul > li + li {
    margin-top: 10px;
  }
  .bl_mainMenu,
  .bl_title {
    display: none;
  }
}

/* ====================================
  ここからスマホ幅
==================================== */
@media screen and (max-width: 767px) {
  .hp_displayPC {
    display: none !important;
  }
  /* ==========================
    ハンバーガーメニュー
  ========================== */
  .bl_menuBox {
    height: calc(100vh - 60px);
  }
  .bl_menuBox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 14vh;
    width: 100%;
    background: url(img_hamburger01_sp.jpg) no-repeat center;
    background-size: cover;
  }
  .bl_menuBox > ul {
    padding: 40px;
    padding-top: calc(14vh + 40px);
  }
  .bl_menuBox > ul > li {
    text-align: right;
  }
  .bl_menuSub {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 60px;
    height: calc(100% - 60px);
    background: #222;
    z-index: 1;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
  }
  .bl_mainMenu {
    background-color: #ccc;
    padding: 20px;
    position: relative;
    cursor: pointer;
  }
  .bl_mainMenu::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    border-bottom: 3px solid #222;
    border-left: 3px solid #222;
    transform: rotate(45deg);
    transition: all 0.3s;
    margin: 0 20px 0 5px;
  }
  .bl_title {
    color: #fff;
    padding: 30px 20px;
  }
  .bl_title + ul {
    padding: 0 40px;
    list-style: disc;
    color: #fff;
  }
  .bl_title + ul > li {
    padding: 10px 0;
    list-style: disc;
    color: #fff;
  }
}
