@charset "UTF-8";
html { /* スムースなスクロール */
    scroll-behavior: smooth;
}

*{
    box-sizing: border-box;
    word-wrap: break-word;
}

body {
    font-family:"游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-seri;
    font-size: 18px;
    margin: 0;
}



a{
    text-decoration: none;
    color: #2f2fff;
}
a:hover{
    color: #7b8aff;
    text-decoration: underline;
}

img{
    max-width: 100%;
    height: auto;
}


header{
    width: 100%;
    height: 65px;
    padding: 0 15px;
    background: #000000; /* header背景色 */

    position: fixed;
    top: 0;
    z-index: 100;
    opacity: 0.8; /* 1 だとベタ。0で透明 */
}

.logo{
    line-height: 65px;
    float: left;
    font-size: 1.8rem;
    font-weight: bold;
}
.logo a{
    color: #ffffff; /* タイトルロゴの文字色 */
}

.navigation{
    float: right;
    line-height: 65px;
}



/* リストデザイン01 */
/* .list_design01 ul {
    text-align: left;
} */
.list_design01 li {
    color: #000000;
    text-align: left;
    padding: 0rem 0;
    max-width: 680px;
    margin: 1rem auto;
    

}

.list_design01 li span {
    color: #333;
}

/* リストデザイン02 */
/* .list_design02 li {
    list-style: none;
    padding: 1rem 0;
    max-width: 680px;
    margin: auto;
}

.list_design02 li::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    padding: 0 5px;
} */




#main_visual{
    width: 100%;
    margin-top: 65px; /* headerのheightに合わせる */
    margin-bottom: 0px;
    line-height:0; /* 下部に隙間空く対策 */
}
#main_visual img{
    width: 100%;
    height: auto;
}

.wrapper{
    /*  width: 1200px;*/
    width:100%;
    margin: 0 auto;
    padding: 48px 10px;
}



#content{
    text-align: center;
    margin-bottom: 0px;
}

#content p{
    line-height: 1.6em;
    max-width: 680px;
    margin:auto;
    text-align: left;
}

#content.type1 {
    background: #ffffff;
    color: rgb(48, 48, 48);
}
#content.type2 {
    background: #e6e6e6;
    color: rgb(0, 0, 0);
}




footer{
    width: 100%;
    background: #2b2b2b;
    color: #ffffff;
}

footer p {
    text-align: center;
}

footer a{
    text-decoration: none;
    color: #ffffff;
}
footer a:hover{
    color: #7b8aff;
    text-decoration: underline;
}


.grid_auto1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 10px; /* 表の隙間 */
    /* border: 1px solid rgb(41, 41, 41); */
    max-width: 680px;
    margin:auto;
}

.grid_auto2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 10px; /* 表の隙間 */
    /* border: 1px solid rgb(41, 41, 41); */
    max-width: 680px;
    margin:auto;
}

.grid_1ratio2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 50px; /* 表の隙間 */
    border: 10px solid rgb(41, 41, 41);
    border-radius: 40px;
    max-width: 680px;
    margin: 20px auto;
    padding: 20px;
}




@media screen and (max-width: 768px) { /* スマホ時 */


    .grid_1ratio2 {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 50px; /* 表の隙間 */
        border: 10px solid rgb(41, 41, 41);
    }


}


table {
    margin: 20px auto;
    border-collapse: collapse;
    border-spacing: 0;
}
.tbl-r01 th {
    background: #757575;
    border: solid 1px #ccc;
    color: #fff;
    padding: 20px;
}
.tbl-r01 td {
    border: solid 1px #ccc;
    padding: 20px;
    text-align: left;
}

@media screen and (max-width: 768px) { /* スマホ時 */
    .last td:last-child {
        border-bottom: solid 1px #ccc;
        width: 100%;
    }
    .tbl-r01 {
        width: 80%;
    }
    .tbl-r01 th,
    .tbl-r01 td {
        border-bottom: none;
        display: block;
        width: 100%;
        padding: 10px;
    }
}





h1 {
    position: relative;
    padding: 1.5rem 2rem;
    border: 3px solid #d8d8d8;
    border-radius: 10px;
    background: #f9f9f9;

    font-size: 1.5rem;
    width: 80%;
    margin: 0 auto 30px;
  }
  
  h1:before {
    position: absolute;
    bottom: -14px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 14px 12px 0 12px;
    border-style: solid;
    border-color: #d8d8d8 transparent transparent transparent;
  }
  
  h1:after {
    position: absolute;
    bottom: -10px;
    left: 1em;
    width: 0;
    height: 0;
    content: '';
    border-width: 14px 12px 0 12px;
    border-style: solid;
    border-color: #f9f9f9 transparent transparent transparent;
  }


  h2 {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 2rem 1.5rem 130px;
    border-top: 3px solid #000;

    font-size: 1.3rem;
    width: 70%;
    margin: 0 auto 30px;
    text-align: left;
  }
  
  h2:before {
    position: absolute;
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    background: #000;
  }
  
  h2 span {
    /* font-size: 40px; */
    font-size: 3.2rem;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    padding-top: 3px;
    padding-left: 16px;
    color: #fff;
  }


  @media screen and (max-width: 768px) { /* スマホ時 */
    h1 {
        font-size: 1.3rem;
    }

    h2 {
        font-size: 1.1rem;
    }

  }

@media screen and (max-width: 768px) { /* スマホ時 */
    .drawer-hamburger{
        height: 65px; /* headerのheighと合わせると見た目が良い */
        padding: 0 15px;
    }
    .drawer-hamburger-icon{
        margin-top: 0;
    }
    .navigation li a{
        float: none;
    }

    h1 {
        width: 100%;
    }

    h2 {
        width: 87%;
    }

}



@media screen and (min-width: 769px) { /* PC時 */
    .drawer--right .drawer-nav{
        position: relative;
        top: 0;
        right: 0;
        overflow: visible;
        width: auto;
        height: auto;
    }
    .drawer-hamburger{
        display: none;
    }
    .drawer-menu li:first-child{
        display: none;
    }
    .navigation{
        float: right;
        line-height: 65px; /* PC時メニューの縦位置 */
    }
    .navigation li{
        float: left;
        padding:0;
    }
    .navigation li a{
        padding:0 15px;
    }
}

/* 中途半端な画面サイズのpadding */
/*
@media screen and (min-width: 769px) and (max-width: 1199px) {
    .wrapper{
      width: 100%;
      padding: 480px 150px;
    }
}
*/



/*==================================================
 あとから表示アニメーション 
===================================*/

.fadeUp.fade-in {
    -webkit-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -ms-animation-duration: 1s;
    animation-duration: 3s; /* 完全に表示されるまでの時間 */
    -webkit-animation-name: fid;
    animation-name: fid;
    visibility: visible !important;
  }
  @-webkit-keyframes fid {
    0% {
      opacity: 0;
      -webkit-transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateY(0);
    }
  }
  @keyframes fid {
    0% {
      opacity: 0;
      -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
      transform: translateY(-20px);
    }
    100% {
      opacity: 1;
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
    }
  }

   /* ===================================*/
