@charset "UTF-8";
/* CSS Document */
@media screen and (min-width:768px) and (max-width:1330px) {

  /*---------------------------------------------------------------------
	ヘッダー
---------------------------------------------------------------------*/
  .header {
    column-gap: 10px;
  }

  .site-ttl {
    max-height: 50px;
    width: clamp(100px, 27.34vw, 320px);
    aspect-ratio: 32 / 5;
  }

  .site-ttl a {
    column-gap: 10px;
    justify-content: flex-start;
  }

  .site-ttl a img {
    height: auto;
    width: 130px;
  }

  .header-inner #g-nav {
    margin-top: 1%;
  }

  .header-inner h1 .flexBlock {
    margin-top: -1%;
  }

  .header-inner h1 .flexBlock>span {
    font-size: 0.95rem;
  }

  .g-nav .g-nav-ul {
    column-gap: 1.67vw;
  }

  .g-nav .g-nav-ul li {
    flex-shrink: 0;
  }

  .g-nav .g-nav-ul a span {
    font-size: clamp(0.8rem, 1.3vw, 1.6rem);
  }

  .site-ttl .site-subttl {
    padding: 4px;
    font-size: clamp(0.8rem, 1.3vw, 1.6rem);
    height: -moz-fit-content;
    height: fit-content;
  }

  .header-contact-link {
    height: 80px;
    padding: 10px 5px;
  }

  .header-contact-link span {
    column-gap: 4px;
    font-size: clamp(0.8rem, 1.3vw, 1.6rem);
  }

  .header-inner {
    padding-left: 10px;
  }
}

