@charset "utf-8";
/* CSS Document */
@media screen and (max-width: 500px) {
  .spmaxw80 {
    max-width: 80%;
  }
  .spmgn-t10 {
    margin-top: 10px !important;
  }
  .spmgn-t16 {
    margin-top: 16px;
  }
  .spmgn-t20 {
    margin-top: 20px !important;
  }
  .spmgn-b16 {
    margin-bottom: 16px;
  }
  .spmgn-b0 {
    margin-bottom: 0 !important;
  }
  .sppdg-b0 {
    padding-bottom: 0 !important;
  }
  .sp_block {
    display: block !important;
  }
  .spposition {
    position: relative;
  }
  .sp-none02 {
    display: none;
  }
  .indent_content {
    padding: 20px 16px;
  }
  .page_thumb {
    letter-spacing: inherit;
    font-size: 4vw;
    height: 70px;
    margin-bottom: 20px;
    margin-top: 70px;
  }
  /*チェックボックス非表示*/
  .nav-none {
    display: none;
  }
  header {
    width: 100%;
    padding: 10px;
    position: fixed;
    top: 0;
    z-index: 100;
    background-color: #fff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    height: 70px;
  }
  header .ul01 {
    display: none;
  }
  header h1 {
    font-size: 2vw;
    padding-right: 0;
  }
  header .logo {
    width: 80%;
  }
  header .min {
    font-size: 2vw;
    margin-bottom: 1%;
    margin-left: 0;
  }
  header h2 {
    font-size: 5vw;
  }
  .content {
    padding: 16px;
  }
  .nav_logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    line-height: 1;
    font-size: 6vw;
    margin-bottom: 20px;
    letter-spacing: 2px;
  }
  .nav_logo img {
    margin-right: 10px;
  }
  /*ハンバーガー*/
  #nav-toggle {
    position: fixed;
    top: 25px;
    right: 5%;
    width: 8%;
    cursor: pointer;
  }
  #nav-toggle > div {
    position: relative;
    width: 100%;
  }
  #nav-toggle span {
    width: 100%;
    height: 3px;
    left: 0;
    display: block;
    background: #000;
    position: absolute;
    transition: transform 0.3s ease-in-out, top 0.5s ease;
    /* #nav-toggle close */
  }
  #nav-toggle span:nth-child(1) {
    top: 0;
  }
  #nav-toggle span:nth-child(2) {
    top: 10px;
  }
  #nav-toggle span:nth-child(3) {
    top: 20px;
  }

  .open #nav-toggle span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
    background-color: #fff;
  }
  .open #nav-toggle span:nth-child(2) {
    top: 10px;
    width: 0;
    left: 50%;
    background-color: #fff;
  }
  .open #nav-toggle span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
    background-color: #fff;
  }

  /* z-index */
  #nav-toggle {
    z-index: 1000;
  }

  #container {
    z-index: 900;
  }

  #gloval-nav nav {
    z-index: 999;
  }

  #gloval-nav {
    background: url(img/index/box07_bg.jpg) top center repeat;
    background-size: cover;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 5vw;
    padding-left: 0;
    transform: translateX(-100%);
    transition: transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .open #gloval-nav {
    transform: translateX(0);
  }

  #gloval-nav a {
    display: inline-block;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.6s ease;
  }
  #gloval-nav ul {
    list-style: none;
    margin-left: 16px;
  }
  #gloval-nav ul li {
    transform: translateX(-200px);
    transition: transform 0.4s ease;
    position: relative;
  }
  #gloval-nav ul li:after {
    content: '';
    display: block;
    width: 500px;
    height: 2px;
    background: #000;
    left: -600px;
    position: absolute;
    transform: translateX(0);
    transition: transform 0.3s ease;
  }
  #gloval-nav ul li:hover:after {
    transform: translateX(300px);
  }
  #gloval-nav ul li:nth-child(2) {
    transition-delay: 0.15s;
  }
  #gloval-nav ul li:nth-child(3) {
    transition-delay: 0.3s;
  }
  #gloval-nav ul li:nth-child(4) {
    transition-delay: 0.45s;
  }
  #gloval-nav ul li:nth-child(5) {
    transition-delay: 0.6s;
  }
  #gloval-nav ul li:nth-child(6) {
    transition-delay: 0.75s;
  }
  #gloval-nav ul li:nth-child(7) {
    transition-delay: 0.9s;
  }
  #gloval-nav ul li:nth-child(8) {
    transition-delay: 1.05s;
  }
  #gloval-nav ul li:nth-child(9) {
    transition-delay: 1.2s;
  }

  .open #gloval-nav li {
    transform: translateX(0);
  }

  .nav-bg {
    opacity: 0;
    background-image: linear-gradient(-45deg, #ff00bf, #ffea00);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    transition: all 1s ease;
  }
  .nav-bg.active {
    opacity: 1;
  }
  .nav-bg.news {
    background-image: linear-gradient(-45deg, #4400ff, #ffea00);
  }
  .nav-bgabout {
    background-image: linear-gradient(-45deg, #00ffcc, #ffea00);
  }
  .nav-bg.works {
    background-image: linear-gradient(-45deg, #eb1405, #ffea00);
  }
  .nav-bg.contact {
    background-image: linear-gradient(-45deg, #8b05eb, #ffea00);
  }

  /*index*/
  #index .box01 h2 {
    font-size: 5vw;
    line-height: 1.5;
  }
  #index .box01 h2 .big {
    font-size: 5.5vw;
    letter-spacing: inherit;
  }
  #index .box01 .icon01,
  #index .box01 .icon02 {
    display: none;
  }
  #index .box01 .big {
    font-size: 4vw;
    margin-bottom: 0;
  }
  #index .box01 .txt01 {
    display: none;
  }
  #index .box02 .min {
    margin-left: 0;
    font-size: 5vw;
    text-align: center;
  }
  #index .box02 .icon01,
  #index .box02 .icon02 {
    display: none;
  }
  #index .box02 .title {
    margin-top: 0;
    width: 80%;
  }
  #index .box02 h2 {
    font-size: 5vw;
    margin: 10px auto;
  }
  #index .box02 ul {
    display: block;
  }
  #index .box02 li {
    width: 80%;
    margin: 20px auto 0;
  }
  #index .box02 li .icon03 {
    width: 20%;
    left: 10%;
  }
  #index .box02 li .txt {
    width: 50%;
  }
  #index .box02 li .zin {
    display: none;
  }
  #index .box02 li p {
    font-size: 3vw;
  }
  #index .btn {
    font-size: 4vw;
    padding: 15px;
  }
  #index .box02 .btn {
    width: 100%;
    margin: 20px auto 0;
    background-size: 2%;
  }
  #index .box03 .title_area {
    width: 100%;
    padding: 10px;
  }
  #index .box03 .icon01 {
    width: 10%;
    left: -16px;
  }
  #index .box03 h2 {
    font-size: 5vw;
    text-align: center;
    line-height: 1.3;
  }
  #index .box03 h2 span {
    font-size: 6vw;
  }
  #index .box03 .icon02 {
    width: 7%;
    right: -16px;
    top: 0;
  }
  #index .box03 .title_area p {
    font-size: 4vw;
  }
  #index .box03 .ul_area {
    display: block;
    width: 100%;
    margin-top: 20px;
  }
  #index .box03 .box {
    width: 100%;
  }
  #index .box03 .box .title {
    font-size: 4vw;
  }
  #index .box03 ul {
    align-items: flex-start;
  }
  #index .box03 li {
    width: 47.5%;
    font-size: 3vw;
    text-align: justify;
  }
  #index .box03 li .icon {
    width: 30%;
    right: -5%;
  }
  #index .box03 .box:nth-child(2) .title {
    margin-top: 20px;
  }
  #index .box03 li p {
    padding: 5px;
  }
  #index .box04 {
    padding: 20px 16px;
    background: url(img/index/box02_bg.jpg) top center repeat;
  }
  #index .box04 .big {
    font-size: 3.5vw;
  }
  #index .box04 .big span {
    font-size: 4vw;
  }
  #index .box04 .title {
    margin: 10px auto;
    font-size: 7vw;
  }
  #index .box04 h2 {
    font-size: 5vw;
    margin: 10px auto 20px;
  }
  #index .box04 ul {
    display: block;
  }
  #index .box04 li ul {
    display: flex;
  }
  #index .box04 .bg {
    padding: 20px;
  }
  #index .box04 li {
    width: 100%;
  }
  #index .box04 .ul02 li {
    width: 47.5%;
    font-size: 4vw;
  }
  #index .box04 .ul02 li img {
    width: 19%;
  }
  #index .box04 li:nth-child(2) {
    margin-top: 10px;
  }
  #index .box04 .ul02 li {
    margin-top: 0;
  }
  #index .box04 .txt {
    font-size: 5vw;
  }
  #index .box04 .ul02 {
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  #index .box05 .box {
    display: block;
    font-size: 5vw;
    margin-top: 10px;
  }
  #index .box05 .zin {
    display: none;
  }
  #index .box05 h2 {
    font-size: 10vw;
  }
  #index .box05 .box p span {
    font-size: 6vw;
  }
  #index .box05 ul {
    width: 100%;
    flex-wrap: wrap;
    margin-top: 10px;
  }
  #index .box05 ul li {
    width: 47.5%;
  }
  #index .box05 li:nth-child(3),
  #index .box05 li:nth-child(4),
  #index .box05 li:nth-child(5),
  #index .box05 li:nth-child(6),
  #index .box05 li:nth-child(7),
  #index .box05 li:nth-child(8) {
    margin-top: 10px;
  }
  #index .box06 .min {
    display: none;
  }
  #index .box06 .title_area {
    display: block;
    font-size: 6vw;
  }
  #index .box06 .title_area img {
    width: 60%;
    margin: auto;
  }
  #index .box06 h2 {
    font-size: 6vw;
    margin-top: 10px;
  }
  #index .box06 .voice_item {
    width: 47.5%;
    margin-right: 5%;
    margin-top: 10px;
  }
  #index .box06 .voice_item:nth-child(2n) {
    margin-right: 0;
  }
  #index .number {
    display: none;
  }
  #index .box06 h3 {
    font-size: 3.3vw;
  }
  #index .box06 .inner {
    font-size: 3vw;
  }
  #index .box06 .btn {
    width: 100%;
    margin-top: 20px;
  }
  #index .box07 h2 {
    font-size: 6vw;
  }
  #index .box07 .bdr {
    margin: 10px auto;
  }
  #index .box07 .big {
    font-size: 6vw;
  }
  #index .box07 ul {
    width: 100%;
    margin: 20px auto;
    flex-wrap: wrap;
  }
  #index .box07 ul a {
    width: 47.5%;
    height: 50px;
    font-size: 3.5vw;
    background-size: 5%;
  }
  #index .box07 ul a:nth-child(2n) {
    background-size: 5%;
  }
  #index .box07 ul a:nth-child(3),
  #index .box07 ul a:nth-child(4) {
    margin-top: 5%;
  }
  #index .box07 li img {
    margin-left: 10%;
    width: 15%;
  }
  #index .box07 .inbox {
    font-size: 3vw;
  }
  #index .box08 .box {
    width: 100%;
  }
  .blog_item_area {
    display: block;
  }
  #index .box08 .list {
    padding: 0 10px 10px;
  }
  #index .box08 .blog_item {
    display: block;
    padding: 15px 0;
    font-size: 3vw;
  }
  #index .box08 .time {
    margin-right: 0;
    font-size: 3.5vw;
  }
  #index .box08 h3 {
    font-size: 4vw;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  #index .box08 .btn01 {
    padding: 10px 20px;
    width: auto;
    font-size: 3.5vw;
    position: relative;
    top: inherit;
  }
  #index .box08 .box:nth-child(2) {
    margin-top: 20px;
  }
  #index .box08 h2 {
    font-size: 13vw;
  }
  footer {
    padding: 0;
  }
  footer .over {
    padding: 16px;
    font-size: 3vw;
  }
  footer .over .inner {
    display: block;
  }
  footer .over table {
    display: none;
  }
  footer .over .big {
    font-size: 4vw;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
  footer .over .big02 {
    font-size: 3.5vw;
  }

  footer .copyright_area {
    display: block;
    text-align: center;
    font-size: 3vw;
    padding: 7px 0;
    line-height: 1.5;
  }
  .stoker02 {
    display: flex;
    justify-content: space-between;
  }
  .stoker02 li {
    width: 50%;
  }
  #pop_banner {
    padding: 0;
    z-index: 50;
    background: none;
    width: 100%;
    border: none;
    bottom: 0;
    position: fixed;
  }

  .pan {
    display: none;
  }
  .page_top_img {
    margin-top: 30px;
  }
  .page_title {
    font-size: 16px;
  }

  /*contactbnr*/
  .contact_banner {
    margin-bottom: 20px;
  }
  .contact_banner .con_title {
    font-size: 5vw;
  }
  .contact_banner .con_inner {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 4vw;
  }

  /*reason*/
  #reason .box01 .min {
    font-size: 3.5vw;
  }
  #reason .box01 .title {
    display: block;
  }
  #reason .box01 h2 {
    font-size: 5vw;
    margin-top: 10px;
    margin-right: 0;
    text-align: center;
  }
  #reason .box01 .title img {
    width: 70%;
    margin: -10px auto auto;
  }
  #reason .box01 .title_area .icon {
    display: none;
  }
  #reason .box01 .center {
    font-size: 3.5vw;
    margin: 10px 0;
  }
  #reason .box01 .inner {
    display: block;
    font-size: 3.5vw;
  }
  #reason .box01 .inner img {
    margin: auto auto 10px;
  }
  #reason .box01 .con .title img {
    display: none;
  }
  #reason .box01 .con {
    padding: 10px;
    margin-top: 10px;
    font-size: 3vw;
  }
  #reason .box01 .con .title {
    margin: 0 auto;
    padding: 10px 0;
    width: 100%;
  }
  #reason h3 {
    font-size: 4vw;
    text-align: center;
  }
  #reason .box01 .con .big {
    font-size: 3.5vw;
    margin: 10px auto 5px;
  }
  .contact_banner .logo {
    font-size: 7vw;
  }
  .contact_banner .tel {
    width: 80%;
    margin: auto auto 10px;
  }
  .contact_banner .icon {
    display: none;
  }

  /*specialty*/
  #specialty .box01 li {
    width: 47.5%;
    font-size: 3vw;
  }
  #specialty .box01 .icon {
    width: 30%;
    top: -10px;
    right: -5px;
  }
  #specialty .box01 .title {
    font-size: 5vw;
  }
  #specialty .box02 .title_area {
    font-size: 4vw;
    padding: 10px 0;
  }
  #specialty .box02 h2 {
    font-size: 6vw;
  }
  #specialty .box02 .text {
    font-size: 4vw;
    line-height: 1.5;
    margin: 10px auto;
  }
  #specialty .box02 .con .zin {
    display: none;
  }
  #specialty .box02 .con {
    padding: 10px;
    border: 2px solid #d6d6d6;
  }
  #specialty .box02 li {
    font-size: 3.1vw;
    margin-bottom: 10px;
  }
  #specialty .box02 h3 {
    font-size: 4.5vw;
  }
  #specialty .box02 .inner {
    display: block;
    font-size: 3vw;
    text-align: justify;
  }
  #specialty .box02 .inner img {
    margin: 0 auto 10px;
  }
  #specialty .box02 .title_area .icon {
    width: 3%;
  }

  /*company*/
  #company .table th,
  #company .table td {
    display: block;
    width: 100%;
    border-bottom: none;
    text-align: left;
  }
  #company .table {
    border-bottom: 1px solid #000;
  }
  #company iframe {
    height: 300px;
  }
  #company .box01 {
    font-size: 3vw;
  }
  #company .inner {
    display: block;
    font-size: 3vw;
  }
  #company .inner img,
  #company .inner02 img {
    margin: 0 auto 10px;
  }
  #company .big {
    font-size: 4vw;
  }
  #company .box01 table {
    font-size: 3vw;
  }
  #company .box01 .title {
    font-size: 4vw;
    margin: 10px 0;
  }

  /*questions*/
  #questions .box {
    padding: 16px;
  }
  #questions .box li {
    margin-top: 5%;
    width: 47.5%;
  }
  #questions .box li img {
    margin: auto;
  }
  #questions .box01 .title_area {
    font-size: 5vw;
  }
  #questions .box01 .title_area img {
    width: 25%;
  }
  #questions .box01 .inner,
  #questions .box01 .inner02 {
    display: block;
    font-size: 3vw;
  }
  #questions .box01 .inner img {
    margin: 0 auto 10px;
  }
  #questions .box01 .big {
    font-size: 5vw;
    margin-top: 10px;
    text-align: center;
  }
  #questions .box01 .inner02 {
    padding: 10px;
    margin-top: 10px;
  }
  #questions .box01 .con .icon {
    margin: auto auto 10px;
    position: relative;
    top: inherit;
    left: inherit;
  }
  #questions .box01 .inner02 .img {
    margin: 0 auto;
  }

  /*blog*/
  #blog_single .box01,
  #blog .box01 {
    padding: 16px;
    font-size: 3vw;
  }
  #blog .txt {
    margin-top: 0;
  }

  /*case*/
  #case .item {
    width: 100%;
    margin-right: 0;
    margin-top: 10px;
  }
  #case .item:nth-child(1) {
    margin-top: 0;
  }
  #case_single .img {
    padding: 16px;
  }
  #case_single .img img {
    height: 200px;
  }
  #case_single .gallery_area {
    padding: 16px;
  }
  .gallery_title p {
    display: none;
  }
  #case_single .gallery_box a {
    width: 47.5%;
    margin-right: 5%;
    margin-top: 5%;
  }
  #case_single .gallery_box a:nth-child(3n) {
    margin-right: 5%;
  }
  #case_single .gallery_box a:nth-child(2n) {
    margin-right: 0;
  }
  #case_single .gallery_box a img {
    height: 100px;
  }
  #case_single .case_txt_box {
    padding: 16px;
    font-size: 3vw;
  }

  /*contact*/
  #contact .box01 .big {
    font-size: 4vw;
    text-align: center;
    line-height: 1.3;
    margin: 5px auto;
  }
  #contact .box01 {
    font-size: 3vw;
  }
  #contact table th,
  #contact table td {
    width: 100%;
    display: block;
    font-size: 3.5vw;
  }
  #contact table input,
  #contact table textarea {
    font-size: 16px;
  }
  #contact .btn input {
    width: 100% !important;
    font-size: 4.5vw !important;
    padding: 15px 0 !important;
    background-size: 2%;
  }
  .thanks_txt {
    padding: 0 16px 16px;
  }
}
@media screen and (max-width: 350px) {
  header h1 {
    display: none;
  }
}
