/* --- header --- */


.b-nav {
	display: none;
}

.b-head {
  
  color: rgb( 255, 233, 0 );
  font-size: 20px;
  font-family:"days";
  margin: 0 0 5px;
  background-color:#4f4f67;
  position: relative;
  overflow: hidden;
  
}

/* --- */
    .b-head:after {
      content: "";
      position: absolute;
      right: -180px;
      top: 80px;
      width: calc(205px * 494/ 393);
      height: 205px;
      /* transform: translate(0,80px); */
      pointer-events: none;

      background-image: url(../image/pattern.png);
      background-size: cover;
      background-repeat: no-repeat;
    }
    @media (min-width: 360px){
      .b-head:after {
        right: -140px;
      }
    }
    @media (min-width: 768px){
      .b-head:after {
        right: -160px;
        width: calc(393px * 494/ 393);
        height: 393px;
        top: 30px;
      }
    }
    @media (min-width: 1024px){
      .b-head:after {
        top: 150px;
        right: -180px;
      }
    }
    @media (min-width: 1440px){
      .b-head:after {
        right: -30px;
        top: 120px;
      }
    }
    @media (min-width: 1540px){
      .b-head:after {
        right: -310px;
        width: calc(637px * 494/ 393);
        height: 637px;
        top: 160px;
      }
    }
    @media (min-width: 1920px){
      .b-head:after {
        right: -100px;
      }
    }
/* --- */


/* --- */
    .b-head__top {
      background-image: url(../image/back-360.jpg);
      background-size: auto 100%;
      background-position: center;
      background-repeat: no-repeat;
      padding: 0;
      /* height: calc(100vw * 236 / 320); */
      height: 238px;
      position: relative;
    }
    @media (min-width: 361px){
      .b-head__top {
        background-image: url(../image/back-1024.jpg);
      }
    }
    @media (min-width: 680px){
      .b-head__top {
        height: 364px;
      }
    }
    @media (min-width: 1025px){
      .b-head__top {
        background-image: url(../image/back-1440.jpg);
      }
    }
    @media (min-width: 1441px){
      .b-head__top {
        height: 439px;
        background-image: url(../image/back-1920.jpg);
      }
    }
    @media (min-width: 1920px){
      .b-head__top {
        background-size: cover;
      }
    }
/* --- */



.b-head__top:before {
  content: "";
  opacity: 0.2;
  position: absolute;
  left: 0;
  top: 0;
  background: #4e4f67;
  width: 100%;
  height: 100%;
}

/* --- */
    .b-head .b-content-wrap {
      background-color: rgba(78, 79, 103, 1);
      width: 100%;
      padding: 23px 0 39px;
    }
    @media (min-width: 1024px){
      .b-head .b-content-wrap {
        padding: 25px 0 29px;
      }
    }
    @media (min-width: 1280px){
      .b-head .b-content-wrap {
        padding: 33px 0 49px;
      }
    }
    @media (min-width: 1540px) {
      .b-head .b-content-wrap {
          padding: 88px 0 110px;
      }
    }
/* --- */


/* --- */
    .b-head h2.b-header {
      margin: 0;
      /* padding: 25px 20px 0; */
      
      font-size: 21px;
      font-family: "days";
      color: rgb(255, 233, 0);
      margin-bottom: 19px;
    }
    @media (min-width: 1024px){
      .b-head h2.b-header {
        font-size: 19px;
        margin-bottom: 8px;
      }
    }
    @media (min-width: 1280px){
      .b-head h2.b-header {
        margin-bottom: 18px;
      }
    }
    @media (min-width: 1540px){
      .b-head h2.b-header {
        font-size: 25px;
        margin-bottom: 27px;
      }
    }
    
/* --- */



/* --- */
    .b-head p.b-content__text {
      /* padding: 20px 20px 30px; */
      margin: 0;
      
      font-size: 16px;
      font-family: Calibri;
      color: rgb(255, 255, 255);
      line-height: 25px;
      
    }
    @media (min-width: 1024px){
      .b-head p.b-content__text{
        font-size: 14px;
        font-weight: bold;
        line-height: 20px;
        padding-right: 252px;
      }
    }
    @media (min-width: 1280px){
      .b-head p.b-content__text{
        padding-right: 392px;
      }
    }
    @media (min-width: 1540px){
      .b-head p.b-content__text{
        font-size: 21px;
        line-height: 1.5;
        padding-right: 522px;
      }
    }
    
/* --- */


/* --- burger-menu --- */

.hamburger-menu {
	position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

#menu__toggle {
  opacity: 0;
}

.hamburger-menu a.b-logo {
	display: none;
	position: absolute;
	top: 30px;
	left: 20px;
	z-index: 9999;
}

#menu__toggle:checked ~ a.b-logo {
	display: block;
}

#menu__toggle:checked ~ .menu__box {
  display: block;
  right: 0;

  position: absolute;
  width: 100vw;
  left: 0;
}
body.overflow {
  overflow: hidden;
  /* position: fixed; */
  height: 100vh;
}

.menu__btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  z-index: 9999;
}

.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.hamRotate180.active {
  transform: rotate(180deg);
}
.line {
  fill:none;
  transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
  stroke: rgb(242, 220, 64);
  stroke-width:5.5;
  stroke-linecap:round;
}

.ham .top {
  stroke-dasharray: 40 160;
}
.ham .middle {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 400ms;
}
.ham .bottom {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition: transform 400ms, stroke-dashoffset 400ms;
}
.ham.active .top {
  stroke-dashoffset: -64px;
}
.ham.active .middle {
  transform: rotate(90deg);
}
.ham.active .bottom {
  stroke-dashoffset: -64px;
}

.menu__box {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  position: absolute;
  display: none;
  top: 0;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 110px 0 0;
  list-style: none;
  background-color: rgba(78, 79, 103, 1);
  transition-duration: .25s;
  z-index: 999;
}

.menu__box li {
	width: auto;
	padding: 25px 5px;
	margin: 0;
}

/* --- */
    .menu__item {
      display: block;
      color: #fff;
      font-size: 22px;
      transition-duration: .25s;
      text-align: center;
      text-transform: uppercase;
      font-family: "days";
    }
    @media (min-width: 1024px){
      .menu__item {
        font-size: 10px;
      }
    }
    @media (min-width: 1280px){
      .menu__item {
        font-size: 14px;
      }
    }
/* --- */


.menu__item:hover {
  text-decoration: none;
  color: rgb(242, 220, 64);
}

/* ------ relative ------ */

@media (min-width: 450px) {
	.b-head div.b-header {
		padding-bottom: 60%;
	}
}

@media (min-width: 1024px) {
	.hamburger-menu {
		display: none;
	}
	.b-head div.b-header {
    	padding-bottom: 570px;
	}
	.b-head {
		background-size: cover;
		background-position: top;
	}
	.b-nav {
		display: block;
		position: absolute;
		top: 22px;
    right: 10px;
		width: 100%;
	}
	.b-nav .menu__box {
		display: block;
		background: none;
		padding: 0;
		height: auto;
		text-align: right;
	}
	.b-nav .menu__box li {
    display: inline-block;
    padding: 25px 7px;
	}
}

@media (min-width: 1280px) {
	.b-nav .menu__box li {
    padding: 25px 15px;
	}
}
@media (min-width: 1540px) {
  .b-nav {
      top: 72px;
  }
}
