@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap');
/* PC用ナビゲーション */
.menu-toggle {
	display:none;
}
#header-navigation_pc{
    width: 100%;
    margin: auto;
    padding-top: 30px;
    padding-bottom: 30px;
}
.home #header-navigation_pc{
    padding-bottom: 0px;
}
#header-navigation_pc ul {
    display: flex;
    flex-direction: row;
    /* flex-wrap: wrap; */
    margin: 0;
    padding: 0;
    justify-content: center;
}
#header #header-navigation_pc {
    padding-top: 0px;
}
#header #header-navigation_pc ul {
    justify-content: flex-end;
}
#header-navigation_pc ul li {
	margin:0;
	padding:0 5px;
	box-sizing:border-box;
	position:relative;
}
#header-navigation_pc ul li a,
#header-navigation_pc ul li .nolink{
	display:block;
	padding:0 15px;
	width:100%;
	height:auto;
	box-sizing:border-box;
	text-decoration:none!important;
	font-size: 16px;
}
#header-navigation_pc ul li a span::after {
	content:"";
	background-image:url(https://www.daiichishikoku.com/wp/wp-content/uploads/2021/12/icon_arrow.png);
	width:15px;
	height:10px;
	background-size:100% auto;
	display:inline-block;
	
}
#header-navigation_pc ul li ul {
	position:absolute;
	top:97px;
	left:0;
    z-index: 2;
    flex-wrap: wrap;
}
#header #header-navigation_pc ul li ul {
	left:auto;
	right:0;
}
#header-navigation_pc ul li ul li{
 display: none; 
    width: 200px;
	line-height:110%;
    text-align: center;
    background: beige;
	padding:0;
	border-bottom:1px solid #FFF;
	margin-bottom:0;
}
#header-navigation_pc ul li ul li a {
    text-align: center;
    background: #f3ae23;
    display: block;
    padding: 10px;
    font-size: 14px;
	color:#FFF;
}
#header-navigation_pc ul li ul li a:hover{
	background-color:#37474f;
	color:#FFF;
	text-decoration:none;
}

/*ドロップダウンの要素を表示*/
#header-navigation_pc ul li:hover ul li {
 display: block;
}

