    .ohtaya-footer {
      --ohtaya-footer-bg: #f5f5f7;
      --ohtaya-footer-surface: #ffffff;
      --ohtaya-footer-text: #3d3d42;
      --ohtaya-footer-heading: #1d1d1f;
      --ohtaya-footer-muted: #6e6e73;
      --ohtaya-footer-line: #d2d2d7;
      --ohtaya-footer-main: #368262;
      --ohtaya-footer-main-dark: #245d46;
      --ohtaya-footer-emergency: #8f241a;
      --ohtaya-footer-max-width: 1180px;

      width: 100%;
      margin: 0;
      background: var(--ohtaya-footer-bg);
      color: var(--ohtaya-footer-text);
      font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
      font-size: 14px;
      line-height: 1.65;
      letter-spacing: .01em;
    }

    .ohtaya-footer,
    .ohtaya-footer *,
    .ohtaya-footer *::before,
    .ohtaya-footer *::after {
      box-sizing: border-box;
    }

    .ohtaya-footer a {
      color: inherit;
    }

    .ohtaya-footer__inner {
      width: 100%;
      max-width: var(--ohtaya-footer-max-width);
      margin: 0 auto;
      padding: 42px clamp(20px, 2.5vw, 32px) 22px;
    }

    /* ブランド */
    .ohtaya-footer__brand {
      display: flex;
      align-items: center;
      gap: 24px;
      padding-bottom: 24px;
      border-bottom: 1px solid var(--ohtaya-footer-line);
    }

    .ohtaya-footer__logo {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      text-decoration: none;
    }

    .ohtaya-footer__logo img {
      display: block;
      width: 180px;
      max-width: 100%;
      height: auto;
    }

    .ohtaya-footer__brandText {
      margin: 0;
      color: var(--ohtaya-footer-muted);
      font-size: 13px;
    }

    /* PCフッターナビゲーション */
    .ohtaya-footer__nav {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: clamp(20px, 2.5vw, 42px);
      padding: 30px 0 38px;
    }

    .ohtaya-footer__group {
      min-width: 0;
      margin: 0;
      padding: 0;
      border: 0;
    }

    .ohtaya-footer__groupTitle {
      position: relative;
      display: block;
      margin: 0 0 14px;
      padding: 0;
      color: var(--ohtaya-footer-heading);
      font-size: 14px;
      font-weight: 700;
      line-height: 1.5;
      list-style: none;
      cursor: default;
      pointer-events: none;
    }

    .ohtaya-footer__groupTitle::-webkit-details-marker {
      display: none;
    }

    .ohtaya-footer__groupTitle::marker {
      content: "";
    }

    /* detailsが閉じていてもPCでは内容を常時表示 */
    .ohtaya-footer__group>.ohtaya-footer__groupBody {
      display: block !important;
    }

    .ohtaya-footer__subgroup {
      margin: 0;
      padding: 0;
    }

    .ohtaya-footer__subgroup+.ohtaya-footer__subgroup {
      margin-top: 24px;
    }

    .ohtaya-footer__subTitle {
      margin: 0 0 10px;
      color: var(--ohtaya-footer-heading);
      font-size: 13px;
      font-weight: 700;
      line-height: 1.5;
    }

    .ohtaya-footer__links,
    .ohtaya-footer__legalNav ul {
      margin: 0;
      padding: 0;
      list-style: none;
    }

    .ohtaya-footer__links li+li {
      margin-top: 8px;
    }

    .ohtaya-footer__links a {
      display: inline;
      color: var(--ohtaya-footer-text);
      font-size: 13px;
      line-height: 1.55;
      text-decoration: none;
      overflow-wrap: anywhere;
      transition: color .2s ease, text-decoration-color .2s ease;
    }

    .ohtaya-footer__links a:hover,
    .ohtaya-footer__links a:focus-visible,
    .ohtaya-footer__legalNav a:hover,
    .ohtaya-footer__legalNav a:focus-visible {
      color: var(--ohtaya-footer-main-dark);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    .ohtaya-footer__external {
      display: inline-block;
      margin-left: 2px;
      font-size: .85em;
    }

    /* 緊急連絡先 */
    .ohtaya-footer__contact {
      padding: 32px;
      background: #245d46;
      border: 1px solid #bdd8cc;
      border-radius: 18px;
    }

    .ohtaya-footer__contactHeading {
      text-align: center;
    }

    .ohtaya-footer__contactLabel {
      margin: 0 0 4px;
      color: #efe5d7;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .08em;
    }

    .ohtaya-footer__contactHeading h2 {
      margin: 0 0 8px;
      color: #fff;
      font-size: 22px;
      line-height: 1.45;
    }

    .ohtaya-footer__contactHeading>p:last-child {
      margin: 0;
      color: #fff;
      font-size: 13px;
    }

    .ohtaya-footer__telGrid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 16px;
      max-width: 820px;
      margin: 22px auto 0;
    }

    .ohtaya-footer__telCard {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-width: 0;
      min-height: 126px;
      padding: 18px;

      background: #ffffff;
      border: 1px solid #b8d6c9;
      border-radius: 14px;

      color: #245d46 !important;
      text-align: center;
      text-decoration: none;

      box-shadow: 0 4px 14px rgba(36, 93, 70, .06);

      transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
    }

    .ohtaya-footer__telCard:hover,
    .ohtaya-footer__telCard:focus-visible {
      background: #edf7f2;
      border-color: #368262;
      box-shadow: 0 8px 22px rgba(36, 93, 70, .13);
      transform: translateY(-2px);
    }

    .ohtaya-footer__telCard:focus-visible {
      outline: 3px solid rgba(54, 130, 98, .25);
      outline-offset: 3px;
    }

    .ohtaya-footer__telArea {
      color: #368262;
      font-size: 13px;
      font-weight: 700;
    }

    .ohtaya-footer__telNumber {
      margin-top: 3px;
      color: #245d46;
      font-size: clamp(22px, 2.25vw, 29px);
      font-weight: 700;
      line-height: 1.35;
      letter-spacing: .03em;
    }

    .ohtaya-footer__telNote {
      margin-top: 3px;
      color: #66766e;
      font-size: 11px;
    }

    /* 会社情報・下部ナビゲーション */
    .ohtaya-footer__company {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 28px;
      padding: 28px 0 20px;
      border-bottom: 1px solid var(--ohtaya-footer-line);
    }

    .ohtaya-footer__companyInfo {
      flex: 0 1 auto;
    }

    .ohtaya-footer__companyName {
      margin: 0 0 5px;
      color: var(--ohtaya-footer-heading);
      font-weight: 700;
    }

    .ohtaya-footer__companyInfo address {
      margin: 0;
      color: var(--ohtaya-footer-muted);
      font-size: 12px;
      font-style: normal;
      line-height: 1.7;
    }

    .ohtaya-footer__companyInfo address a {
      text-decoration: none;
    }

    .ohtaya-footer__legalNav {
      flex: 0 1 auto;
    }

    .ohtaya-footer__legalNav ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-end;
      gap: 7px 18px;
    }

    .ohtaya-footer__legalNav a {
      color: var(--ohtaya-footer-text);
      font-size: 12px;
      text-decoration: none;
    }

    .ohtaya-footer__copyright {
      margin: 18px 0 0;
      color: var(--ohtaya-footer-muted);
      font-size: 12px;
    }

    /* ========================================
   SP／タブレット：アコーディオン
========================================= */
    @media screen and (max-width: 949px) {
      .ohtaya-footer__inner {
        padding: 32px 18px calc(20px + env(safe-area-inset-bottom));
      }

      .ohtaya-footer__brand {
        display: block;
        padding-bottom: 22px;
      }

      .ohtaya-footer__logo img {
        width: 160px;
      }

      .ohtaya-footer__brandText {
        margin-top: 12px;
        font-size: 12px;
      }

      .ohtaya-footer__nav {
        display: block;
        padding: 12px 0 30px;
      }

      .ohtaya-footer__group {
        border-bottom: 1px solid var(--ohtaya-footer-line);
      }

      .ohtaya-footer__groupTitle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 52px;
        margin: 0;
        padding: 14px 2px;
        font-size: 18px;
        cursor: pointer;
        pointer-events: auto;
        font-weight: 500;
      }

      .ohtaya-footer__groupTitle::after {
        content: "+";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        margin-left: 16px;
        color: var(--ohtaya-footer-muted);
        font-size: 18px;
        font-weight: 400;
        line-height: 1;
        transition: transform .25s ease;
      }

      .ohtaya-footer__group[open]>.ohtaya-footer__groupTitle::after {
        transform: rotate(45deg);
      }

      /* SPではdetails本来の開閉状態を使用 */
      .ohtaya-footer__group>.ohtaya-footer__groupBody {
        display: block !important;
        padding: 2px 2px 20px;
        animation: ohtaya-footer-open .22s ease;
      }

      .ohtaya-footer__group:not([open])>.ohtaya-footer__groupBody {
        display: none !important;
      }

      /* 空の「えこうホール」はリンク追加まで開閉させない */
      .ohtaya-footer__group--empty>.ohtaya-footer__groupTitle {
        cursor: default;
        pointer-events: none;
      }

      .ohtaya-footer__group--empty>.ohtaya-footer__groupTitle::after {
        content: none;
      }

      .ohtaya-footer__links {
        padding-left: 10px;
      }

      .ohtaya-footer__links li+li {
        margin-top: 0;
      }

      .ohtaya-footer__links a {
        display: block;
        padding: 8px 0;
        font-size: 13px;
      }

      .ohtaya-footer__subgroup+.ohtaya-footer__subgroup {
        margin-top: 20px;
      }

      .ohtaya-footer__subTitle {
        margin-bottom: 3px;
        padding-left: 10px;
        font-size: 16px;
        font-weight: 500;
      }

      .ohtaya-footer__contact {
        padding: 26px 18px;
        border-radius: 16px;
      }

      .ohtaya-footer__contactHeading h2 {
        font-size: 20px;
      }

      .ohtaya-footer__telGrid {
        gap: 12px;
      }

      .ohtaya-footer__telCard {
        min-height: 116px;
        padding: 16px 12px;
      }

      .ohtaya-footer__telNumber {
        font-size: 25px;
      }

      .ohtaya-footer__company {
        display: block;
        padding-top: 24px;
      }

      .ohtaya-footer__legalNav {
        margin-top: 20px;
      }

      .ohtaya-footer__legalNav ul {
        justify-content: flex-start;
        gap: 8px 16px;
      }
    }

    @keyframes ohtaya-footer-open {
      from {
        opacity: 0;
        transform: translateY(-4px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (prefers-reduced-motion: reduce) {

      .ohtaya-footer *,
      .ohtaya-footer *::before,
      .ohtaya-footer *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
      }
    }

    /* ========================================
   中間PC：950px～1180px
========================================= */
    @media screen and (min-width: 950px) and (max-width: 1180px) {

      .ohtaya-footer__inner {
        padding-right: 20px;
        padding-left: 20px;
      }

      .ohtaya-footer__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 32px 28px;
      }

      .ohtaya-footer__groupTitle {
        font-size: 13px;
      }

      .ohtaya-footer__links a {
        font-size: 12px;
      }

      .ohtaya-footer__subTitle {
        font-size: 12px;
      }

      .ohtaya-footer__company {
        align-items: flex-start;
      }

      .ohtaya-footer__legalNav ul {
        max-width: 420px;
      }
    }

    /*PAD向け微調整用CSS*/
    @media screen and (max-width: 768px) {
      .ohtaya-footer__telGrid {
        grid-template-columns: 1fr;
      }
    }

    /* style-sougi.css の旧footer指定をフッター内だけ解除 */
    .ohtaya-footer {
      height: auto;
      min-height: 0;
      position: static;
    }

    .ohtaya-footer__links {
      display: block;
    }

    .ohtaya-footer__links li,
    .ohtaya-footer__legalNav li {
      display: block;
      padding: 0;
      border: 0;
      font-size: inherit;
    }

    .ohtaya-footer p {
      position: static;
      inset: auto;
      padding: 0;
      text-align: inherit;
    }

    .ohtaya-footer h2 {
      padding: 0;
    }

    .ohtaya-footer__companyInfo address {
      width: auto;
      padding: 0;
      border: 0;
      background: transparent;
      font-family: inherit;
      text-align: left;
    }