@charset "UTF-8";
@import url("grid.css?1");
@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";

img {max-width:100%;height: auto;}
*,*:before,*:after {-webkit-box-sizing: inherit;box-sizing: inherit;}
html {scroll-padding-top: 300px;scroll-behavior: smooth;}

h2.title {
    color: #364e96;/*文字色*/
    padding: 0.4em 0;/*上下の余白*/
    margin: 70px auto 40px auto;
    border-top: solid 3px #364e96;/*上線*/
    border-bottom: solid 3px #364e96;/*下線*/
    font-size: 3.0rem;
    width: 70%;
    text-align: center;
}

.txt {
    width: 80%;
    margin: 0 auto;
    font-size: 2.2rem;
}
.red {color: red;}
.mar {margin-bottom: 70px;}

/**********     ファーストビュー     **********/
.head {
    width: 20%;
    margin: 10px 0 0 4%;
}

.gentei {
    width: 90%;
    margin: 0 auto 10px;
    color:#EA5414;
    font-size: 3.0rem;
    font-weight: 600;
    text-align: center;
}

img.main_img {
    width: 90%;
    margin: 10px 5% 50px;
    text-align: center;
    //max-width: 720px;
}
/**********     公式ライン     **********/
.line_flex {
    width: 80%;
    margin: 80px auto 80px;
    display: flex;
    flex-wrap: wrap-reverse;
}

.line_btn {
    width: 70%;
    //text-align: center;
    font-size: 1.9rem;
    display: grid;
    place-items: center;
}

.line_qr {
    width: 30%;
}

.line_qr img {
    width: 150px;
    text-align: center;
}

.cent {
    width: 65%;
    margin: 50px auto;
    font-size: 2.8rem;
}
/**********     ラスト     **********/
.last_flex {
    width: 85%;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap-reverse;
}
.ir {width: 30%}
.last_txt {
    width: 70%;
    display: grid;
    place-items: center;
    font-size: 2.0rem;
}
.txt2 {font-size: 90%;}
/**********     CTA     **********/

.button-29 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 450px;
    margin:0 auto;
    padding: .9em 2em;
    overflow: hidden;
    border: 1px solid #000;
    border-radius: 25px;
    background-color: #000;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
}

.button-29:hover {
    background-color: transparent;
    color: #000;
}

.button-29::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: #fff;
    content: '';
    transition: width .3s ease;
}

.button-28 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 450px;
    margin:0 auto;
    padding: .9em 2em;
    overflow: hidden;
    border: 1px solid #06c755;
    border-radius: 25px;
    background-color: #06c755;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
}

.button-28:hover {
    background-color: transparent;
    color: #000;
}

.button-28::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0;
    height: 100%;
    background-color: #fff;
    content: '';
    transition: width .3s ease;
}
a.non {text-decoration: none;}

/*問い合わせ-------------------------------------*/

.note {
    max-width: 1000px;
    margin: 20px auto 0;
    font-size: 1.7rem;
    line-height: 2.1;
}





@media screen and (max-width:768px){
    h2.title              {font-size: 2.2rem;}
    .note                 {font-size: 1.5rem;line-height:1.8;}
    .txt                  {font-size: 1.7rem;}
    .head                 {width: 40%;margin:20px 0 0 0;}
    img.main_img          {width: 100%;margin: 10px 0 40px;}
    .gentei               {font-size: 1.8rem;}
    .button-29,.button-28 {font-size: 1.2rem;width: 280px;padding: .9em 1em;}
    .line_flex            {width: 95%;}
    .line_qr              {width: 80%;margin:0 10% 20px;text-align: center;}
    .line_btn             {width: 100%;font-size: 1.5rem;}
    .cent                 {width: 90%;font-size: 1.7rem;}
    .last_flex            {width: 95%;}
    .ir                   {width: 80%;text-align: center;margin: 10px 10%;}
    .last_txt             {width: 100%;font-size: 1.6rem;}
    .txt2                 {margin: 30px 0 0 0;}
}