/* SP用ナビゲーション */
#header-navigation_sp button {
    background-color: transparent;
    position: fixed;
    z-index: 101;
    top: 24px;
    right: 24px;
    border: none;
    width: 67px;
    height: 67px;
    outline: none;
    transition: opacity 0.2s ease-out;
    cursor: pointer;
    background: #FFF;
    box-sizing: border-box;
}
#header-navigation_sp button:before {
    content: "";
    position: absolute;
    top: 12px;
    right: 0;
    /* bottom: 0; */
    left: 0;
    margin: auto;
    /* right: auto; */
    width: 80%;
    /* background: linear-gradient(to bottom,#f3ae23,#f3ae23 20%,transparent 20%,transparent 40%,#f3ae23 40%,#f3ae23 60%,transparent 60%,transparent 80%,#f3ae23 80%,#f3ae23 100%); */
    transition: opacity 0.2s ease-out, width 0.2s 0.2s ease-out;
    border-top: 2px solid #f3ae23;
    border-bottom: 2px solid #f3ae23;
    height: 27px;
}
#header-navigation_sp button span {
    width: 80%;
    margin: -7px auto auto auto;
    height: 2px;
    background: #f3ae23;
    display: block;
    transition: opacity 0.2s ease-out, width 0.2s 0.2s ease-out;
}
#header-navigation_sp button strong {
    position: absolute;
    bottom: 3px;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    display: block;
	color:#f3ae23;
}
#header-navigation_sp button:after {
  opacity: 0;
  content: '×';
  color: #f3ae23;
  position: absolute;
	font-family: 'Kiwi Maru', serif;
	font-weight:100;
    font-size: 60px;
    top: 23px;
    left:15px;
  line-height: 0;
  transition: opacity 0.4s ease-out;
}
#header-navigation_sp button:active {
  transform: translateY(2px);
}
#header-navigation_sp button:hover {
  opacity: 1;
}
.open #header-navigation_sp button {
  opacity: 1;
}
.open #header-navigation_sp button:before,
.open #header-navigation_sp button span{
  opacity: 0;
  width: 0;
}
.open #header-navigation_sp button:after {
  opacity: 1;
  transform: translate3d(0,0,0) rotate(360deg);
  transition: transform 0.4s 1s ease-out, opacity 0.4s 1s ease-out;
}
#header-navigation_sp nav {
  z-index: 100;
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0,0,0);
  backface-visibility: hidden;
  overflow: hidden;
}
#header-navigation_sp nav:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  background: rgba(255,255,255,0.8);
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-radius: 100%;
  transform: scale(0.04), translateY(9999px);
  overflow: hidden;
}
.open #header-navigation_sp nav {
  top: 0;
}
.open #header-navigation_sp nav:before {
  animation: menu-animation 0.8s ease-out forwards;
}
#header-navigation_sp ul {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-50%,0);
    backface-visibility: hidden;
    perspective: 1000;
    color: white;
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: wrap;
    max-width: 420px;
}
#header-navigation_sp ul li {
  opacity: 0;
  text-align: center;
  transform: translate3d(0,36px,0);
}
#header-navigation_sp ul li a,
#header-navigation_sp ul li .nolink{
	display:block;
	width:100%;
	height:auto;
	padding:0.5em 0;
	box-sizing:border-box;
	text-decoration:none;
	font-size:18px;
}
#header-navigation_sp ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  left: auto;
  background-color: #F3F5EB;
  height: 100%;
  width: 0;
  overflow: hidden;
  transition: width 0.14s ease-out;
  opacity: 0.15;
}
#header-navigation_sp ul li a:hover::before {
  left: 0;
  right: auto;
  width: 100%;
}
.open #header-navigation_sp ul li {
	width: 50%;
	opacity: 1;
	transform: translate3d(0,0,0);
	transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}
.open #header-navigation_sp ul li:nth-child(1) {
  transition-delay: 0.75s;
}
.open #header-navigation_sp ul li:nth-child(2) {
  transition-delay: 0.85s;
}
.open #header-navigation_sp ul li:nth-child(3) {
  transition-delay: 0.95s;
}
.open #header-navigation_sp ul li:nth-child(4) {
  transition-delay: 1.05s;
}
.open #header-navigation_sp ul li:nth-child(5) {
  transition-delay: 1.15s;
}
.open #header-navigation_sp ul li:nth-child(6) {
  transition-delay: 1.25s;
}
.open #header-navigation_sp ul li:nth-child(7) {
  transition-delay: 1.35s;
}
.open #header-navigation_sp ul li:nth-child(8) {
	transition-delay: 1.45s;
}
.open #header-navigation_sp ul li:nth-child(9) {
	transition-delay: 1.55s;
}
.open #header-navigation_sp ul li:nth-child(10) {
  transition-delay: 1.65s;
}
.open article {
  transform: scale(0.92);
  transition: transform 0.2s 0.41s ease-out;
}
@keyframes menu-animation {
  0% {
    opacity: 0;
    transform: scale(0.04) translateY(300%);
  }
  40% {
    transform: scale(0.04) translateY(0);
    transition: ease-out;
  }
  40% {
    transform: scale(0.04) translateY(0);
  }
  60% {
    opacity: 1;
    transform: scale(0.02) translateY(0px);
  }
  61% {
    transform: scale(0.04);
  }
  99.9% {
    height: 0;
    padding-bottom: 100%;
    border-radius: 100%;
  }
  100% {
    transform: scale(2);
    height: 100%;
    padding-bottom: 0;
    border-radius: 0;
  }
}
@media screen and (max-width: 1280px) {
#header #header-navigation_pc ul {
    justify-content: center;
}
}
@media screen and (max-width: 1380px) {
#header-navigation_pc {
	display:none;
}
.menu-toggle {
	display:block;
}
}