@charset "utf-8";
/* Header shared by the Pal Member home and single-palinfo.php pages. */
body.p-pal-member-page.is-pal-mobile-actions-fixed { padding-bottom: var(--pal-mobile-actions-height, 0px); }
.p-pal-header { position: relative; z-index: 30; margin: 0; padding: 0; background: #fff; color: #21552b; font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; line-height: 1.5; }
.p-pal-header .js-pal-header-main-sentinel { height: 1px; }
.p-pal-header .p-pal-header__alert { display: flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; min-height: 38px; padding: 7px 16px; background: #078708; color: #fff; font-size: 14px; font-weight: 500; text-align: center; }
.p-pal-header .p-pal-header__main { position: relative; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; width: min(1160px, calc(100% - 48px)); min-height: 68px; margin: 0 auto; padding: 0; gap: 24px; }
.p-pal-header .p-pal-header__logo { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; text-decoration: none; }
.p-pal-header .p-pal-header__logo img { display: block; width: min(100%, 310px); height: auto; max-height: 50px; object-fit: contain; object-position: left center; margin: 0; padding: 0; border: 0; }
.p-pal-header .p-pal-header__nav { display: flex; align-items: center; flex: 0 0 auto; margin: 0; padding: 0; background: #fff; }
.p-pal-header .p-pal-header__mobile-actions { display: flex; align-items: center; }
.p-pal-header .p-pal-header__nav-item { display: flex; align-items: center; justify-content: center; gap: 9px; box-sizing: border-box; min-height: 44px; padding: 0 21px; color: #21552b; background: #fff; border: 0; border-left: 1px solid #ddd; border-radius: 0; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: none; white-space: nowrap; cursor: pointer; }
.p-pal-header .p-pal-header__nav-item svg { display: block; flex: 0 0 23px; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.p-pal-header .p-pal-header__nav-item:hover { background: #f0f7ed; color: #078708; }
.p-pal-header .p-pal-header__logo:focus-visible, .p-pal-header .p-pal-header__nav-item:focus-visible, .p-pal-header .p-pal-header__menu-list a:focus-visible { outline: 3px solid #078708; outline-offset: 3px; }
.p-pal-header .p-pal-header__menu { position: relative; margin: 0; padding: 0; }
.p-pal-header .p-pal-header__menu summary { list-style: none; }
.p-pal-header .p-pal-header__menu summary::-webkit-details-marker { display: none; }
.p-pal-header .p-pal-header__menu summary::before, .p-pal-header .p-pal-header__menu summary::after { content: none; }
.p-pal-header .p-pal-header__menu[open] > summary { background: #f0f7ed; }
.p-pal-header .p-pal-header__menu-panel { position: absolute; right: 0; top: calc(100% + 12px); z-index: 40; box-sizing: border-box; width: min(360px, calc(100vw - 32px)); padding: 20px; background: #fff; color: #293b32; border-radius: 10px; box-shadow: 0 8px 32px #203e3229; white-space: normal; }
.p-pal-header .p-pal-header__menu-title { margin: 0 0 12px; padding: 0; font-size: 16px; font-weight: 700; text-align: center;}
.p-pal-header .p-pal-header__menu-panel .p-pal-header__menu-list { margin: 0; padding: 0; list-style: none; }
.p-pal-header .p-pal-header__menu-panel .p-pal-header__menu-list li + li { margin-top: 8px; }
.p-pal-header .p-pal-header__menu-panel .p-pal-header__menu-list a, .p-pal-header .p-pal-header__menu-panel .p-pal-header__menu-placeholder { position: relative; display: flex; align-items: center; width: 100%; min-height: 48px; padding: 10px 44px 10px 0; border: 0; border-radius: 0; background: #fff; color: #21552b; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.5; text-align: left; text-decoration: none; }
.p-pal-header .p-pal-header__menu-panel .p-pal-header__menu-list a:hover { background: #f0f7ed; color: #078708; }
.p-pal-header .p-pal-header__menu-panel .p-pal-header__menu-list a::after, .p-pal-header .p-pal-header__menu-panel .p-pal-header__menu-placeholder::after { content: ""; position: absolute; top: 50%; right: 8px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m6 3 5 5-5 5' fill='none' stroke='%2321552b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; transform: translateY(-50%); }
.p-pal-header .p-pal-header__global-nav { min-height: 44px; border-top: 1px solid #e0e8df; border-bottom: 1px solid #d6e1d5; background: #fff; }
.p-pal-header .p-pal-header__global-nav .p-pal-header__menu-list { display: flex; align-items: stretch; justify-content: center; width: min(1160px, calc(100% - 48px)); min-height: 44px; margin: 0 auto; padding: 0; list-style: none; }
.p-pal-header .p-pal-header__global-nav li { display: flex; min-width: 0; }
.p-pal-header .p-pal-header__global-nav li + li { border-left: 1px solid #e0e8df; }
.p-pal-header .p-pal-header__global-nav a, .p-pal-header .p-pal-header__global-nav .p-pal-header__menu-placeholder { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0 clamp(6px, 1.2vw, 18px); color: #21552b; font-size: clamp(10px, 1vw, 14px); font-weight: 700; line-height: 1.5; text-align: center; text-decoration: none; white-space: nowrap; }
.p-pal-header .p-pal-header__global-nav a:hover { background: #f0f7ed; color: #078708; }
.p-pal-header .p-pal-header__mobile, .p-pal-header .p-pal-header__nav-item .p-pal-header__menu-icon { display: none; }
@media (min-width: 768px) {
  .p-pal-header .p-pal-header__menu { display: none; }
  .p-pal-header.is-scrolled { margin-bottom: 112px; }
  .p-pal-header.is-scrolled .p-pal-header__main { min-height: 0; height: 0; }
  .p-pal-header.is-scrolled .p-pal-header__logo { visibility: hidden; }
  .p-pal-header.is-scrolled .p-pal-header__nav { position: fixed; top: 56px; right: 24px; z-index: 1001; box-shadow: 0 3px 12px rgba(33, 85, 43, .16); }
  .p-pal-header.is-scrolled .p-pal-header__global-nav { position: fixed; top: 0; right: 0; left: 0; z-index: 1000; box-shadow: 0 3px 12px rgba(33, 85, 43, .12); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .p-pal-header .p-pal-header__main { width: calc(100% - 32px); gap: 16px; }
  .p-pal-header .p-pal-header__logo img { max-width: 270px; }
  .p-pal-header .p-pal-header__nav-item { padding: 0 12px; gap: 6px; font-size: 13px; }
}
@media (max-width: 767px) {
  .p-pal-header .p-pal-header__alert { min-height: 28px; padding: 5px 8px; gap: 4px; font-size: 11px; }
  .p-pal-header .p-pal-header__main { display: block; width: 100%; min-height: 0; }
  .p-pal-header .p-pal-header__global-nav { display: none; }
  .p-pal-header .p-pal-header__logo { box-sizing: border-box; min-height: 60px; padding: 0 70px 0 18px; }
  .p-pal-header .p-pal-header__logo img { width: 250px; max-height: 36px; }
  .p-pal-header .p-pal-header__nav { display: block; padding: 0; }
  .p-pal-header .p-pal-header__mobile-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 8px 8px; background: #fff; }
  .p-pal-header .p-pal-header__nav-item { min-height: 48px; padding: 0 8px; font-size: 14px; gap: 8px; }
  .p-pal-header .p-pal-header__phone { order: 0; border-left: 0; background: #078708; color: #fff; border-radius: 5px; }
  .p-pal-header .p-pal-header__phone:hover { background: #056606; color: #fff; }
  .p-pal-header .p-pal-header__line { order: 1; }
  .p-pal-header .p-pal-header__documents { order: 2; }
  .p-pal-header .p-pal-header__menu { position: absolute; top: 6px; right: 10px; }
  .p-pal-header .p-pal-header__menu > summary { width: 48px; border: 0; }
  .p-pal-header .p-pal-header__menu-panel { top: 52px; right: 0; }
  .p-pal-header .p-pal-header__desktop { display: none; }
  .p-pal-header .p-pal-header__mobile, .p-pal-header .p-pal-header__nav-item .p-pal-header__menu-icon { display: block; }
  .p-pal-header.is-scrolled .p-pal-header__menu > summary { position: fixed; top: 6px; right: 10px; z-index: 1001; background: #fff; box-shadow: 0 2px 8px rgba(33, 85, 43, .16); }
  .p-pal-header.is-scrolled .p-pal-header__menu-panel { position: fixed; top: 62px; right: 8px; z-index: 1000; }
  .p-pal-header .js-pal-mobile-actions-sentinel { height: 1px; }
  .p-pal-header .p-pal-header__mobile-actions.is-fixed {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -3px 12px rgba(33, 85, 43, .16);
    animation: pal-mobile-actions-in .2s ease-out;
  }
}

@media (max-width: 767px) {
  @keyframes pal-mobile-actions-in { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  .p-pal-header .p-pal-header__mobile-actions.is-fixed { animation: none; }
}

/* Desktop and mobile links have distinct destinations; hidden links are not focusable. */
.p-pal-header .p-pal-header__phone--sp { display: none; }
@media (max-width: 767px) {
  .p-pal-header .p-pal-header__phone--pc { display: none; }
  .p-pal-header .p-pal-header__phone--sp { display: flex; }
}
