ul {
  list-style: none;
}

.sp {
  display: none;
}

@media (max-width: 768px) {
  .sp {
    display: block;
  }
}

.footermenu {
  font-size: 16px;
  background: #820010;
  padding: 15px;
  text-align: center;
  width: 100%;
}

.footerWrapper {
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .footermenu {
    font-size: 11.2px;
    padding: 15px 0px 125px;
  }

  .footerWrapper {
    width: 90%;
    margin: 0 auto;
  }
}

.footermenu img {
  max-width: 130px;
  margin-bottom: 15px;
}

.footermenu ul {
  display: flex;
  max-width: 805px;
  padding: 10px 0px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .footermenu ul {
    max-width: 287px;
    flex-wrap: wrap;
  }
}

.footermenu li {
  padding: 0 1rem;
  border-right: 1px solid #fff;
  text-align: center;
}

.footermenu li:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .footermenu li {
    padding: 0 10px;
    margin-top: 8px;
  }

  .footermenu li:nth-of-type(3) {
    border-right: none;
  }
}

.footermenu a {
  color: #fff;
}

.footermenu a:hover {
  opacity: 0.8;
}

.footermenu p {
  color: #fff;
}

.footercopy {
  font-size: 13px;
  color: #d7d7d7;
}

@media (max-width: 768px) {
  .footercopy {
    font-size: 10px;
  }
}

footer {
  width: 100%;
  line-height: 1.2;
}

footer a {
  display: block;
  text-decoration: none;
}

/* =========================================================================
       目次
       1. ユーティリティ・共通スタイル
       2. 基本スタイル（全デバイス共通）
       3. タブレット用スタイル（1024px以下）
       4. PC用スタイル（768px以上）
       5. スマートフォン用スタイル（767px以下）
       ========================================================================= */

/* =========================================
       1. ユーティリティ・共通スタイル
       ========================================= */
/* #footer-first-back パディングリセット */
#footer-first-back.common-style-area {
  padding-inline: 0;
}

/* ハイライト */
#app_contents_detail .highlight {
  background: linear-gradient(transparent 20%, #f6ff5f 20%);
  font-weight: bold;
}

#app_contents_detail .highlight {
  background: linear-gradient(transparent 50%, rgb(248 231 27) 40%);
  display: inline;
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 2s;
}

#app_contents_detail .highlight.on {
  background-size: 100% 100%;
}

/* =========================================
       2. 基本スタイル（全デバイス共通）
       ========================================= */
/* --- フッター上部 --- */
#footer .footer__head2026 {
  background-color: #e9e9e9;
}

#footer .footer__logo2026--text {
  font-size: 14px;
}

/* --- ナビゲーション --- */
#footer .nav .gnav__item>a {
  border: none;
  height: 100%;
}

#footer .nav .gnav__item {
  width: 160px;
}

#footer .nav .gnav__item--img img {
  width: 64px;
}

#footer .nav .gnav__item--text {
  margin-top: 5px;
  font-size: 0.7em;
  line-height: 1.25;
}

/* --- アコーディオンメニュー --- */
#footer .footer-accordion_menu li {
  list-style: none;
}

#footer .footer-accordion_menu ul:nth-of-type(1) li.active li:last-child {
  border-bottom: 1px solid #67a863;
}

#footer .footer-include-accordion a {
  color: black !important;
}

#footer .footer-include-accordion a:hover {
  color: #E60012 !important;
}

#footer .active .footer-accordionBtn {
  background-color: white !important;
  color: #E60012 !important;
  transition: .3s;
}

#footer .active .footer-accordionBtn::before,
#footer .active .footer-accordionBtn::after {
  background-color: #E60012 !important;
  transition: .3s;
}

#footer .footer-accordion_menu .active button::before {
  transform: translateY(-50%) rotate(-135deg);
  transition: .3s;
}

#footer .footer-accordion_menu .active button::after {
  transform: translateY(-50%) rotate(135deg);
  transition: .3s;
}

#footer a :hover {
  cursor: pointer;
}

/* --- 会社概要（トンマナ・デザイン指示書準拠） --- */
.footer__company {
  background-color: #e9e9e9;
  text-align: center;
  font-family: "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans", sans-serif;
  padding-top: 20px;
}

