@charset "utf-8";

:root{
  --white: #f5f5f5;
  --darkblue: #002d74;
  --darkblue_border: #5b6d8c;
}

/* メニューオープン時バックグラウンドスクロールストップ */
body.menu-open {
  overflow: hidden;
}

/* ハンバーガーメニュー */
.menu-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.menu-trigger {
  position: relative;
  width: 60px;
  height: 60px;
  background: var(--darkblue);
  border: solid 1px var(--white);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1002;
}

.menu-trigger span {
  position: absolute;
  left: 50%;
  width: 25px;
  height: 2px;
  background: var(--white);
  transform: translateX(-50%);
  transform-origin: center;
  transition: top .3s ease, transform .3s ease, opacity .2s ease;
}

.menu-trigger span:nth-child(1) { top: calc(50% - 8px); }
.menu-trigger span:nth-child(2) { top: 50%; }
.menu-trigger span:nth-child(3) { top: calc(50% + 8px); }

.menu-trigger.active span:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}
.menu-trigger.active span:nth-child(2) {
  opacity: 0;
}
.menu-trigger.active span:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

.circle-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: var(--darkblue);
  clip-path: circle(0px at calc(100% - 50px) 50px);
  z-index: 1001;
  pointer-events: none;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.circle-menu.active {
  pointer-events: auto;
}

.circle-menu-wrap {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  overflow-y: scroll!important;
  -ms-overflow-style: none;
  scrollbar-width: none;
  &:-webkit-scrollbar {
      display: none;
  }
}
.circle-menu-box {
  width: 900px;
  height: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  &:-webkit-scrollbar {
      display: none;
  }
}

.circle-menu-title {
  width: 30%;
  margin: 30px auto 70px;
}
.circle-menu-title img {
  width: 100%;
  height: auto;
}

.circle-menu-li {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
}

.circle-menu-li li a {
  font-weight: normal;
  text-decoration: none;
  color: var(--white);
  position: relative;
  margin: 0 30px;
}
.circle-menu-li li a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 1px;
background: var(--white);
bottom: -1px;
transform: scale(0, 1);
transform-origin: left top;
transition: transform 0.3s;
}
.circle-menu-li li a:hover::after {
transform: scale(1, 1);
}
.circle-menu-keyword {
  border-top: solid 1px var(--darkblue_border);
  padding-top: 20px;
  margin-bottom: 40px;
}
.circle-menu-keyword h3 {
  text-align: center;
  color: var(--white);
  font-weight: bold;
  font-size: 120%;
  margin-bottom: 20px;
}
.circle-menu-keyword .category_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-bottom: 10px;
}
.circle-menu-keyword .category_list li a {
  text-decoration: none;
  padding: 2px 15px 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid;
  color: var(--white);
  border-radius: 20px;
  transition: 0.3s;
}
.circle-menu-keyword .category_list li a:hover {
  background: var(--white);
  color: var(--darkblue);
  border: 1px solid var(--white);
}

.circle-menu-keyword .tag_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  font-size: 80%;
}
.circle-menu-keyword .tag_list li a {
  text-decoration: none;
  padding: 2px 15px 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid;
  color: var(--white);
  border-radius: 20px;
  transition: 0.3s;
}
.circle-menu-keyword .tag_list li a:hover {
  background: var(--white);
  color: var(--darkblue);
  border: 1px solid var(--white);
}

/* カテゴリーカラーはbase.css */

.circle-menu-series {
  border-top: solid 1px var(--darkblue_border);
  padding-top: 20px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2%;
}
.circle-menu-series li {
  width: 24%;
}
.circle-menu-series li img {
  width: 100%;
  height: auto;
}


/*-----------------------------------------------------	*/
/*	for - 1200px以下の記述　*/
/*-----------------------------------------------------	*/

@media screen and (max-width:1200px) {
.circle-menu-box {
  width: 100%;
  height: 100dvh;
  padding: 0 5%;
}
}

/*-----------------------------------------------------	*/
/*	for - 700px以下の記述　*/
/*-----------------------------------------------------	*/

@media screen and (max-width:700px) {
.circle-menu-title {
  width: 50%;
  margin: 30px auto 40px;
}
.circle-menu-li {
  display: flex;
  text-align: center;
  flex-direction: column;
  margin-bottom: 40px;
}
.circle-menu-li li a {
  display: block;
  margin: 10px 30px;
}
.circle-menu-series li {
  width: 49%;
}
}