@charset "utf-8";

@media all and (min-width: 0) and (max-width: 767px) {
  body {
    min-width: inherit;
  }

  #main {
    margin-bottom: 26px;
  }

  a:hover,
  a:hover img {
    opacity: 1 !important;
  }

  .sp {
    display: block !important;
  }

  .pc {
    display: none !important;
  }

  a[href^='tel:'] {
    cursor: pointer;
    pointer-events: auto;
  }
}
/*------------------------------------------------------------
	ヘッダー
------------------------------------------------------------*/

@media all and (min-width: 0) and (max-width: 767px) {
  body {
    padding-top: 60px;
  }
  #gHeader {
    margin: 0;
    padding: 14px 20px 11px 14px;
    width: auto;
    background: #fff;
  }
  #gHeader .inner {
    width: 100%;
  }

  #gHeader h1 img {
    width: 150px;
  }

  #gHeader .menu {
    margin-top: 5px;
    float: right;
  }

  #gHeader .menu img {
    width: 20px;
  }
}
/*------------------------------------------------------------
	gNavi
------------------------------------------------------------*/

@media all and (min-width: 0) and (max-width: 767px) {
  #gNavi {
    display: none;
  }
}
/*------------------------------------------------------------
	パンクズリスト
------------------------------------------------------------*/

@media all and (min-width: 0) and (max-width: 767px) {
  #pagePath {
    margin-bottom: 21px;
    padding: 0px 11px 5px;
  }
  #pagePath ul {
    width: auto;
    line-height: 1.3;
  }

  #pagePath li {
    margin-left: 0;
    font-size: 10px;
  }

  #pagePath li a {
    padding: 0 10px 0 0;
    margin-right: 0;
    background-image: url(../img/sp_page_path_bg.png);
    background-size: 6px auto;
  }
}
/*------------------------------------------------------------
	conts
------------------------------------------------------------*/

@media all and (min-width: 0) and (max-width: 767px) {
}
/*------------------------------------------------------------
	sideBar
------------------------------------------------------------*/

@media all and (min-width: 0) and (max-width: 767px) {
}
/*------------------------------------------------------------
	フッター
------------------------------------------------------------*/