.footer__company--inner {
  background-color: #ffffff;
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 4%;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.company-info-box {
  text-align: left;
  color: #333333;
}

.company-info-title {
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: #e60012;
}

.company-details {
  max-width: 1230px;
  margin: 0 auto;
  font-size: clamp(15px, 1.5vw, 22px);
}

.company-details dl {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #cbcbcb;
  margin: 0;
  min-height: 60px;
  box-sizing: border-box;
}

.company-details dl:first-of-type {
  border-top: 1px solid #cbcbcb;
}

.company-details dt {
  width: 250px;
  flex-shrink: 0;
  font-weight: 700;
  padding: 15px 20px;
  display: flex;
  align-items: center;
}

.company-details dd {
  width: calc(100% - 250px);
  margin: 0;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.company-details dd a {
  color: #00bcd4 !important;
  text-decoration: underline;
}

/* --- フッター下部（リンク・コピーライト） --- */
#footer .footer__foot2026--inner {
  background-color: #E60012;
}

#footer .footer__foot2026--inner a {
  color: white;
}

#footer .footer__foot2026--copyrigh {
  font-size: 12px;
}

/* =========================================
       3. タブレット用スタイル（1024px以下）
       ========================================= */
@media (max-width: 1024px) {
  #footer .item_list {
    padding: 1rem 0;
  }

  #footer li.item {
    width: 33%;
  }

  #footer .corporate__link2026 {
    padding: 12px;
  }

  #footer .footer-accordion_menu {
    gap: 6px;
  }

  #footer .footer-accordion_menu button {
    padding: 16px 8px;
  }

  #footer .footer-accordion_menu button::before,
  #footer .footer-accordion_menu button::after {
    height: 8px;
  }

  #footer .footer-accordion_menu button::before {
    right: 13px;
  }

  #footer .footer-accordion_menu button::after {
    right: 8px;
  }

  #footer .footer-accordion_menu .footer-include-accordion ul {
    width: calc(500% + 24px);
  }

  #footer ul.item_list_sheet1 {
    margin-left: calc(-100% - 6px) !important;
  }

  #footer ul.item_list_sheet2 {
    margin-left: calc(-200% - 12px) !important;
  }

  #footer ul.item_list_sheet3 {
    margin-left: calc(-300% - 18px) !important;
  }

  #footer ul.item_list_sheet4 {
    margin-left: calc(-400% - 24px) !important;
  }

  #footer .footer-accordion_menu ul {
    width: 19%;
  }
}

/* =========================================
       4. PC用スタイル（768px以上）
       ========================================= */
