/* ========================================
   Mobile
======================================== */
@media screen and (max-width: 767px) {
  :root {
    --site-header-height: 60px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  .sp_only {
    display: block !important;
  }

  .pc_only {
    display: none !important;
  }

  /* ----- Layout ----- */
  .width-adjust {
    padding: 0 16px;
  }

  .section__wrap {
    padding: 40px 0;
  }

  hgroup {
    margin-bottom: 30px;
  }

  .title-sub {
    font-size: 12px;
    line-height: 1.4;
  }

  .title-main {
    font-size: 24px;
    line-height: 1.4;
  }

  .title-h3 {
    font-size: 18px;
  }

  .title-h3-explain {
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
  }

  .section__explain {
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.03em;
    margin-bottom: 30px;
  }

  /*=============
        Header
   =============*/
  .site-header {
    border-bottom: 1px solid #dcdcdc;
  }

  .width-adjust-header {
    padding: 12px 4.2%;
  }

  .header__inner {
    position: relative;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .logo img {
    max-width: 240px;
  }

  @media screen and (max-width: 500px) {
    .logo img {
      max-width: 180px;
    }
  }

  .site-header .header-menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1202;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    cursor: pointer;
  }

  .site-header .header-menu-toggle__line {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    margin-left: -12px;
    border-radius: 999px;
    background: #232323;
    transform-origin: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease,
      background-color 0.2s ease;
  }

  .site-header .header-menu-toggle__line:nth-child(1) {
    transform: translateY(-7px);
  }

  .site-header .header-menu-toggle__line:nth-child(2) {
    transform: translateY(0) scaleX(1);
  }

  .site-header .header-menu-toggle__line:nth-child(3) {
    transform: translateY(7px);
  }

  .site-header
    .header-menu-toggle.is-open
    .header-menu-toggle__line:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }

  .site-header
    .header-menu-toggle.is-open
    .header-menu-toggle__line:nth-child(2) {
    opacity: 0;
    transform: translateY(0) scaleX(0);
  }

  .site-header
    .header-menu-toggle.is-open
    .header-menu-toggle__line:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
  }

  .site-header .header__nav {
    display: flex;
    position: fixed;
    top: var(--site-header-height);
    left: 0;
    right: 0;
    z-index: 1201;
    width: 100%;
    height: 0;
    padding: 0 7%;
    background: #fff;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    overflow: hidden;
    pointer-events: none;
    transition:
      height 0.38s ease,
      padding-top 0.28s ease,
      padding-bottom 0.28s ease;
  }

  .site-header .header__nav.is-open {
    height: calc(104dvh - var(--site-header-height));
    padding-top: 12px;
    padding-bottom: 16px;
    overflow-y: auto;
    pointer-events: auto;
  }

  .site-header .header__nav ul {
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .site-header .header__nav li {
    width: 100%;
    border-bottom: 1px solid #ededed;
  }

  .site-header .header__nav li:last-child {
    border-bottom: 0;
  }

  .site-header .header__nav a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .site-header .header__nav .cta__wrap-header,
  .site-header .header__nav .cta__button {
    width: 100%;
  }

  .site-header .header__nav .cta__button {
    text-align: center;
  }

  .cta__button {
    min-width: 0;
    padding: 14px 16px;
    font-size: 13px;
  }

  body.header-menu-open {
    overflow: hidden;
  }

  .cta__wrap.cta__wrap-header {
    margin-top: 20px;
  }

  /*==================
        Footer
   ================== */
  .site__footer {
    padding: 40px 0;
  }

  .footer__lower {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-top: 30px;
  }

  .footer-jpx p {
    font-size: 12px;
    line-height: 1.8;
  }

  .footer__logo-mark {
    width: 18%;
  }

  .footer__lower__small {
    line-height: 1;
    width: 83%;
  }

  .footer__middle {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 30px;
  }

  .footer__nav li a {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0;
  }

  .footer__nav li a img {
    width: 12px;
    height: 12px;
    margin-left: 4px;
  }

  .footer__upper {
    margin-bottom: 30px;
  }

  .footer__upper .logo {
    width: 240px;
  }

  .footer__cta,
  .footer__cta .fv__button {
    width: 100%;
  }

  .site__footer .footer__cta {
    width: 74%;
    min-width: 254px;
  }

  .site__footer .header__nav ul.sp_only {
    display: grid !important;
    grid-template-columns: 45.1% 45.1%;
    gap: 15px 9.8%;
  }

  /* ----- Floating Button ----- */
  .floating__btn {
    right: 12px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-width: 2px;
    font-size: 10px;
    line-height: 1.2;
  }

  .floating__btn::before {
    margin-bottom: 3px;
  }

  /*======================
  ======================
  固定ページ、記事
======================
=========================*/

  .page .breadcrumb .sp,
  .single .breadcrumb .sp {
    margin: 0 5px;
  }
}
