@charset "utf-8";

/*=================================================================================================================================*/
/** 個別指定 for スマートフォン
/*=================================================================================================================================*/

/*---------------------------------------------
 ** 860px
---------------------------------------------*/
@media screen and (max-width: 860px) {

  /*---------------------------------------------
	body
---------------------------------------------*/


  html {
    scroll-behavior: smooth;
  }

  body {
    border: none;
    font-size: 1.5rem;
  }

  .only_pc_none {
    display: block !important;
  }

  .only_sp_none {
    display: none !important;
  }

  .sp_br {
    display: inline;
  }

  .pc_br {
    display: none;
  }



  .only_pc {
    display: none !important;
  }

  .only_sp {
    display: block !important;
  }

  /*画像*/
  img {
    max-width: 100%;
    height: auto;
  }

  header {
    padding-top: 20px;
  }

  #head_btn {
    display: block;
  }

  #message02.message02_on::after {
    height: 520px;
  }

  #seisaku_blue {
    width: 25%;
  }

  #seisaku .btn {
    width: 130px;
  }

  #movie h2 {
    max-width: 385px;
    text-align: center;
  }

  #profile>div::before {
    width: 55%;
    z-index: 2;
    left: -100px;
  }

  #kouenkai p {
    text-align: left;
  }

  #kouenkai>img {
    width: 18%;
  }

  .foot_tel {
    background: url(../img/icon_tel.png) no-repeat center left;
    background-size: 17px auto;
    padding: 2px 10px 2px 20px;
  }

  .foot_fax {
    background: url(../img/icon_fax.png) no-repeat center left;
    background-size: 17px auto;
    padding: 2px 10px 2px 20px;
  }

  #seisaku_main h2 {
    font-size: 300%;
  }

  .tenbou>img {
    width: 100px;
    position: absolute;
    bottom: -50px;
    right: 0;
  }

  #form_main {
    padding: 120px 0 8%;
  }


  @media screen and (max-width: 780px) {

    #main>div {
      padding: 18% 35% 7% 5px;
    }

    #main>div::before {
      background: url(../img/main_bg_sp.jpg) no-repeat #dce4ee bottom right;
      background-size: 100% auto;
      right: -50px;
    }

    #message>div {
      padding: 7% 0 5% 22%;
    }

    #message h2 {
      margin-bottom: 3%;
    }

    #message>div::before {
      width: 42%;
      bottom: -40px;
    }

    #message02>div {
      margin: 0 auto 80px;
    }

    #message02.message02_on::after {
      height: 550px;
    }

    #seisaku>div {
      width: 100%;
      background: url(../img/seisaku_img.png) no-repeat right -70px bottom;
      background-size: auto 100%;
    }

    #seisaku::before {
      border-top: 9vw solid #fff;
    }

    #seisaku_blue {
      width: 40%;
    }

    .tenbou>img {
      display: none;
    }

    #contact form+p {
      text-align: left;
    }

    footer>div:nth-child(1) {
      width: 240px;
    }

    footer>div:nth-child(2) {
      width: calc(100% - 240px);
    }


  }

  @media screen and (max-width: 700px) {
    #message02>div h2 {
      text-align: left;
      font-size: 130%;
      letter-spacing: 0;
      line-height: 1.5;
    }

    #message02.message02_on::after {
      height: 580px;
    }


    #kouenkai a {
      width: 180px;
      padding: 1% 1%;
      margin-top: 3%;
      font-size: 130%;
    }

    .hashira {
      padding-bottom: 140px;
    }

    .hashira>dl dt {
      width: 140px;
    }

    .hashira>dl dd {
      width: calc(100% - 150px);
    }

    .tenbou>dl dt {
      width: 120px;
    }

    .tenbou>dl dt {
      background: linear-gradient(135deg, #004ea2 0%, #004ea2 50%, #578cbc 50%, #578cbc 100%);
      min-height: 120px;
      font-size: 100%;
    }

    .tenbou>dl:nth-of-type(5) dt {
      background: linear-gradient(135deg, #004ea2 0%, #004ea2 50%, #578cbc 50%, #578cbc 100%);
    }

    .tenbou>dl dd {
      width: calc(100% - 140px);
    }

    .foot_fb {
      background: url(../img/icon_fb.png) no-repeat center left 10px;
      background-size: 18px auto;
      padding: 1px 10px 2px 33px;
      margin-left: 2px;
    }

    .foot_yt {
      background: url(../img/icon_yt.png) no-repeat center left 10px;
      background-size: 21px auto;
      padding: 2px 10px 2px 35px;
      margin-left: 2px;
    }

    .foot_ig {
      background: url(../img/icon_ig.png) no-repeat center left 10px;
      background-size: 18px auto;
      padding: 1px 10px 2px 33px;
      margin-left: 2px;
    }

  }

  @media screen and (max-width: 630px) {
    #main>div {
      padding: 16% 20% 7% 5px;
    }

    #main>div img {
      max-width: 270px;
    }

    #message02.message02_on::after {
      height: 550px;
    }

    #seisaku {
      position: relative;
      background: #dbe3ee;
      background: linear-gradient(90deg, #004ea2 0%, #004ea2 80%, #dbe3ee 20%, #dbe3ee 100%);
      color: #fff;
      z-index: 0;
    }

    #seisaku>div {
      background: url(../img/seisaku_img.png) no-repeat right -130px bottom;
      background-size: auto 110%;
      padding: 14% 0 3%;
    }

    #seisaku_blue {
      width: 43%;
    }



    #seisaku_blue h2 {
      width: 70px;
    }

    #seisaku_blue h2::after {
      width: 90px;
      bottom: -15px;
      left: -10px;
    }

    #seisaku_blue p {
      padding-top: 30px;
      line-height: 1.5;
    }

    #seisaku .btn {
      padding: 8px 0;
    }



    #profile>div {
      max-width: 560px;
      padding: 0px 0% 30% 5%;
    }

    #kouenkai {
      padding-bottom: 35%;
    }

  }

  @media screen and (max-width: 600px) {
    .sp600_br {
      display: inline;
    }

    #message02.message02_on::after {
      height: 640px;
    }

    #kouenkai h2 {
      line-height: 1.5;
    }

    #pagetop a {
      height: 40px;
    }

    #pagetop a:before {
      width: 1em;
      height: 1em;
      top: 15px;
    }

    #pagetop a:hover:before {
      top: 10px;
    }

    #seisaku_main {
      padding: 15% 0 10%;
    }

    #seisaku_main h2 {
      font-size: 250%;
    }

    #seisaku01>ul {
      width: 90%;
    }

    #seisaku01>ul li {
      width: 100%;
    }

    .hashira {
      padding-bottom: 110px;
    }

    .hashira>dl {
      margin-bottom: 5%;
    }

    .hashira>dl dt {
      width: 100px;
      min-height: 90px;
      padding: 10px 10px 10px 0;
    }


    .hashira>dl dt::before {
      border-right: 20px solid #fff;
    }

    .hashira>dl dt>span>span {
      margin: 0;
    }

    .hashira>dl dd {
      width: calc(100% - 120px);
    }

    .hashira>dl dd ul li {
      background: url(../img/icon_maru.png) no-repeat left top 2px;
      background-size: 10px auto;
      padding: 0 0 0 16px;
    }


    .tenbou>dl dt {
      width: 70px;
      font-size: 80%;
      background: linear-gradient(125deg, #004ea2 0%, #004ea2 50%, #578cbc 50%, #578cbc 100%);
    }

    .tenbou>dl:nth-of-type(5) dt {
      background: linear-gradient(120deg, #004ea2 0%, #004ea2 50%, #578cbc 50%, #578cbc 100%);
    }

    .tenbou>dl dd {
      width: calc(100% - 100px);
    }

    .tenbou>dl dd ul li {
      background: url(../img/icon_maru.png) no-repeat left top 2px;
      background-size: 10px auto;
      padding: 0 0 0 16px;
    }

    #form_main {
      padding: 100px 0 8%;
      margin-bottom: 8%;
    }

    #form_main h2 {
      font-size: 120%;
      color: #fff;
      letter-spacing: 0rem;
      border: 2px solid #fff;
    }

    #contact h2 {
      font-size: 130%;
      letter-spacing: 0rem;
      line-height: 1.4;
    }

    #contact#contact h2+p {
      line-height: 1.4;
    }

    footer>div:nth-child(2) {
      width: 100px;
    }

    footer>div:nth-child(2) ul {
      justify-content: flex-start;
    }

    .foot_yt {
      background: url(../img/icon_yt.png) no-repeat center left 13px;
      background-size: 19px auto;
      padding: 2px 10px 2px 36px;
    }

    .foot_fb {
      background: url(../img/icon_fb.png) no-repeat center left 14px;
      background-size: 17px auto;
      padding: 2px 10px 2px 35px;
    }

    .foot_ig {
      background: url(../img/icon_ig.png) no-repeat center left 14px;
      background-size: 17px auto;
      padding: 2px 10px 2px 35px;
    }

  }

  @media screen and (max-width: 580px) {
    #message>div {
      padding: 7% 0 3% 16%;
    }

    #profile>div::before {
      left: -60px;
      bottom: -130px;
    }

    #message02.message02_on::after {
      height: 650px;
    }

    footer {
      padding: 2% 0 25px;
    }

    .hashira>dl dt {
      width: 70px;
    }

    .hashira>dl dd {
      width: calc(100% - 80px);
    }

    .tenbou>dl dt {
      width: 40px;
      font-size: 80%;
      background: linear-gradient(108deg, #004ea2 0%, #004ea2 50%, #578cbc 50%, #578cbc 100%);
    }

    .tenbou>dl:nth-of-type(5) dt {
      background: linear-gradient(108deg, #004ea2 0%, #004ea2 50%, #578cbc 50%, #578cbc 100%);
    }

    .tenbou>dl dd {
      width: calc(100% - 58px);
    }

    #thanks_page>p {
      text-align: left;
    }

    #thanks_page>p br {
      display: none;
    }

    #thanks_page>p:nth-of-type(1) {
      font-size: 150%;
      text-align: center;
      padding: 12px 0;
    }



  }

  @media screen and (max-width: 500px) {
    header {
      padding-top: 15px;
    }

    h1 {
      width: 60%;
    }

    #main>div {
      padding: 23% 33% 6% 5px;
    }

    #main>div::before {
      background: url(../img/main_bg_sp.jpg) no-repeat #dce4ee bottom right;
      background-size: 110% auto;
      right: -30px;
      bottom: 0px;
    }

    #main>div img {
      width: 90%;
      max-width: unset;
      margin-bottom: 20px;
    }

    #main>div p {
      line-height: 1.6;
      font-size: 80%;
    }

    #main>div p br {
      display: none;
    }
  }

  @media screen and (max-width: 480px) {
    body {
      font-size: 1.4rem;
    }

    #main {
      display: none;
    }

    #main_sp {
      display: block;
      background: #004fa8;
      border-bottom: 10px solid #fecd01;
      padding-bottom: 5%;
    }

    #main_sp>div {
      width: 90%;
      margin: 0 auto;
      animation: blur 3s 1 forwards;
      box-sizing: border-box;
    }

    #main_sp>div {
      width: 90%;
      margin: 0 auto;
      animation: blur 3s 1 forwards;
      box-sizing: border-box;
      padding-top: 3%;
    }

    #main_sp>div img {
      width: 90%;
      margin: 0 auto;
    }

    #main_sp>div p {
      color: #fff;
      text-align: center;
      line-height: 1.6;
      margin: 5% 0 0;
    }

    #message>div {
      padding: 13% 0 35% 0;
    }

    #message>div::before {
      width: 55%;
      left: -42px;
      z-index: 2;
    }

    #message>div::after {
      background: url(../img/osaki01.png) no-repeat bottom right;
      background-size: 100% auto;
      top: auto;
      bottom: 0;
      z-index: -1;
    }

    #message02.message02_on::after {
      height: 660px;
    }

    #profile>div::before {
      bottom: -110px;
    }

    #seisaku {
      position: relative;
      background: #004ea2;
    }

    #seisaku>div {
      background: url(../img/seisaku_img.png) no-repeat right -82px bottom;
      background-size: auto 88%;
      padding: 15% 0 10%;
    }

    #seisaku_blue h2 {
      width: 50px;
    }

    #seisaku_blue h2::after {
      width: 70px;
      bottom: -10px;
      left: -10px;
    }

    #seisaku_blue p {
      padding-top: 20px;
    }

    #seisaku .btn {
      width: 100px;
      padding: 5px 0;
      margin-top: 0;
    }

    #movie {
      padding: 15% 0 10%;
    }

    #movie h2 {
      width: 90%;
      max-width: 285px;
      font-size: 150%;
      letter-spacing: 0em;
      line-height: 1.5;
    }

    #kouenkai a {
      margin-top: 5%;
    }

    #message02.message02_on::after {
      height: 630px;
    }

    #seisaku01 {
      margin-bottom: 12%;
    }

    .hashira {
      padding-bottom: 80px;
    }

    .btn_pink a {
      height: 75px;
    }

    footer>div:nth-child(2) {
      width: 100%;
      max-width: 330px;
      margin: 3% auto;
    }

    footer {
      font-size: 100%;
    }

    footer>div:nth-child(1) {
      margin: 0 auto;
      text-align: center;
    }

    footer>div:nth-child(1) p {
      text-align: center;
    }

    footer>div:nth-child(2) ul {
      display: flex;
      justify-content: space-between;
    }

  }

  @media screen and (max-width: 420px) {
    #seisaku>div {
      background: url(../img/seisaku_img.png) no-repeat right -82px bottom;
      background-size: auto 83%;
      padding: 17% 0 10%;
    }

    #message02.message02_on::after {
      height: 650px;
    }
  }

  @media screen and (max-width: 400px) {
    body {
      font-size: 1.2rem
    }

    #message02.message02_on::after {
      height: 570px;
    }

    #profile>div::before {
      bottom: -90px;
    }


    #kouenkai a {
      width: 140px;
    }

    .copy {
      font-size: 80%;
      letter-spacing: -0.03rem;
    }

  }

  @media screen and (max-width: 360px) {

    #main_sp>div p {
      font-size: 90%;
    }
  }

  @media screen and (max-width: 340px) {

    #main_sp>div p {
      font-size: 90%;
    }

    footer>div:nth-child(2) {
      font-size: 85%;
    }
  }

}

/* スマホのときのみ電話をかける */
@media (min-width: 860px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}