@media (min-width: 768px) {
  #footer .footer__head2026--inner {
    max-width: 1200px;
    padding: 48px 0px;
    margin: 0 auto;
  }

  #footer .footer__logo2026--wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
  }

  #footer .nav .gnav__wrap {
    margin: 0;
    padding: 0 5%;
  }

  #footer svg {
    width: 400px;
  }

  #footer .footer-accordion_menu {
    display: flex;
    position: relative;
    justify-content: center;
    gap: 24px;
    margin-top: 3rem;
  }

  #footer .footer-accordion_menu ul {
    padding: 0;
    color: #fff;
    width: 15.5cqw;
    border-radius: 12px;
  }

  #footer .item_list {
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
  }

  #footer li.item {
    width: 25%;
    padding: 0.25cqw 1.0cqw;
    position: relative;
    font-size: 0.9cqw;
    letter-spacing: 0;
    display: flex;
    align-items: center;
  }

  #footer .footer-accordion_menu button {
    position: relative;
    border: none;
    width: 100%;
    background-color: inherit;
    color: #fff;
    cursor: pointer;
    text-align: left;
    padding: 16px 0 16px 12px;
    font-size: 1cqw;
    border-radius: 12px;
    background-color: #E60012;
    transition: .3s;
  }

  #footer .footer-accordion_menu .footer-include-accordion ul {
    height: 0;
    padding: 0px 32px;
    overflow: hidden;
    transition: .3s;
    background-color: #ffffff;
    margin: 16px 0;
    width: calc(500% + 96px);
    position: relative;
    left: 0;
    border-radius: 12px;
  }

  #footer .footer-accordion_menu button::before {
    transform: translateY(-50%) rotate(-45deg);
    right: 17px;
  }

  #footer .footer-accordion_menu button::after {
    transform: translateY(-50%) rotate(45deg);
    right: 11px;
  }

  #footer .footer-accordion_menu button::before,
  #footer .footer-accordion_menu button::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 1.5px;
    height: 10px;
    background-color: #fff;
    transition: .3s;
  }

  #footer ul.item_list_sheet1 {
    margin-left: calc(-100% - 24px) !important;
  }

  #footer ul.item_list_sheet2 {
    margin-left: calc(-200% - 48px) !important;
  }

  #footer ul.item_list_sheet3 {
    margin-left: calc(-300% - 72px) !important;
  }

  #footer ul.item_list_sheet4 {
    margin-left: calc(-400% - 96px) !important;
  }

  /* フッター下部全体を赤背景に統一 */
  #footer .footer__foot2026,
  #footer .footer__foot2026--inner,
  #footer .footer__foot2026--inner_under {
    background-color: #E60012 !important;
  }

  /* 画像に存在しない項目を非表示 */
  /* #footer .corporate__links2026.is-pc .corporate__info2026,
        #footer .corporate__links2026.is-pc .corporate__name2026,
        #footer .corporate__links2026.is-pc li:first-of-type {
            display: none !important;
        } */

  /* リンクエリアのコンテナ調整 */
  #footer .corporate__link2026 {
    padding: 40px 0 !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    color: white;
  }

  #footer .corporate__links2026.is-pc {
    display: flex;
    align-items: center !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    padding: 0 30px !important;
    width: 100% !important;
    gap: 60px !important;
  }

  #footer .corporate__links2026.is-pc .corporate__info2026 {
    color: #ffffff !important;
    font-size: 20px !important;
    white-space: nowrap !important;
    margin: 0 !important;
  }

  /* インラインスタイル上書き・左揃え */
  #footer .corporate__links2026.is-pc>div {
    width: auto !important;
    flex: 1 !important;
    justify-content: flex-start !important;
    gap: 15px 60px !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }

  /* リンクのリスト要素 */
  #footer .corporate__links2026.is-pc li {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* リンクテキストのスタイル */
  #footer .corporate__links2026.is-pc a {
    color: #ffffff !important;
    font-size: 20px !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
  }

  #footer .corporate__links2026.is-pc .right_arrow::after,
  #footer .corporate__links2026.is-pc .upper_right::after {
    content: none !important;
    display: none !important;
    background-image: none !important;
  }

  #footer .corporate__links2026.is-pc .slash::after {
    content: "／" !important;
    position: absolute !important;
    right: -30px !important;
    transform: translateX(50%) !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: normal !important;
    display: block !important;
  }

  #footer .footer__foot2026--inner_under {
    display: flex !important;
    justify-content: center !important;
    gap: 10% !important;
    align-items: flex-start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 40px 20px clamp(140px, 12vw, 240px) !important;
    height: auto !important;
    max-height: none !important;
    box-sizing: border-box;
    background-color: #fff !important;
  }

  #footer .footer__foot2026--inner_under p {
    color: #000 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
  }

  #footer .footer__foot2026--inner_under p:first-child {
    text-align: left !important;
  }

  #footer .footer__foot2026--inner_under p.footer__foot2026--copyrigh {
    text-align: left !important;
  }

  #footer .related_business {
    margin-right: 3em;
  }

  #footer .footer__foot2026--right {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
  }

  #footer .privacy-mark {
    width: 55px !important;
    height: auto !important;
  }
}

/* =========================================
       5. スマートフォン用スタイル（767px以下）
       ========================================= */
