@charset "utf-8";

@media screen and (min-width:768px) {
  html {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
    min-width: 1140px;
  }

  body {
    margin: 0;
    padding: 0;
    font-family:"BIZ UDMincho","Yu Mincho", YuMincho, serif;
    letter-spacing :2.1px;
    font-weight: 500;
    line-height: 40px;
    color: #212121;
    width: 100%;
    overflow-x: hidden;
    font-size: 14px;
    background-color: #FFFEF8;
  }
}

@media screen and (max-width:767px) {
  html {
    height: 100%;
    margin: 0;
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    padding: 0;
    font-family:"BIZ UDMincho","Yu Mincho", YuMincho, serif;
    letter-spacing :2.1px;
    font-weight: 500;
    line-height: 2.1rem;
    color: #212121;
    width: 100%;
    overflow-x: hidden;
    font-size: 14px;
    background-color: #FFFEF8;
  }
}

/* ------------ヘッダー------------------ */
@media screen and (min-width:768px) {
  .headersbox {
    position: sticky;
    z-index: 999;
    top: 0;
    /* width: 100%;
    padding: 20px 40px; */
    background: white;
    box-sizing: border-box;
  }

  .inner {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    padding: 10px;
    justify-content: center;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  }


    #g-nav{
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position:fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top:60px;
        left: -120%;
        width: 290px;
        height: 260px;/*ナビの高さ*/
        background:#FFEAA8;
        /*動き*/
        transition: all 0.8s;
        display: block;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        left: 0;
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 99;
        text-align: center;
        margin-top: 20px;
        line-height: 35px;
        padding-left: 25px;
        letter-spacing: 1.0px;
    }

    /*リストのレイアウト設定*/

    #g-nav li{
      font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
      color: #212121;
      list-style: none;
      text-align: left;
      text-decoration:none;
      margin-bottom: 10px;
    }

    #g-nav ul a{
      color: #212121;
      font-size: 14px;
      display: block;
      font-weight: 500;
      text-decoration:none;
    }

    /* #medialink{
      width: 100%;
    } */

    #news {
      width: 100%;
    }

    #faq {
      width: 100%;
    }
    /* ------------------------------- */
    .close {
      background-color: transparent;
      z-index: 999;
      font-size: 50px;
      border-style: none;
      cursor: pointer;
      position: absolute;
      right: 10px;
      top: -8px;
      width: 20px
    }

    .close img {
      width: 100%;
      height: auto;
    }
    /* --------------------------- */

    .check {
      text-align: center;
      margin-left: 0px;
      margin-top: 255px;
    }

    .check img {
      width: 330px;
      height: 99px;
    }

    .openbtn{
      position: absolute;
      background:#FFEAA8;
      cursor: pointer;
      width: 40px;
      height:40px;
      border-radius: 2px;
      left: 40px;
      /* margin-left: 50px;
      margin-right: 100px; */
      }

    /*ボタン内側*/
    .openbtn span{
        display: inline-block;
        transition: all .4s;/*アニメーションの設定*/
        position: absolute;
        left: 11px;
        height: 3px;
        border-radius: 2px;
        background: black;
        width: 45%;
      }

    .openbtn span:nth-of-type(1) {
      top:11px;
    }

    .openbtn span:nth-of-type(2) {
      top:19px;
    }

    .openbtn span:nth-of-type(3) {
      top:27px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 14px;
        left: 14px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
      opacity: 0;/*真ん中の線は透過*/
    }

    .openbtn.active span:nth-of-type(3){
        top: 26px;
        left: 14px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .logobox {
        /* text-align: center;
        line-height: 1; */
        width: auto;
        height: 30px;
    }

    .logobox img {
      width: auto;
      height: 30px;
    }

    .mininav {
      position: absolute;
      right: 40px;
      line-height: 1;
      display: flex;
    }

    .mininav li {
      list-style: none;
      padding-left: 30px;
    }

    .minili {
      align-items: center;
    }

    .fixed_btn {
      display: none;
    }

    #buylinkhead {
      color: white;
      background-color: #36B450;
      width: 140px;
      height: 30px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
      border: transparent 1px solid;
      letter-spacing: 2.1px;
    }

    .minimg1,.minimg2 {
      height: 25px;
      width: 25px;
      padding-top: 2px;
    }

}

