@charset "UTF-8";
/* 幅1040px以下からcss適応 */
@media only screen and (max-width: 1120px) {
  .second #main {
    box-sizing: border-box;
  }
  .second .section {
    width: 100%;
    max-width: 880px;
  }
}
/* 幅980px以下からcss適応 */
@media only screen and (max-width: 980px) {
  body {
    background: #F8F2E5;
  }
  #wrap {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
  }
  #navi {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }
  #navi ul {
    display: flex;
    justify-content: center;
    flex-direction: row;
  }
  #navi ul li {
    margin-right: 16px;
    margin-left: 0;
  }
  #navi ul li:last-of-type {
    margin-right: 0;
  }
  #navi ul li img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  #main {
    width: 90%;
    max-width: 960px;
    padding: 0;
    margin: 0 auto;
  }
  /* トップページ */
  #top2 {
    width: 100%;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    background: none;
    margin: 0 auto;
    padding: 0;
  }
  #top2 #top-left,
  #top2 #top-right {
    width: 100%;
    max-width: 640px;
    float: none;
    margin: 0 auto;
  }
  #top2 #top-right {
    border-top: 3px dotted #c0c0c0;
    padding-top: 50px;
  }
  #main-image {
    width: 100%;
    margin: 0 auto;
  }
  #main-image .main-image01,
  #main-image .main-image02 {
    width: 100%;
    margin: 0 auto;
    height: auto;
    padding: 30px 0;
  }
  #main-image .main-image01 {
    background: #f59d20;
    text-align: center;
    min-height: 210px;
    max-height: 250px;
    height: 31vw;
  }
  #main-image .main-image01 img {
    width: 58vw;
    max-width: 567px;
    height: auto;
    margin: 0 auto;
  }
  #main-image .main-image02 {
    background: url("../images/common/bg01.jpg") repeat left top;
    text-align: center;
    min-height: 150px;
    max-height: 174px;
    height: 40vw;
  }
  #main-image .main-image02 img {
    width: 90vw;
    max-width: 761px;
    height: auto;
    margin: 0 auto;
  }
  .huwa_conts {
    width: 100%;
    position: absolute;
    top: 0;
    box-sizing: border-box;
    padding: 30px 0;
    height: 31vw;
    min-height: 210px;
    max-height: 250px;
  }
  .huwa_conts .huwa01,
  .huwa_conts .huwa02,
  .huwa_conts .huwa03,
  .huwa_conts .huwa04 {
    position: absolute;
  }
  .huwa_conts .huwa01 img,
  .huwa_conts .huwa02 img,
  .huwa_conts .huwa03 img,
  .huwa_conts .huwa04 img {
    height: auto;
  }
  .huwa_conts .huwa01 {
    left: 2.5%;
    top: 20%;
  }
  .huwa_conts .huwa01 img {
    width: 18vw;
    max-width: 171px;
  }
  .huwa_conts .huwa02 {
    right: 18%;
    top: 6%;
  }
  .huwa_conts .huwa02 img {
    width: 8vw;
    max-width: 61px;
  }
  .huwa_conts .huwa03 {
    right: 1%;
    top: 6%;
  }
  .huwa_conts .huwa03 img {
    width: 16vw;
    max-width: 128px;
  }
  .huwa_conts .huwa04 {
    right: 12%;
    top: calc(100% - 10vw);
  }
  .huwa_conts .huwa04 img {
    width: 8vw;
    max-width: 70px;
  }
  /* 下層ページ */
  #main-image2 {
    background: #f59d20;
  }
  /* フッター */
  #footer-wrap {
    width: 95%;
    margin: 0 auto;
  }
  #footer {
    width: 95%;
    max-width: 960px;
  }
  #footer img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  .pagetop {
    margin-right: 0;
  }
}
/* 幅680px以下からcss適応 */
@media only screen and (max-width: 680px) {
  #header {
    height: auto;
  }
  h1 {
    font-size: 12px;
    line-height: 1.5;
    box-sizing: border-box;
    padding: 8px 12px;
    text-align: left;
  }
  #navi .pc_navi {
    display: none;
  }
  #navi .sp_navi {
    display: block;
  }
  #navi .sp_navi ul {
    display: flex;
    justify-content: center;
  }
  #navi .sp_navi ul.fix:after {
    content: none;
  }
  #navi .sp_navi ul li {
    width: 25%;
    margin: 0px auto;
    text-align: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
  }
  #navi .sp_navi ul li:last-of-type {
    margin: 0;
    border-right: none;
  }
  #navi .sp_navi ul li.navi01 {
    margin-top: 6px;
  }
  #navi .sp_navi ul li.navi03 {
    margin-top: 9px;
  }
  #navi .sp_navi ul li.navi04 {
    margin-top: 10px;
  }
  #navi .sp_navi ul li img {
    margin: 0 auto;
    max-width: 80%;
  }
  #main-image .main-image01 {
    justify-content: flex-end;
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    padding: 4vw 0;
  }
  #main-image .main-image01 img {
    width: 82vw;
    position: relative;
    z-index: 9997;
  }
  #main-image .main-image02 {
    min-height: 100%;
    max-height: 100%;
    height: 100%;
    padding: 20px 0;
  }
  #main-image .main-image02 img {
    width: auto;
    max-width: 90%;
    height: auto;
  }
  #main-image .main-image02 .pc_maintext {
    display: none;
  }
  #main-image .main-image02 .sp_maintext {
    display: block;
  }
  .huwa_conts {
    min-height: 100%;
    max-height: 100%;
    height: 0;
    padding: 0;
    overflow-x: hidden;
  }
  .huwa_conts .huwa01 {
    top: 4px;
    left: -8px;
  }
  .huwa_conts .huwa01 img {
    width: 12vw;
    max-width: 80px;
  }
  .huwa_conts .huwa02 {
    top: 6px;
    right: 9%;
  }
  .huwa_conts .huwa02 img {
    width: 8vw;
  }
  .huwa_conts .huwa03 {
    top: 7%;
    right: -16px;
  }
  .huwa_conts .huwa03 img {
    width: 12vw;
    max-width: 82px;
  }
  .huwa_conts .huwa04 {
    right: 3%;
    top: 100px;
  }
  .huwa_conts .huwa04 img {
    width: 10vw;
  }
  #cont {
    margin-top: 32px;
  }
  .section {
    margin-bottom: 32px;
  }
  .section h2 {
    margin-bottom: 20px;
  }
  .section h3 {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 4px;
    margin-top: 1.5rem;
  }
  .section p {
    line-height: 1.75;
  }
  .section p.btm10, .section p.btm40, .section p.btm50 {
    margin-bottom: 1em;
  }
  #main {
    width: 90%;
    margin: 0 auto;
  }
  #top2 #top-right {
    padding-top: 32px;
  }
  .top_btn img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  /* 下層ページ */
  #main-image2 {
    height: auto;
  }
  #main-image2 img {
    width: auto;
    max-width: 215px;
    height: auto;
  }
  .pan {
    width: 90%;
    text-align: left;
    margin: 8px auto 0;
    font-size: 12px;
  }
  .page-title {
    margin: 0 auto 24px;
    padding-bottom: 12px;
  }
  .ttl01 {
    font-size: 24px;
    line-height: 1.5;
    border-width: 0 0 1px 8px;
    padding: 4px 0 4px 10px;
  }
  .img02 {
    max-width: 38%;
  }
  .img02 img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  .tbl01 {
    display: block;
  }
  .tbl01 tbody {
    display: block;
  }
  .tbl01 tbody tr {
    display: flex;
    flex-direction: column;
  }
  .tbl01 tbody tr th, .tbl01 tbody tr td {
    width: 100%;
    display: block;
    box-sizing: border-box;
    text-align: left;
  }
  .nt th,
  .nt td {
    padding: 4px 8px;
  }
  .service_tblconts.pc {
    display: none;
  }
  .service_tblconts.sp {
    display: block;
  }
  .tbl02 {
    display: block;
  }
  .tbl02 thead,
  .tbl02 tbody {
    display: block;
  }
  .tbl02 thead tr th, .tbl02 thead tr td,
  .tbl02 tbody tr th,
  .tbl02 tbody tr td {
    display: block;
  }
  .tbl02 thead tr {
    display: block;
  }
  .tbl02 thead tr th {
    display: block;
    width: 100%;
    background: #FBF8EE;
    box-sizing: border-box;
    padding: 16px 8px;
  }
  .tbl02 thead tr th p {
    text-align: center;
  }
  .tbl02 tbody tr {
    display: flex;
    flex-direction: column;
  }
  .tbl02 tbody tr th,
  .tbl02 tbody tr td {
    width: 100%;
    display: block;
    box-sizing: border-box;
    text-align: left;
  }
  p.click {
    display: inline-block;
    padding-left: 24px;
  }
  #sp_headmenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    top: -80px;
    transition: all 0.3s linear 0s;
    background: #F8F2E5;
    box-sizing: border-box;
    z-index: 9999;
    border-bottom: 1px solid #dddcdc;
  }
  #sp_headmenu.on {
    display: block;
  }
  #sp_headmenu .sp_headmenu-wrap {
    display: flex;
    justify-content: space-between;
  }
  #sp_headmenu .sp_headmenu-conts {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 25%;
    border-right: 1px solid #dddcdc;
    box-sizing: border-box;
    padding: 8px 4px;
  }
  #sp_headmenu .sp_headmenu-conts:last-of-type {
    border-right: none;
  }
  #sp_headmenu .sp_headmenu-conts a {
    text-decoration: none;
    color: #111;
  }
  #sp_headmenu .sp_headmenu-conts .sp_headmenu-img {
    text-align: center;
    margin: 0 auto 8px;
  }
  #sp_headmenu .sp_headmenu-conts .sp_headmenu-img img {
    width: auto;
    max-width: 40px;
    height: auto;
    max-height: 28px;
  }
  #sp_headmenu .sp_headmenu-conts .sp_headmenu-text {
    font-size: 2.6vw;
    font-weight: bold;
    text-align: center;
    line-height: 1.35;
  }
  /* news */
  .news_imglist ul{
    display: flex;
    flex-direction: column;
  }

  .news_imglist ul li{
    width: 100%;
    margin: 0 auto 12px;
    line-height: 0;
    text-align: center;
  }

  .news_imglist ul li:last-of-type{
    margin-bottom: 0;
  }

  /* ページトップ */
  #footer-wrap {
    width: 100%;
  }
  #footer-wrap #footer {
    width: 100%;
  }
  #footer-wrap #footer .pagetop {
    width: 95%;
    margin: 0 auto 24px;
    text-align: right;
  }
  #footer-wrap #footer .pagetop img {
    width: auto;
    max-width: 120px;
    height: auto;
  }
  /* フッター */
  .footer-navi {
    font-size: 15px;
    line-height: 2;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  .footer-navi a {
    display: block;
    width: 50%;
    box-sizing: border-box;
    padding: 12px 4px;
    background: #f59d20;
    color: #fff !important;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 1.5;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
  }
  .footer-navi a:nth-of-type(2n) {
    border-right: none;
  }
  .footer-navi a:nth-last-of-type(1), .footer-navi a:nth-last-of-type(2) {
    border-bottom: none;
  }
  .footer-navi a:hover {
    text-decoration: none;
  }

  .footer_link ul{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.5;
  }
  .footer_link ul li{
    width: auto;
    display: flex;
    align-items: center;
    line-height: 1.5;
    
  }
  .footer_link ul li:last-of-type:after{
    content: none;
  }
  .footer_link ul li a{
    width: 100%;
    background: none;
    color: #111 !important;
    border: none;
    text-decoration: none;
    padding: 4px 4px;
    font-weight: normal;
  }
  .footer-contact {
    margin: 0 auto 24px;
  }
  .pc_contact {
    display: none;
  }
  .sp_contact {
    display: block;
    text-align: center;
  }
  .sp_contact p {
    margin-bottom: 16px;
  }
  .sp_contact p img {
    width: auto;
    max-width: 80% !important;
    height: auto;
  }
  .cr {
    display: block;
    width: 90%;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.5;
  }
}/*# sourceMappingURL=sp.css.map */