@media (max-width: 767px) {

  /* --- フッター上部 --- */
  #footer .footer__head2026--inner {
    padding: 24px 0 0;
    margin: 0 auto;
  }

  #footer .footer__logo2026--wrap {
    text-align: center;
  }

  #footer .footer__logo2026--wrap img {
    width: 70%;
  }

  #footer .footer__logo2026--text {
    margin-top: 24px;
  }

  #footer .nav {
    display: none;
  }

  #footer svg {
    width: 240px;
  }

  /* --- アコーディオンメニュー --- */
  #footer .footer-accordion_menu {
    padding: 2.5cqw;
  }

  #footer .footer-accordion_menu ul {
    padding: 8px 0;
    color: #fff;
    width: 100%;
    border-radius: 12px;
  }

  #footer .footer-accordion_menu button {
    position: relative;
    border: none;
    width: 100%;
    background-color: inherit;
    color: #fff;
    cursor: pointer;
    text-align: left;
    padding: 20px;
    font-size: 1.2em;
    border-radius: 12px;
    background-color: #E60012;
    transition: .3s;
  }

  #footer .footer-accordion_menu .footer-include-accordion ul {
    margin-left: 0 !important;
    height: 0;
    padding: 0;
    overflow: hidden;
    transition: .3s;
    background-color: #ffffff;
    width: 100%;
    position: relative;
    left: 0;
    border-radius: 0 0 12px 12px;
  }

  #footer .footer-accordion_menu button::before,
  #footer .footer-accordion_menu button::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 2.5px;
    height: 20px;
    background-color: #fff;
    transition: .3s;
  }

  #footer .footer-accordion_menu button::before {
    transform: translateY(-50%) rotate(-45deg);
    right: 40px;
  }

  #footer .footer-accordion_menu button::after {
    transform: translateY(-50%) rotate(45deg);
    right: 27px;
  }

  #footer .active .footer-accordionBtn {
    border-radius: 12px 12px 0 0;
  }

  #footer .item_list {
    padding: 1rem 0 1rem 2rem;
  }

  #footer li.item {
    width: 100%;
    padding: 10px 12px;
    position: relative;
    font-size: 15px;
    letter-spacing: -1px;
    line-height: 1;
  }

  /* --- 会社概要（SP版調整） --- */
  .footer__company {
    background-color: #e5e5e5;
  }

  .footer__company--inner {
    width: 100%;
    max-width: 750px;
    padding: 40px 0 60px !important;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
  }

  .company-info-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .company-details {
    width: 100%;
    font-size: 14px;
    padding: 0 10px;
  }

  .company-details dl {
    min-height: 60px;
  }

  .company-details dt {
    width: 32%;
    background-color: #e5e5e5;
    padding: 15px 10px;
  }

  .company-details dd {
    width: 68%;
    padding: 15px 10px;
  }

  /* --- フッター下部（SP版デザイン指示準拠） --- */
  #footer .footer__foot2026,
  #footer .footer__foot2026--inner,
  #footer .footer__foot2026--inner_under {
    background-color: #E60012 !important;
  }

  /* #footer .corporate__link2026>div.is-sp:nth-of-type(2),
        #footer .corporate__link2026>div.is-sp:nth-of-type(3) li:first-child {
            display: none !important;
        } */

  #footer .corporate__link2026 {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7.5px !important;
    align-items: flex-start !important;
    color: white;
    margin: auto;
  }

  #footer .corporate__link2026 div:nth-child(2) {
    align-items: flex-start;
    flex-direction: column;
  }

  /* 各リンク行の横並び・左寄せ */
  #footer .corporate__links2026.is-sp {
    display: flex !important;
    justify-content: flex-start !important;
    gap: clamp(6px, 1.5vw, 12px) !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  #footer .corporate__links2026.is-sp li {
    list-style: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* リンクテキストのスタイル */
  #footer .corporate__links2026.is-sp a {
    color: #ffffff !important;
    font-size: clamp(12px, 3.4vw, 20px) !important;
    text-decoration: none !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
  }

  #footer .corporate__links2026.is-sp li.slash::after {
    content: none !important;
    display: none !important;
  }

  /* 「＞」マーク */
  #footer .corporate__links2026.is-sp li.right_arrow::after {
    content: "＞" !important;
    display: inline-block !important;
    position: static !important;
    margin-left: clamp(2px, 1vw, 4px) !important;
    font-size: clamp(12px, 3.4vw, 20px) !important;
    color: #ffffff !important;
  }

  /* 別窓アイコン */
  #footer .corporate__links2026.is-sp li.upper_right::after {
    content: "" !important;
    display: inline-block !important;
    position: static !important;
    margin-left: clamp(2px, 1vw, 4px) !important;
    width: clamp(12px, 3.4vw, 22px) !important;
    height: clamp(12px, 3.4vw, 22px) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
  }

  #footer .footer__foot2026--inner_under {
    height: auto !important;
    margin: 0 !important;
    padding: clamp(16px, 5vw, 24px) 0 clamp(160px, 35vw, 280px) !important;
    background-color: #ffffff !important;
    display: block !important;
    text-align: center !important;
  }

  #footer .footer__foot2026--inner_under p {
    color: #000 !important;
    font-size: clamp(10px, 3vw, 20px) !important;
    font-weight: normal;
    line-height: 1.8 !important;
    letter-spacing: 0.25px !important;
  }

  #footer .footer__foot2026--inner_under p.footer__foot2026--copyrigh {
    margin-top: 0 !important;
  }

  /* --- フッター下部（SP版の背景色と余白） --- */
  #footer .footer__foot2026--inner_under {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    height: auto !important;
    margin: 0 !important;
    padding: clamp(16px, 5vw, 24px) 15px clamp(160px, 35vw, 280px) !important;
    border-top: 1px solid #ffffff !important;
    background-color: #ffffff !important;
  }

  /* --- プライバシーマークとテキストの並び順調整 --- */
  #footer .footer__foot2026--right {
    display: contents !important;
  }

  /* 1番目：プライバシーマーク */
  #footer .privacy-mark {
    order: 1 !important;
    width: 120px !important;
    height: auto !important;
  }

  /* 2番目：神奈川県公安委員会のテキスト */
  #footer .footer__foot--permit {
    order: 2 !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    font-size: clamp(12px, 4vw, 16px) !important;
    font-weight: 700 !important;
  }

  /* 3番目：コピーライトなどのテキスト */
  #footer .footer__foot2026--copyrigh {
    order: 3 !important;
    margin-top: 0 !important;
    text-align: center !important;
  }
}