@media screen and (max-width:900px) {
  .footer-left {
    width: 38%;
  }

  .footer-left .footer-logo {
    width: 200px;
  }

  .footer-right .footer-nav .footer-nav-ul li a span {
    font-size: 1.4rem;
  }
}

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

  /*---------------------------------------------------------------------
	ベース
---------------------------------------------------------------------*/
  body {
    font-size: 1.4rem;
  }

  body.active {
    height: 100%;
    overflow: hidden;
  }

  main {
    padding-top: 80px;
  }

  .sp-column {
    flex-direction: column;
  }

  .sp-left {
    text-align: left;
  }

  .small {
    font-size: 1.2rem;
  }

  .txt18 {
    font-size: 1.6rem;
  }

  .sec {
    padding-top: 40px;
  }

  .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: 6px;
  }

  .tab::after {
    width: 14px;
    height: 14px;
  }

  .pc-none {
    display: block !important;
  }

  .sp-none {
    display: none !important;
  }

  /*---------------------------------------------------------------------
	ヘッダー
---------------------------------------------------------------------*/
  .header {
    width: 100%;
    height: 80px;
    column-gap: 0;
    padding: 0 15px;
    position: fixed;
  }

  .header-inner {
    width: 100%;
    padding: 0;
  }

  .site-ttl {
    width: 100%;
  }

  .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: 80px;
    right: -120%;
    width: 100%;
    height: calc(100vh - 80px);
    height: calc(100dvh - 80px);
    transition: right 0.4s cubic-bezier(0.2, 0, 0.4, 1) 0s;
  }

  .header .g-nav.panelactive {
    right: 0;
  }

  .header .g-nav ul {
    flex-direction: column;
    grid-row-gap: 30px;
    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 40px;
    background-color: rgba(242, 242, 242, 0.95);
  }

  .header .g-nav ul.g-nav-ul li {
    width: 100%;
  }

  .header .g-nav ul.g-nav-ul li a {
    font-size: 1.8rem;
    width: 100%;
    display: flex;
    position: relative;
    padding: 10px 0;
  }

  .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 #000000;
    border-right: solid 2px #000000;
    -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: 40px;
  }

  .header .g-nav ul.g-nav-ul li:last-of-type a {
    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: 80px;
    height: 80px;
    position: relative;
    display: block;
  }

  .openbtn span {
    position: absolute;
    display: block;
    background: #000000;
    width: 50px;
    height: 2px;
    left: 0;
    right: 0;
    margin: 0 auto;
    transition: 0.3s ease-out;
    transform-origin: center center;
  }

  .openbtn span:nth-child(1) {
    top: 33px;
  }

  .openbtn span:nth-child(2) {
    bottom: 33px;
  }

  .openbtn.active span:nth-child(1) {
    -webkit-transform: rotate(195deg) scale(1.2, 1.2);
    transform: rotate(195deg) scale(1.2, 1.2);
    top: 39px;
  }

  .openbtn.active span:nth-child(2) {
    -webkit-transform: rotate(-195deg) scale(1.2, 1.2);
    transform: rotate(-195deg) scale(1.2, 1.2);
    bottom: 39px;
  }

  .header-contact-link {
    width: 100%;
    height: 60px;
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 9999;
  }

  .header-contact-link span {
    justify-content: center;
    font-size: 1.8rem;
  }

  .header-contact-link span::before {
    margin-top: 3px;
  }

  /*---------------------------------------------------------------------
	フッター
---------------------------------------------------------------------*/
  .footer {
    padding: 60px 0 20px;
  }

  .footer-inner {
    margin-bottom: 40px;
    align-items: center;
  }

  .footer-left {
    margin-bottom: 30px;
    width: 100%;
  }

  .footer-left .footer-logo {
    width: 190px;
    margin: 0 auto 30px;
  }

  .footer-left .txt {
    text-align: center;
  }

  .footer-nav {
    display: none;
  }

  .footer .privacy-link {
    display: none;
  }

  .footer-right .iso-img {
    width: 200px;
    position: static;
  }

  .footer small {
    display: block;
    margin: 0 auto;
  }

  /*---------------------------------------------------------------------
	お問い合わせ
---------------------------------------------------------------------*/
  .contact .contact-ttl {
    font-size: 2.8rem;
  }

  .contact .txt {
    text-align: left;
    margin-bottom: 50px;
  }

  .contact .contact-box {
    padding: 80px 0;
  }

  .contact .form-wrap {
    padding: 60px 20px;
  }

  .contact .flow {
    margin-bottom: 40px;
  }

  .contact .flow li {
    height: 46px;
    font-size: clamp(1.0rem, 3.73vw, 1.8rem);
  }

  .contact .flow li:first-of-type::after,
  .contact .flow li:nth-last-of-type(2)::after {
    width: 19px;
  }

  /* フォーム */
  textarea {
    width: calc(100% - 20px);
    padding: 14px 10px;
  }

  .form .hasInput input[type="text"],
  .form .hasInput input[type="tel"],
  .form .hasInput input[type="email"] {
    height: 40px;
    padding: 0 10px;
    width: calc(100% - 20px);
  }

  ::placeholder {
    font-size: 1.4rem;
  }

  .contact .radio-wrap {
    grid-row-gap: 10px;
    align-items: flex-start;
  }

  /* ラジオボタン */
  input[type="radio"] {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
    margin-right: 10px;
  }

  /* チェックボックス */
  .privacy_check {
    margin-bottom: 30px;
  }

  .privacy_check input[type=checkbox] {
    width: 16px;
    height: 16px;
    min-height: 16px;
    margin-right: 2px;
  }

  .privacy_check a {
    margin-right: 2px;
  }

  /* ボタン */
  .btnArrow {
    height: 50px;
  }

  .btnArrow>span {
    font-size: 1.6rem;
  }

  .form-area.s2 .step2 {
    flex-direction: column;
    grid-row-gap: 20px;
  }

  .form-area.s2 .step2.btns> :nth-child(1) {
    margin-right: 0;
  }

  .contact-success h3 {
    font-size: 2.4rem;
    margin-bottom: 30px;
  }

  .contact-success p {
    margin-bottom: 30px;
  }
}

@media screen and (max-width:360px) {
  .site-ttl .site-subttl {
    padding: 0 10px;
  }

  .header-inner h1 .flexBlock>span {
    font-size: 0.95rem;
  }
}