@media all and (min-width: 0) and (max-width: 767px) {
  #gFooter {
    padding-bottom: 80px;
    width: auto;
    text-align: center;
  }

  #gFooter .fBox01 {
    margin: 0 0 7px;
    display: block;
  }

  #gFooter .fBox01 .logo {
    float: none;
  }

  #gFooter .fBox01 .logo img {
    width: 210px;
  }

  #gFooter .fBox01 .fBox01_01 p {
    margin-top: 15px;
    font-size: 12px;
  }
  #gFooter .fBox01 .fBox01_02 {
    margin: 20px 0;
  }
  #gFooter .fBox01 .fBox01_02 .fBox01_txt {
    font-size: 12px;
  }
  #gFooter .fBox01 .fBox01_02 .fBox01_btn a {
    width: 84%;
    height: 50px;
    margin: 0 auto;
    line-height: 50px;
    font-size: 16px;
  }
  #gFooter .fBox01 .fBox01_02 .fBox01_btn a::after {
    height: 50px;
  }

  #gFooter .fBox02 {
  }
  #gFooter .fBox02 .fBox02_nav {
    float: none;
    width: 84%;
    margin: 0 auto;
    padding: 20px 0;
    text-align: left;
    overflow: hidden;
    border-bottom: 1px solid #dadada;
  }
  #gFooter .fBox02 .fBox02_nav dd,
  #gFooter .fBox02 .fBox02_nav li {
    width: 50%;
    float: left;
  }
  #gFooter .fBox02 .fBox02_nav dd a,
  #gFooter .fBox02 .fBox02_nav li a {
    padding: 5px 0 5px 15px;
    line-height: 20px;
    background-position: 0 11px;
  }

  #gFooter .fBox02 .fBox02_nav .color01,
  #gFooter .fBox02 .fBox02_nav .color02 {
    width: 48%;
    margin-top: 10px;
  }
  #gFooter .fBox02 .fBox02_nav .color01 {
    clear: both;
  }
  #gFooter .fBox02 .fBox02_nav .color02 {
    float: right;
  }
  #gFooter .fBox02 .fBox02_nav .color01 a,
  #gFooter .fBox02 .fBox02_nav .color02 a {
    padding: 9px 10px 9px 0;
    font-size: 15px;
    background-position: right 10px top 50%;
  }
  #gFooter .fBox02 .fBox02_nav .color01 a {
    line-height: 18px;
  }
  #gFooter .fBox02 .fBox02_nav .color02 a {
    line-height: 36px;
  }

  #gFooter .fBox02 .rBox {
    padding-top: 0;
    width: auto;
    float: none;
  }

  #gFooter .telBox {
    margin-bottom: 9px;
  }

  #gFooter .telBox img {
    margin-bottom: 5px;
    width: 244px;
  }

  #gFooter .telBox span {
    margin-left: 0;
    font-size: 10px;
    display: block;
  }

  #gFooter .fNavi {
    margin: 0 auto 10px;
    width: 270px;
  }

  #gFooter .fNavi li {
    margin-top: 0;
    line-height: 0.7;
    font-size: 10px;
    display: inline-block;
  }

  #gFooter .fNavi li .sp {
    display: inline-block !important;
  }

  #gFooter .fNavi a {
    font-size: 10px;
    line-height: 0.7;
  }

  #gFooter .fNavi a:hover {
    text-decoration: none;
  }

  /* fBox03 */
  .fBox03 {
    flex-direction: column;
    gap: 10px;
    width: 84%;
    margin: 30px auto;
  }
  .fBox03_item a {
    width: 100%;
  }

  #gFooter .copyright {
    font-size: 9px;
    text-align: center;
  }

  /*** SPのみ .fixedBtn ***/
  .fixedBtn {
    width: 100%;
    height: 70px;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: 0;
    z-index: 9999;
    background-color: unset !important;
    box-shadow: none !important;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.35) 100%
    );
  }
  .fixedBtn ul {
    width: calc(100% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
  }
  .fixedBtn ul li {
    width: 100%;
    margin: 0 5px;
  }
  .fixedBtn ul li a {
    display: block;
    font-size: 15px;
    color: #fff;
    line-height: 45px;
    text-align: center;
  }
  .fixedBtn ul li:nth-child(1) a {
    background: #ff8000;
  }
  .fixedBtn ul li:nth-child(2) a {
    background: #103579;
  }
  .fixedBtn {
    display: none !important;
  }

  /* 幅の狭いスマホ用 */
  @media screen and (max-width: 360px) {
    .fixedBtn ul li a {
      font-size: 14px;
    }
  }

  /* lineBnr */
  .lineBnr {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: block;
    opacity: 0;
    background: #fff;
    border-radius: 4px;
    animation-name: line;
    animation-duration: 0.8s;
    animation-delay: 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }
  .lineBnr img {
    width: 100%;
    height: auto;
  }
  .lineBnrClose {
    display: none;
  }
  .lineBnrCloseBtn {
    position: absolute;
    top: -11px;
    right: 15px;
    width: 26px;
    height: 26px;
    text-indent: -9999px;
    cursor: pointer;
    background: url(/common/img/lineBnrClose.png) no-repeat;
    z-index: 1;
  }
  .lineBnrCloseBtn:hover {
    opacity: 0.8;
  }
  @keyframes line {
    0% {
      opacity: 0;
      transform: translateY(100px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .lineBnr .lineBnrClose:checked ~ .lineBnrCloseBtn {
    display: none;
  }
  .lineBnr .lineBnrClose:checked ~ .lineBnrLink {
    display: none;
  }
  #main:has(.lineBnr) + #gFooter {
    margin-bottom: 22vw;
  }
  #main:has(.lineBnr) + #gFooter .pagetop {
    bottom: calc(22vw + 15px);
  }
  #main:has(.lineBnrClose:checked) + #gFooter {
    margin-bottom: 0;
  }
  #main:has(.lineBnrClose:checked) + #gFooter .pagetop {
    bottom: 15px;
  }
}