@media screen and (max-width:767px) {
  .headersbox {
    position: sticky;
    z-index: 999;
    top: 0;
    /* width: 100%;
    padding: 20px 40px; */
    background: white;
    box-sizing: border-box;
  }

  .inner {
    position: relative;
    display: flex;
    align-items: center;
    height: 30px;
    padding: 10px;
    justify-content: center;
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  }


    #g-nav{
      position: fixed;
      z-index: 900;
      top: 50px;
      left: -120%;
      width: 100%;
      height: 250px;
      padding-bottom: 10px;
      background: #FFEAA8;
      transition: all 0.8s;
      display: block;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive{
        left: 0;
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 99;
        text-align: center;
        margin-top: 20px;
        line-height: 35px;
        padding-left: 20px;
        letter-spacing: 1.0px;
    }

    /*リストのレイアウト設定*/

    #g-nav li{
      font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
      color: #212121;
      list-style: none;
      text-align: left;
      text-decoration:none;
      margin-bottom: 10px;
    }

    #g-nav ul a{
      color: #212121;
      font-size: 14px;
      display: block;
      font-weight: 500;
      text-decoration:none;
    }

    /* #medialink{
      width: 100%;
    } */

    #news {
      width: 100%;
    }

    #faq {
      width: 100%;
    }
    /* ------------------------------- */
    .navbut {
      position: relative;
      width: 100%;
      height: auto;
    }


    .close {
      background-color: transparent;
      z-index: 999;
      font-size: 50px;
      border-style: none;
      cursor: pointer;
      position: absolute;
      right: 10px;
      top: -4px;
      width: 20px;
    }

    .close img {
      width: 100%;
      height: auto;
    }
    /* --------------------------- */

    .check {
      text-align: left;
      margin-top: 245px;
      padding-left: 20px;
    }

    .check img {
      width: 80%;
      height: auto;
    }

    .openbtn{
      position: absolute;
      background:#FFEAA8;
      cursor: pointer;
      width: 30px;
      height:30px;
      border-radius: 2px;
      left: 12px;
      /* margin-left: 50px;
      margin-right: 100px; */
      }

    /*ボタン内側*/
    .openbtn span{
        display: inline-block;
        transition: all .4s;/*アニメーションの設定*/
        position: absolute;
        left: 8px;
        height: 3px;
        border-radius: 2px;
        background: black;
        width: 45%;
      }

    .openbtn span:nth-of-type(1) {
      top:8px;
    }

    .openbtn span:nth-of-type(2) {
      top:14px;
    }

    .openbtn span:nth-of-type(3) {
      top:20px;
    }

    .openbtn.active span:nth-of-type(1) {
        top: 8px;
        left: 10px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }

    .openbtn.active span:nth-of-type(2) {
      opacity: 0;/*真ん中の線は透過*/
    }

    .openbtn.active span:nth-of-type(3){
        top: 20px;
        left: 10px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }

    .logobox {
        /* text-align: center;
        line-height: 1; */
        width: auto;
        height: 30px;
    }

    .logobox img {
      width: auto;
      height: 30px;
    }

    .mininav {
      position: absolute;
      right: 12px;
      line-height: 1;
      display: flex;
    }

    .buyli {
      display: none;
    }

    .mininav li {
      list-style: none;
      padding-left: 20px;
    }

    .minili {
      align-items: center;
    }

    .minimg1,.minimg2 {
      height: 20px;
      width: 20px;
      padding-top: 2px;
    }
}
/* ------------ヘッダー------------------ */

