@charset "UTF-8";
/*各ページ独自のcss設定*/


/*以下に指定を記述する*/

* {
  box-sizing: border-box;
}


header{
   height: 52px;
   background-color: #fbf4de;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.background-bar{
   height: 52px;
   background-color: #fbf4de;

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

.toppage{
   text-decoration: none;
   color: #3e3a39;
}

.logo{
   width: 74px;
   height: 74px;
  
   position: absolute;
   left: 0;
   top: 50%;
   transform: translateY(-50%);
}

.pc{
   display: none;
}

.text{
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;

   font-size: 16px;
   font-weight: 700;

   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
}

.text1{
   white-space:nowrap;
}

.text2{
   font-size: 10px;
}

/*メニュー土台*/
.menu-btn {
    position: fixed;
    z-index: 90;
    top: 0px;
    right: 10px;
    
    height: 50px;
    width: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #3e3a39;
    position: absolute;

    transition: all 0.3s;
}
.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

/*交差アニメーション*/
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

/*メニュー本体*/
.menu {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 52px;
    left: 100%;
    z-index: 80;
    background-color: #ffffff;

    transition: all 0.3s;
    overflow-y: scroll;
}

.menu::before{
   content: "";
   aspect-ratio: 3/1;
   clip-path: polygon(0 0, 0 100%, 100% 0);
   background-color: #fbf4de;
   border-top: solid 2.25px white;

   position: absolute;
   width: 150px;
}

.menu::after{
   content: "";
   aspect-ratio: 3/1;
   clip-path: polygon(0 100%, 100% 100%, 100% 0);
   background-color: #fbf4de;

   position: absolute;
   width: 150px;
   height: 50px;
   right: 0px;
   bottom: -50px;
}

.Mcontent0{
   display: flex;
   flex-direction: column;
   align-items: center;
   padding: 40px 80px 0;
   position: relative;
}

.Mcontent1{
   margin-top: 20px;
}

.Mcontent1::before{
   content: "";
   display: inline-block;
   width: 33px;
   height: 24px;
   position: absolute;
   right: 80px;
   top: 30px;
    background-image: url('https://ikkyosai.com/juken/56/img/header/pen.svg');
    background-position: center;
    background-size: contain;
}

.Mcontent2::before{
   content: "";
   display: inline-block;
   width: 28px;
   height: 28px;
   position: absolute;
   right: 80px;
   top: 30px;
    background-image: url('https://ikkyosai.com/juken/56/img/header/renz.svg');
    background-position: center;
    background-size: contain;
}

.Mcontent3::before{
   content: "";
   display: inline-block;
   width: 32px;
   height: 23px;
   position: absolute;
   right: 80px;
   top: 30px;
    background-image: url('https://ikkyosai.com/juken/56/img/header/mega.svg');
    background-position: center;
    background-size: contain;
}

.menu h2{
   align-self: flex-start;
   font-size: 18px;
   line-height: 20px;
   position: relative;
   margin-bottom: 10px;
}

.Mtitle1, .Mtitle2, .Mtitle3{
   position: relative;
}

.Mtitle1::after,.Mtitle2::after,.Mtitle3::after{
   content: "";
   display: block;
   width: 110%;
   height: 3px;

   position: absolute;
    left: -7px;
}

.Mtitle1::after{
   background-color: #edaa0b;
}
.Mtitle2::after{
   background-color: #f3c759;
}
.Mtitle3::after{
   background-color: #f9e3aa;
}

.menu span{
   font-family: sans-serif;
   font-size: 14px;
}

.menu a{
    border-bottom: solid 0.25px #3e3a39;
    list-style: none;

    display: inline-block;
    width: 90%;
    font-size: 15px;
    box-sizing: border-box;
    color:#3e3a39;
    text-decoration: none;
    padding: 4px;
    margin-top: 4px;
    position: relative;
    font-size: 15px;
}

.menu a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-top: solid 1px #3e3a39;
    border-right: solid 1px #3e3a39;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 11px;
}

/*メニューを画面内へ*/
#menu-btn-check:checked ~ .menu {
    left: 0;
}

/*いったんの処理*/
.menu a.comingsoon {
    color: rgba(62, 58, 57, 0.6);
}

/*ここまで*/


@media screen and (min-width:1024px) {
  
  header{
      height: 72px;}

  .background-bar{
      height: 72px;}

  .logo{
      width: 190px;
      padding-left: 10px;}

  .toppage:hover .logo{
      opacity: 0.7;
  }

  .sumaho{
      display: none;}
  .pc{
      display: block;}

  .text{
     font-size: 24px;
     left: 430px;
     padding: 16px 0;
     padding-left: 100px;
     flex-direction: row;
     }

  .text2{
     font-size: 13px;
     margin-left: 30px;}

  .menu{
      top: 0px;
      width: 40%;
      border: solid 2px grey;
      border-top: none}

  .menu::before{
      width: auto;
      height: 72px;
      border: none;}

  .menu::after{
      width: none;
      bottom: none;
      top: 690px;}

  .menu-btn{
      top: 11px;
      right: 20px;}

   .menu-btn span,
   .menu-btn span:before,
   .menu-btn span:after {
      height: 4px;
      width: 37px;}

   .menu-btn span:before {
      bottom: 12px;}

   .menu-btn span:after {
      top: 12px;}

   .Mcontent3{
      margin-bottom: 70px;}

   .Mcontent1::before, .Mcontent2::before, .Mcontent3::before{
      right: 120px;}

   #menu-btn-check:checked ~ .menu {
      left: 60%;}
}
    