@charset "UTF-8";
/* CSS Document */
@media screen and (max-width:1380px) {
  /*---------------------------------------------------------------------
	ヘッダー
---------------------------------------------------------------------*/
  .header-inner {
    padding: 0 20px;
  }
  .header .g-nav {
    margin-right: 10px;
  }
  .site-ttl {
    max-width: 180px;
  }
  .g-nav ul {
    column-gap: 20px;
  }
  .header-contact {
    column-gap: 20px;
  }
}
@media screen and (max-width:1200px) {
  /*---------------------------------------------------------------------
	ヘッダー
---------------------------------------------------------------------*/
  .site-ttl {
    max-width: 160px;
  }
  .g-nav ul {
    column-gap: 14px;
  }
  .g-nav ul li a span {
    font-size: 1.4rem;
  }
  .header-contact {
    column-gap: 10px;
  }
  .header-contact .header-contact-tel img {
    width: 30px;
  }
  .header-contact-form {
    width: 80px;
    height: 80px;
  }
  .header-contact-form span {
    font-size: 1.2rem;
    letter-spacing: normal;
  }
}
@media screen and (max-width:1040px) {
  /*---------------------------------------------------------------------
	フッター
---------------------------------------------------------------------*/
  .footer-right .footer-nav {
    flex-wrap: wrap;
  }
  .footer-right .footer-nav {
    grid-row-gap: 50px;
  }
  .footer-bn-pr {
    height: auto;
    margin-left: auto;
    grid-row-gap: 30px;
  }
}
@media screen and (max-width:1000px) {
  /*---------------------------------------------------------------------
	ヘッダー
---------------------------------------------------------------------*/
  .header-inner {
    padding: 0 10px;
  }
  .site-ttl {
    max-width: 120px;
  }
  .g-nav ul li a span {
    font-size: 1.0rem;
  }
  .header-contact {
    column-gap: 4px;
  }
  .header-contact .header-contact-tel .tel {
    font-size: 1.8rem;
    text-align: center;
  }
  .header-contact .header-contact-tel img {
    width: 26px;
  }
  .header-contact .header-contact-tel .tel-time {
    font-size: 1.0rem;
  }
  .header-contact .header-contact-tel .tel-time span {
    font-size: 1.2rem;
  }
  .header-contact-form {
    width: 60px;
    height: 60px;
  }
  .header-contact-form span {
    font-size: 1.0rem;
    letter-spacing: -0.06em;
  }
}
@media screen and (max-width:768px) {
  /*---------------------------------------------------------------------
	ベース
---------------------------------------------------------------------*/
  body.active {
    height: 100%;
    overflow: hidden;
  }
  .txt {
    line-height: 1.75;
  }
  .nomal_line {
    line-height: 1.5;
  }
  .sp-left {
    text-align: left;
  }
  .sp-column {
    flex-direction: column;
  }
  .small {
    font-size: 1.2rem;
  }
  .sp-mb5 {
    margin-bottom: 1.33vw !important;
  }
  .sp-mb10 {
    margin-bottom: 2.67vw !important;
  }
  .sp-mb20 {
    margin-bottom: 5.33vw !important;
  }
  .sp-mb30 {
    margin-bottom: 8vw !important;
  }
  .sp-mb40 {
    margin-bottom: 10.67vw !important;
  }
  .sp-mb50 {
    margin-bottom: 13.3vw !important;
  }
  .sp-mb60 {
    margin-bottom: 16vw !important;
  }
  /* 別タブ */
  .tab {
    column-gap: 4px;
  }
  .tab::after {
    width: 13px;
    height: 11px;
  }
  .pc-none {
    display: block !important;
  }
  .sp-none {
    display: none !important;
  }
  /*---------------------------------------------------------------------
	ベース
---------------------------------------------------------------------*/
  body {
    font-size: clamp(0.8rem, 3.7vw, 1.6rem);
  }
  .note {
    padding-left: 14px;
  }
  .sticky {
    position: sticky;
    top: 90px;
  }
  .w-1200 {
    padding: 0 30px;
  }
  .w-1000 {
    padding: 0 30px;
  }
  .sec {
    padding-top: 80px;
  }
  .pb {
    padding-bottom: 60px;
  }
  .btn {
    height: 50px;
    max-width: 300px;
    padding: 10px 10px 10px 15px;
  }
  /* h2 */
  .content-ttl {
    font-size: clamp(1.0rem, 7.47vw, 4.0rem);
    letter-spacing: 0.2em;
  }
  .content-ttl.sp-row {
    writing-mode: horizontal-tb;
    letter-spacing: 0.1em;
  }
  /* h3 */
  .h3-ttl {
    font-size: clamp(1.0rem, 5.87vw, 2.4rem);
  }
  /* 画像ループ */
  .bg-loop-wrap {
    padding: 80px 0;
  }
  .bg-loop {
    height: 135px;
    animation: bgLoopRight 18s linear infinite;
  }
  .bg-loop:first-of-type {
    margin-bottom: 10px;
  }
  .bg-loop.reverse {
    animation-direction: reverse;
  }
  @keyframes bgLoopRight {
    0% {
      background-position: 0 0;
    }
    100% {
      background-position: 558px 0;
    }
  }
  .pt {
    padding-top: 60px;
  }
  /*---------------------------------------------------------------------
	ヘッダー
---------------------------------------------------------------------*/
  .header {
    width: 100%;
    height: 60px;
    column-gap: 0;
    padding: 0 15px;
    position: fixed;
  }
  .header-inner {
    width: 100%;
    padding: 0;
  }
  .site-ttl {
    max-width: 180px;
  }
  .site-ttl a {
    justify-content: flex-start;
    column-gap: 12px;
  }
  .site-ttl a img {
    max-height: 40px;
    max-width: 153px;
    width: 40.8vw;
    height: auto;
    aspect-ratio: 153 / 40;
  }
  .header-inner h1 .flexBlock {
    margin-top: 0;
  }
  .header-inner h1 .flexBlock > span {
    font-size: 1.1rem;
  }
  .site-ttl .site-subttl {
    padding: 0 13px;
    height: 26px;
    font-size: clamp(1rem, 3.7vw, 1.6rem);
    margin-bottom: 8px;
  }
  .header .g-nav {
    position: fixed;
    z-index: 999;
    top: 60px;
    right: -120%;
    width: calc(100% + 1px);
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    transition: right 0.3s cubic-bezier(0.2, 0, 0.4, 1) 0s;
    margin-right: 0;
  }
  .header .g-nav.panelactive {
    right: 0;
  }
  .header .g-nav ul {
    flex-direction: column;
    grid-row-gap: 20px;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    background-size: 100% 100%;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 30px;
    padding-bottom: 90px;
    background-color: rgba(245, 245, 245, 0.95);
    overflow-y: scroll;
  }
  .header .g-nav ul.g-nav-ul li {
    width: 100%;
  }
  .header .g-nav ul.g-nav-ul li a {
    width: 100%;
    display: flex;
    position: relative;
    padding: 10px 0;
    letter-spacing: 0.1em;
    color: var(--blue);
    font-family: var(--sm);
  }
  .header .g-nav ul.g-nav-ul li a::before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    right: 0;
    border-top: solid 2px var(--blue);
    border-right: solid 2px var(--blue);
    -webkit-transform: translateY(-50%) translateX(-50%) rotate(45deg);
    transform: translateY(-50%) translateX(-50%) rotate(45deg);
  }
  .header .g-nav ul.g-nav-ul li:last-of-type {
    display: flex;
    margin-top: 20px;
  }
  .g-nav ul li a span {
    font-size: 2.0rem;
  }
  .header .g-nav ul.g-nav-ul li:last-of-type a span {
    font-size: 1.4rem;
    text-decoration: underline;
  }
  .header .g-nav ul.g-nav-ul li:last-of-type a::before {
    display: none;
  }
  /*========= ボタンのためのCSS ===============*/
  .openbtn {
    cursor: pointer;
    width: 60px;
    height: 60px;
    position: relative;
    display: block;
  }
  .openbtn span {
    position: absolute;
    display: block;
    background: #000000;
    width: 40px;
    height: 2px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: 0.3s ease-out;
    transform-origin: center center;
  }
  .openbtn span:nth-child(1) {
    top: 34px;
  }
  .openbtn span:nth-child(2) {
    bottom: 34px;
  }
  .openbtn.active span:nth-child(1) {
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);
    top: 30px;
  }
  .openbtn.active span:nth-child(2) {
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
    bottom: 28px;
  }
  .header-contact {
    display: none;
  }
  .header .tab::after {
    background-image: url("../img/common/tab_icon.svg");
    width: 16px;
    height: 14px;
  }
  .res-gap {
    column-gap: 30px;
  }
  /*---------------------------------------------------------------------
	フッター
---------------------------------------------------------------------*/
  .footer {
    padding: 40px 0 90px;
  }
  .footer-inner {
    margin-bottom: 30px;
    align-items: center;
    text-align: center;
    grid-row-gap: 30px;
  }
  .footer-left .footer-logo {
    width: 160px;
    margin-bottom: 20px;
  }
  .footer-right {
    width: 100%;
  }
  .footer-right .footer-nav {
    lex-direction: column;
    align-items: center;
  }
  .footer-right .footer-nav > .footer-nav-ul {
    display: none;
  }
  .footer-right .footer-nav .footer-nav-ul > li > a span {
    margin-bottom: 0;
  }
  .footer-right .footer-banner {
    width: 235px;
  }
  .footer-bn-pr {
    width: 100%;
    align-items: center;
  }
  .footer .copy {
    display: block;
    text-align: center;
  }
  .footer .w-1200 .flex:last-of-type {
    flex-direction: column-reverse;
    row-gap: 20px;
  }
  .footer .privacy {
    padding-top: 0 !important;
  }
  /*---------------------------------------------------------------------
	固定
---------------------------------------------------------------------*/
  .fixed-bottom {
    height: 60px;
    padding-top: 5px;
    padding-left: 5px;
    background-color: #ffffff;
  }
  .fixed-bottom__tel, .fixed-bottom__form {
    width: 50px;
    height: 50px;
    border-radius: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .fixed-bottom__tel {
    margin-right: 5px;
  }
  .fixed-bottom__form {
    background-color: var(--orange);
    margin-right: 10px;
  }
  .fixed-bottom__form img {
    width: 25px;
  }
  .fixed-bottom a:last-child {
    height: 55px;
    width: calc(100vw - 120px);
    padding: 0 5px 0 0;
  }
  .fixed-bottom a:last-child .img-wrap {
    width: 45px;
    height: 55px;
  }
  .fixed-bottom a:last-child span {
    font-size: 1.6rem;
    width: calc(100% - 45px);
    padding: 0 5px 0 20px;
  }
  .fixed-bottom a:last-child span::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 16px;
    background-image: url("../img/common/arrow.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: -1px;
  }
}