/* -----------------------メイン----------------------------------- */
/* sec1 */
@media screen and (min-width:768px) {
  .maintext1 {
    text-align: center;
    width: auto;
    padding-top: 80px;
  }

  .baseline {
    min-width: 1140px;
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
  }

  h1,h2 {
    text-align: center;
    font-size: 30px;
    letter-spacing: 5.0px;
    font-weight: 800;
    margin: 0;
    font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
  }

  .longline {
    width: 1040px;
    margin-top: 24px;
    margin-bottom: 48px;
  }

  .pcbr {
    display: block;
  }

  .spacebr {
    display: block;
    content: "";
    margin: 16px 0;
  }

  .context1 {
    margin:48px auto 0;
  }

  .context1 p{
    text-align: center;
  }

  /* ----------------------------------- */
  .mconimg {
    display: none;
  }


  .contimg1 {
    margin-left: auto;
    margin-right: auto;
    width: 60%;
  }

  .contimg1 img {
    width: 100%;
    height: auto;
  }


  .proper1 {
    font-size: 10px;
    margin-top: -20px;
    text-align: right;
  }

  .proper2 {
    font-size: 10px;
    margin: -20px 0px 0 0;
    text-align: right;
  }

  /* ------------------------------------------- */
  .conbox {
    display: flex;
    flex-direction:row-reverse;
    width: 100%;
    margin-top: 160px;
  }

  .combox1 {
    position: relative;
  }

  .comimg1 {
    font-size: 12px;
    position: absolute;
    top: -25px;
    right: -13px;
  }

  .context {
    width: 606.06px;
    margin: 0;
  }

  .shortline {
    width: 560.06px;
    margin: 16px 0 24px 0;
  }

  .context p {
    width: 560.06px;
    text-align: justify;
    margin-top: 0;
  }

  .contitle {
    font-size: 24px;
    font-weight: 600;
    font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
  }

  .conimg {
    width: 533.94px;
    height: 330px;
  }

  .conimg img {
    width: 100%;
    height: auto;
  }

  .sec3com {
    font-size: 10px;
    line-height: 1.5;
  }

  .sec3com a {
    font-size: 10px;
    color: black;
  }
}

