@charset "utf-8";
/*
 * ASOBITE shared site styles
 * Header, mobile navigation, footer, and brand design tokens.
 * Page-specific styles belong in assets/css/pages/.
 */
:root {
  --asb-blue: #2f75c8;
  --asb-blue-deep: #1d5fae;
  --asb-blue-pale: #eaf2fc;
  --asb-yellow: #f0b91a;
  --asb-ink: #232323;
  --asb-muted: #6f757b;
  --asb-line: #dfe3e8;
  --asb-surface: #f7f9fb;
}

/* 下層ページでも共通利用する最小レイアウト */
.site-content {
  position: relative;
  min-height: 50vh;
  overflow: hidden;
  color: var(--asb-ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background: #fff;
}

.site-container {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .site-container {
    width: min(100% - 34px, 560px);
  }
}

header .nav6 a {
    background: #17324d;
    border-color: #17324d;
    border-radius: 999px;
  }
  header .nav6 a:hover {
    background: #0f2539;
    border-color: #0f2539;
  }

  .desktop-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .mobile-menu { display: none; }
  .mobile-nav-en { display: none; }
  .mobile-service-links { display: none; }
  .mobile-menu > summary { list-style: none; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  @media screen and (min-width: 768px) {
    .mobile-menu > summary { display: none; }
}

  /* モバイルヘッダー：案内と相談導線を分けたメニューシート */
  @media screen and (max-width: 767px) {
    .desktop-nav { display: none; }
    .mobile-menu { display: block; }

    #out_header {
      top: 0;
      left: 0;
      width: 100%;
      height: 60px;
      max-width: none;
      background: rgba(255, 255, 255, .72);
      border: 0;
      border-radius: 0;
      box-shadow: none;
      backdrop-filter: blur(12px);
      overflow: visible;
    }

    body header { width: 100%; }
    .head_top { display: none; }
    .head_btm {
      max-width: none;
      height: 60px;
      margin: 0;
      padding: 0 16px;
      align-items: center;
      box-sizing: border-box;
    }

    header h2 {
      display: flex;
      align-items: center;
      max-width: 112px;
      margin: 0;
      padding: 0;
      line-height: 0;
      transform: none;
    }

    header h2 img {
      position: static;
      display: block;
      width: 100%;
      height: auto;
      margin: 0;
    }

    header nav { position: static; }
    .mobile_menu_toggle {
      position: absolute;
      top: 6px;
      right: 8px;
      width: 48px;
      height: 48px;
      display: block;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      cursor: pointer;
    }

    .mobile_menu_toggle:focus-visible { outline: 2px solid #f0b91a; outline-offset: 3px; }
    .menu_icon span {
      background: #1c69aa;
      transition-duration: .38s;
      transition-timing-function: cubic-bezier(.22, 1, .36, 1);
    }
    .menu_icon span:first-child { width: 26px; }
    .menu_icon span:nth-child(2) { width: 18px; }
    .menu_icon i {
      display: block;
      background: #f6bb16;
      transition-duration: .32s;
      transition-timing-function: cubic-bezier(.22, 1, .36, 1);
    }

    #toggle {
      position: fixed;
      top: 60px;
      right: 0;
      left: 0;
      bottom: auto;
      width: 100vw;
      height: calc(100vh - 60px);
      height: calc(100dvh - 60px);
      z-index: 101;
      overflow-y: auto;
      border: 0;
      border-radius: 0;
      background:
        radial-gradient(circle at 88% 9%, rgba(240, 185, 26, .17) 0 3px, transparent 3.5px),
        linear-gradient(135deg, rgba(248, 251, 255, .76) 0%, rgba(255, 255, 255, .72) 56%, rgba(247, 250, 252, .78) 100%);
      box-shadow: 0 18px 32px rgba(23, 50, 77, .13);
      -webkit-backdrop-filter: blur(16px) saturate(112%);
      backdrop-filter: blur(16px) saturate(112%);
    }

    @keyframes mobileMenuCurtainIn {
      0% {
        opacity: .45;
        clip-path: inset(0 0 100% 0);
      }
      100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
      }
    }

    @keyframes mobileMenuItemIn {
      0% {
        opacity: 0;
        transform: translateY(14px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .mobile-menu[open] #toggle {
      display: block !important;
      transform-origin: top;
      animation: mobileMenuCurtainIn .62s cubic-bezier(.22, 1, .36, 1) both;
    }

    .mobile-menu[open] #toggle > ul > li {
      opacity: 0;
      animation: mobileMenuItemIn .52s cubic-bezier(.22, 1, .36, 1) both;
    }

    .mobile-menu[open] #toggle > ul > .mobile-services { animation-delay: .10s; }
    .mobile-menu[open] #toggle > ul > .nav2 { animation-delay: .16s; }
    .mobile-menu[open] #toggle > ul > .nav3 { animation-delay: .21s; }
    .mobile-menu[open] #toggle > ul > .nav4 { animation-delay: .26s; }
    .mobile-menu[open] #toggle > ul > .nav6 { animation-delay: .31s; }

    .mobile-menu[open] .menu_icon span:first-child {
      top: 8px;
      transform: rotate(45deg);
    }
    .mobile-menu[open] .menu_icon span:nth-child(2) {
      top: 8px;
      width: 26px;
      transform: rotate(-45deg);
    }
    .mobile-menu[open] .menu_icon i { opacity: 0; transform: scale(.4); }

    header nav ul {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      position: static;
      width: min(100% - 32px, 560px);
      max-width: none;
      margin: 0 auto;
      padding: 26px 0 calc(30px + env(safe-area-inset-bottom));
    }

    header nav li a,
    nav .nav1 a,
    nav .nav2 a,
    nav .nav3 a,
    nav .nav4 a,
    nav .nav5 a,
    nav .nav6 a {
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
      width: 100%;
      min-height: 112px;
      margin: 0;
      padding: 16px;
      border: 1px solid rgba(23, 50, 77, .13);
      border-radius: 4px;
      background: rgba(255, 255, 255, .86);
      box-shadow: 0 5px 14px rgba(23, 50, 77, .05);
      color: #17324d;
      font-size: 16px;
      font-weight: 600;
      letter-spacing: .03em;
      text-align: left;
      transition: transform .22s ease, border-color .22s ease, background-color .22s ease;
    }

    header nav .nav2 a,
    header nav .nav3 a,
    header nav .nav4 a {
      min-height: 84px;
      padding: 13px 14px;
      font-size: 14px;
    }

    header nav li:not(.nav6) a::after {
      align-self: flex-end;
      color: #1c69aa;
      content: '→';
      font-family: Arial, sans-serif;
      font-size: 17px;
      font-weight: 400;
      line-height: 1;
    }

    header nav li:not(.nav6) a:hover,
    header nav li:not(.nav6) a:focus-visible {
      border-color: rgba(28, 105, 170, .45);
      background: #fff;
      color: #17324d;
      transform: translateY(-2px);
    }

    header nav .mobile-services {
      grid-column: 1 / -1;
      padding: 0;
      border: 1px solid rgba(23, 50, 77, .13);
      border-radius: 4px;
      background: #fff;
      box-shadow: 0 5px 14px rgba(23, 50, 77, .05);
    }

    header nav .mobile-services .mobile-services-overview {
      min-height: 74px;
      padding: 16px;
      border: 0;
      border-bottom: 1px solid rgba(23, 50, 77, .1);
      border-radius: 0;
      background: transparent;
      box-shadow: none;
    }

    header nav .mobile-services .mobile-services-overview::after {
      position: absolute;
      right: 16px;
      bottom: 17px;
    }

    header nav .mobile-service-links {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0;
      padding: 4px 12px 12px;
    }

    header nav .mobile-service-links a {
      display: grid;
      grid-template-columns: 8px minmax(0, 1fr) auto;
      gap: 5px;
      align-items: center;
      min-height: 46px;
      padding: 6px 8px;
      border: 0;
      border-bottom: 1px solid rgba(23, 50, 77, .08);
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      color: #17324d;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: .02em;
      line-height: 1.45;
    }

    header nav .mobile-service-links a:nth-child(odd) {
      border-right: 1px solid rgba(23, 50, 77, .08);
    }

    header nav .mobile-service-links a:last-child {
      border-bottom: 0;
    }

    header nav li.mobile-services .mobile-service-links a::after {
      align-self: center;
      justify-self: end;
      color: #1c69aa;
      content: '→';
      font-size: 11px;
      line-height: 1;
    }

    header nav .mobile-service-links a:hover,
    header nav .mobile-service-links a:focus-visible {
      background: rgba(234, 242, 252, .72);
      transform: none;
    }

    .mobile-service-accent {
      display: block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #f0b91a;
    }

    header nav .mobile-nav-en {
      display: block;
      margin-bottom: 6px;
      color: #1c69aa;
      font-family: "Helvetica Neue", Arial, sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: .13em;
      line-height: 1;
    }

    header nav .nav1 a { padding-top: 16px; }
    header nav .nav6 {
      grid-column: 1 / -1;
      padding-top: 6px;
    }
    header nav .nav6 a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 62px;
      padding: 0 56px 0 22px;
      border: 0;
      border-radius: 3px;
      background: #17324d;
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      text-align: center;
      box-shadow: 0 10px 18px rgba(23, 50, 77, .2);
    }

    header nav .nav6 a:hover,
    header nav .nav6 a:focus-visible {
      background: #1c69aa;
      border-color: #1c69aa;
      color: #fff;
    }

    header nav .nav6 a::before { right: 22px; background: rgba(255, 255, 255, .72); }
    header nav .nav6 a::after { right: 32px; }

    @media (prefers-reduced-motion: reduce) {
      .mobile-menu[open] #toggle,
      .mobile-menu[open] #toggle > ul > li {
        opacity: 1;
        clip-path: none;
        transform: none;
        animation: none;
      }
}
}

  .renewal-footer { padding: 64px 48px 30px; color: #777; background: #101010; font-size: 12px; }
  .renewal-footer .footer-inner { display: grid; grid-template-columns: 1.4fr 1.4fr 1.2fr 1fr; gap: 36px; max-width: 1080px; margin: 0 auto 24px; padding-bottom: 44px; border-bottom: 1px solid #2a2a2a; }
  .renewal-footer .footer-logo { color: #eee; font-size: 18px; font-weight: 600; letter-spacing: .12em; }
  .renewal-footer h4 { margin: 0 0 16px; color: #666; font-size: 11px; letter-spacing: .12em; }
  .renewal-footer ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
  .renewal-footer a { color: #888; text-decoration: none; }
  .renewal-footer a:hover { color: #fff; }
  .renewal-footer .footer-bottom { max-width: 1080px; margin: 0 auto; color: #555; }
  @media (max-width: 800px) {
    .renewal-footer { padding: 48px 24px 28px; }
    .renewal-footer .footer-inner { grid-template-columns: 1fr 1fr; }
}
  @media (max-width: 520px) {
    .renewal-footer .footer-inner { grid-template-columns: 1fr; }
}


  /* FOOTER */
  .renewal-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding: 0 max(40px, calc((100vw - 1080px) / 2));
    color: #899098;
    font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    background: #0b2943;
  }

  .renewal-footer::before {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 92% 6%, rgba(47, 117, 200, .18), transparent 25%),
      linear-gradient(115deg, rgba(255, 255, 255, .025), transparent 42%);
    content: "";
  }

  .renewal-footer::after {
    position: absolute;
    right: -110px;
    bottom: -210px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 50%;
    content: "";
  }

  .renewal-footer .footer-inner {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(155px, .85fr) minmax(320px, 1.55fr) minmax(140px, .7fr) minmax(145px, .7fr);
    max-width: 1180px;
    gap: clamp(28px, 3.4vw, 48px);
    margin: 0 auto;
    padding: 58px 0 42px;
    border-bottom-color: rgba(255, 255, 255, .12);
  }

  .renewal-footer .footer-brand {
    padding-top: 3px;
  }

  .renewal-footer .footer-works,
  .renewal-footer .footer-services,
  .renewal-footer .footer-utility {
    padding-left: clamp(24px, 3vw, 46px);
    border-left: 1px solid rgba(255, 255, 255, .12);
  }

  .renewal-footer .footer-logo {
    display: block;
    position: relative;
    align-self: start;
    width: fit-content;
    padding-top: 0;
    line-height: 0;
  }

  .renewal-footer .footer-logo:hover { padding-left: 0; }

  .renewal-footer .footer-logo img {
    display: block;
    width: min(100%, 140px);
    height: auto;
    filter: brightness(0) invert(1);
  }

  .renewal-footer .footer-logo::after {
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 22px;
    background: var(--asb-yellow, #f0b91a);
    content: "";
  }

  .renewal-footer .footer-works h4 {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .renewal-footer .footer-works h4::after {
    width: 26px;
    height: 2px;
    background: var(--asb-yellow, #f0b91a);
    content: "";
  }

  .renewal-footer .footer-works a {
    display: grid;
    grid-template-columns: 4px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    padding: 13px 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .08em;
  }

  .renewal-footer .footer-works a::before {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--asb-yellow, #f0b91a);
    content: "";
  }

  .renewal-footer .footer-works-label { text-align: left; }

  .renewal-footer .footer-works a > span:last-child {
    color: var(--asb-yellow, #f0b91a);
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: .7;
  }

  .renewal-footer .footer-works a:hover {
    padding-left: 5px;
    color: #fff;
  }

  .renewal-footer .footer-services ul {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(4, auto);
    column-gap: 30px;
    row-gap: 0;
  }

  .renewal-footer .footer-services h4 {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .renewal-footer .footer-services h4::after {
    width: 26px;
    height: 2px;
    background: var(--asb-yellow, #f0b91a);
    content: "";
  }

  .renewal-footer .footer-utility h4 {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .renewal-footer .footer-utility h4::after {
    width: 26px;
    height: 2px;
    background: rgba(255, 255, 255, .9);
    content: "";
  }

  .renewal-footer .footer-services li {
    padding: 9px 0;
    text-align: left;
  }

  .renewal-footer .footer-services li a { color: #fff; text-align: left; }

  .renewal-footer .footer-services li::before {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 8px 2px 0;
    border-radius: 50%;
    background: var(--asb-yellow, #f0b91a);
    content: "";
  }

  .renewal-footer .footer-legal {
    display: grid;
    gap: 7px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
  }

  .renewal-footer .footer-legal a {
    color: rgba(196, 207, 217, .55);
    font-size: 10px;
    letter-spacing: .025em;
  }

  .renewal-footer .footer-legal a:hover { color: #fff; }

  .renewal-footer .footer-utility,
  .renewal-footer .footer-utility li,
  .renewal-footer .footer-utility a { text-align: left; }

  .renewal-footer .footer-utility > ul > li::before {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 8px 2px 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    content: "";
  }

  .renewal-footer h4 {
    margin-bottom: 22px;
    color: #c4c9ce;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .18em;
  }

  .renewal-footer ul { gap: 12px; }
  .renewal-footer a {
    color: #899098;
    font-size: 12px;
    letter-spacing: .03em;
    transition: color .25s ease, padding-left .25s ease;
  }

  .renewal-footer a:hover {
    padding-left: 5px;
    color: #fff;
  }

  .renewal-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1080px;
    min-height: 68px;
    margin: 0 auto;
    color: #697078;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .1em;
  }

  .renewal-footer .footer-bottom::after {
    display: block;
    width: 66px;
    height: 1px;
    background: var(--asb-blue, #2f75c8);
    box-shadow: 18px 0 0 var(--asb-yellow, #f0b91a);
    content: "";
  }

  @media (max-width: 980px) {
    .renewal-footer .footer-inner { grid-template-columns: minmax(280px, 1.5fr) minmax(130px, .8fr) minmax(130px, .75fr); gap: 44px 40px; padding: 52px 0 38px; }
    .renewal-footer .footer-brand { grid-column: 1 / -1; padding: 0; }
    .renewal-footer .footer-services { padding-left: clamp(24px, 3vw, 46px); border-left: 1px solid rgba(255, 255, 255, .12); }
}

  @media (max-width: 640px) {
    .renewal-footer { padding: 0 24px; }
    .renewal-footer .footer-inner { grid-template-columns: 1fr; gap: 34px; padding: 46px 0 34px; }
    .renewal-footer .footer-brand { padding: 0; }
    .renewal-footer .footer-works,
    .renewal-footer .footer-services,
    .renewal-footer .footer-utility { padding-top: 0; padding-left: 0; border-left: 0; }
    .renewal-footer .footer-utility { gap: 36px; }
    .renewal-footer .footer-services ul {
      grid-auto-flow: row;
      grid-template-columns: 1fr;
      grid-template-rows: none;
    }
    .renewal-footer .footer-bottom { min-height: 68px; }
}

  @media (prefers-reduced-motion: reduce) {
    .renewal-content *,
    .renewal-footer * {
      scroll-behavior: auto !important;
      transition-duration: .01ms !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
    }
}