@media screen and (max-width:767px){
  .maintext1 {
    padding-top: 24px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
  }

  .baseline {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    text-align: center;
    font-size: 20px;
    letter-spacing: 5.0px;
    font-weight: 800;
    font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
    margin-top: 48px;
  }

  h2 {
    text-align: center;
    font-size: 20px;
    letter-spacing: 5.0px;
    font-weight: 800;
    font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
  }

  .context1 {
    width: 85%;
    margin:48px auto 0;
  }

  .context1 p{
    text-align: justify;
  }

  .longline {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .mbr {
    display: block;
  }

  .spacebr {
    display: block;
    content: "";
    margin: 10px 0;
  }
  /* ----------------------------------- */
  .conimg {
    display: none;
  }

  .contimg1 {
    margin-left: auto;
    margin-right: auto;
    width: 85%;
    text-align: center;
  }

  .contimg1 img {
    width: 90%;
    height: auto;
  }


  .proper1 {
    width: 90%;
    font-size: 10px;
    text-align: right;
    margin: -20px auto;
  }

  .proper2 {
    font-size: 10px;
    margin: -20px 0px 0 0;
    text-align: right;
  }

  /* ------------------------------------------- */

  .conbox {
    width: 85%;
    margin-top: 96px;
    margin-left: auto;
    margin-right: auto;
  }

  .combox1 {
    position: relative;
  }

  .comimg1 {
    font-size: 12px;
    position: absolute;
    top: -25px;
    right: -13px;
  }

  .context {
    width: 100%;
    margin: 0;
  }

  .shortline {
    width: 80%;
    margin: 10px auto 20px;
  }

  .context p {
    text-align: justify;
    margin-top: 0;
  }

  .contitle {
    text-align: center !important;
    font-size: 18px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
  }


  .mconimg {
    width: 90%;
    height: auto;
    margin: 36px auto 48px;
  }

  .mconimg img {
    width: 100%;
    height: auto;
  }

  .sec3com {
    font-size: 10px;
    line-height: 1.5;
  }

  .sec3com a {
    font-size: 10px;
    color: black;
  }
}
/* ------------------------------------------ */

/* sec2 */
@media screen and (min-width:768px) {
  .sec2 {
    padding-top: 192px;
    padding-bottom: 96px;
  }

  .maintext2 {
    text-align: center;
    width: auto;
    padding-top: 96px;
  }

  /* -------------------------------------- */
  .contbox2 {
    display: flex;
  }

  .conimg2 {
    width: 410px;
    margin: 0;
  }

  .conimg2 img {
    width: 100%;
    height: auto;
    margin: auto;
  }

  .conimg3 {
    width: 410px;
    margin: auto;
  }

  .conimg3 img {
    width: 100%;
    height: auto;
    margin: auto;
  }

  .context2 {
    margin:auto;
  }

  .context2 p{
    text-align: center;
  }

  .context3 {

  }

  .context3 p {
    width: 730px;
    margin: 0;
  }

  .text3font {
    font-size: 16px;
    margin-bottom: 8px;
    font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
  }

  .proper3 {
    font-size: 10px;
    margin: -20px -5px 0 0;
    text-align: right;
  }
}

@media screen and (max-width:767px) {
  .sec2 {
    padding-bottom: 96px;
  }

  .maintext2 {
    text-align: center;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 96px;
  }

  /* -------------------------------------- */
  .contbox2 {
    width: 100%;
    margin-top: 128px;
    margin-left: auto;
    margin-right: auto;
  }

  /* .conimg2 {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 48px;
    text-align: center;
  }

  .conimg2 img {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
  } */

  .conimg2,.conimg3 {
    width: 80%;
    margin-top: 48px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .conimg2 img,.conimg3 img {
    width: 100%;
    height: auto;
    margin: auto;
  }

  .context2 {
    width: 85%;
    margin:auto;
    text-align: justify;
  }

  .context2 p{
    text-align: justify;
  }

  .context3 {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
  }

  .context3 p {
    text-align: justify;
    width: auto;
    margin: 0;
  }

  .text3font {
    font-size: 16px;
    font-weight: bold;
    text-align: center !important;
    padding-bottom: 16px;
    font-family: "Source Han Serif JP", "Noto Serif CJK JP", "游明朝体", "Yu Mincho", YuMincho, serif;
  }

  .proper3 {
    font-size: 10px;
    margin: -20px -5px 0 0;
    text-align: right;
  }
}

/* ------------------------------------------------- */

/* ----------------------フッター------------ */
@media screen and (min-width:768px) {
  footer{
      width: 100%;
      min-width: 1140px;
      background-color: #FFFCEB;
      color: black;
      text-align: center;
      height:100%;
      margin-top: 0;
      padding-top: 30px;
      bottom: 0; /*下に固定*/
  }

  .mfootbox {
    display: none;
  }

  .footbox {
    padding-top: 64px;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    width: 1140px;
    margin-left: auto;
    margin-right: auto;
  }

  .footcont1 {
    width: 456px;
  }

  .footlogo {
    text-align: left;
  }

  .footlogo img {
    width: 181px;
    height: auto;
  }

  .footsns {
    margin-top: 40px;
    text-align: left;
  }

  .footsns img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .officename {
    margin-top: 40px;
    text-align: left;
  }

  .footcont2 {
    width: 684px;
    text-align: left;
    line-height: 2;
    margin-top: -14px;
  }

  .foots1 span {
    font-weight: 800;
  }

  .foots1 a {
    text-decoration: none;
    color: #212121;
  }

  .foots2 {
    margin-top: 30px;
    margin-bottom: -10px;
  }

  .foots2 a {
    padding-right: 15px;
    text-decoration: none;
    color: #212121;
  }

  .foots1 a:hover,.foots2 a:hover {
    color: #ED5829;
  }

  .footcom {
    width: 1140px;
    font-size: 10px;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 40px;
  }
}

@media screen and (max-width:767px) {
  footer{
      width: 100%;
      background-color: #FFFCEB;
      color: black;
      text-align: center;
      height:100%;
      margin-top: 0;
      padding-top: 10px;
      bottom: 0;
  }

  .footbox {
    display: none;
  }

  .mfootbox {
    font-size: 14px;
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
  }

  .mfoots1 {
    width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 2.5;
  }

  .mfoots1 span {
    font-weight: 800;
  }

  .mfoots1 a,.mfoots2 a {
    text-decoration: none;
    color: #212121
  }

  .mfoots2 {
    width: 90%;
    text-align: left;
    font-size: 12px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    line-height: 3;
  }

  .mfootsns {
    margin-top: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .mfootsns img {
    width: 30px;
    height: 30px;
    padding-right: 15px;
  }

  .officename {
    margin-top: 50px;
    text-align: center;
    font-size: 12px;
  }


  .footcom {
    font-size: 10px;
    text-align: center;
    margin-top: -15px;
  }
}
