/* START_SECTION:footer-utilities */
.utilities {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
  text-wrap: nowrap;
  border-top: var(--border-width) solid var(--divider-color, var(--color-border));
  color: var(--color-foreground-muted);
}

@media screen and (min-width: 750px) {
  .utilities {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    justify-content: center;
    gap: var(--gap);
    align-items: center;
    text-align: left;
  }
}

.utilities a,
.utilities button {
  color: var(--color-utilities, var(--color-foreground-muted));
}

.utilities > * {
  text-align: center;
}

@media screen and (min-width: 750px) {
  .utilities > * {
    text-align: left;
    justify-self: start;
  }

  .utilities--blocks-1 {
    grid-template-columns: 1fr;
    justify-content: start;
  }

  .utilities--blocks-1 > * {
    justify-self: start;
    text-align: left;
  }

  .utilities--blocks-2 {
    grid-template-columns: 1fr 1fr;
  }

  .utilities--blocks-2 > *:nth-child(2) {
    justify-self: end;
    text-align: right;
  }

  .utilities--blocks-3 {
    grid-template-columns: 1fr auto 1fr;
  }

  .utilities--blocks-3 > *:nth-child(2) {
    justify-self: center;
    text-align: center;
  }

  .utilities--blocks-3 > *:nth-child(3) {
    justify-self: end;
    text-align: right;
  }
}
/* END_SECTION:footer-utilities */

/* START_SECTION:footer */
.footer-content {
  contain: content;
  content-visibility: visible;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--footer-gap);
  align-items: start;
}

.footer-content .menu__heading__default {
  font-weight: var(--font-heading--weight);
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .footer-content {
    grid-template-columns: repeat(min(var(--grid-columns), 3), 1fr);
    grid-auto-flow: row;
  }

  .footer-content[style*='--grid-columns: 4'] {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content--isolated-grid-item-tablet > :last-child {
    grid-column: 1 / -1;
  }
}

@media screen and (min-width: 990px) {
  .footer-content {
    grid-template-columns: repeat(var(--grid-columns), 1fr);
  }

  .footer-content[style*='--grid-columns: 1'] {
    justify-items: center;
  }

  .footer-content--isolated-grid-item-desktop > :last-child {
    grid-column: 1 / -1;
  }
}
/* END_SECTION:footer */

/* START_SECTION:header */
body {
  --header-height: 60px;
  --header-group-height: var(--header-height);
  --transparent-header-offset-boolean: 0;
}

.header {
  --header-padding: var(--padding-sm);
  --font-paragraph--line-height: 1;
  --header-content-transition-timing: 0s;
  display: block;
  background: transparent;
}

.header a,
.header .button,
.header .button-secondary,
.header .header-actions__action {
  transition: color var(--header-content-transition-timing), border-color var(--header-content-transition-timing);
}

#header-component :is(.header-menu, .dropdown-localization) {
  display: none;
}

@media screen and (min-width: 750px) {
  #header-component[data-menu-style='menu'] :is(.header-menu, .dropdown-localization) {
    display: flex;
  }
}

#header-component[data-menu-style='drawer'] .header__column {
  display: contents;
}

@media screen and (min-width: 750px) {
  #header-component[data-menu-style='menu'] .header__navigation-bar-row {
    display: none;
  }
}

.header-section {
  position: relative;
  z-index: var(--layer-menu-drawer);
}

#header-component {
  --submenu-height: 0px;
  --full-open-header-height: 0px;
}

.header__row {
  --color-account-icon: var(--color-foreground);
  position: relative;
  background-color: transparent !important;
}

.header__column {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 749px) {
  .header__column {
    display: contents;
  }
}

.header__column--left,
.header__column--center {
  gap: var(--gap-xl);
  grid-area: left;
}

.header__column--center {
  justify-content: center;
  grid-area: center;
}

.header__column--center header-menu:only-child .overflow-menu::part(list) {
  justify-content: center;
}

.header__column--right {
  gap: var(--gap-xl);
  justify-content: flex-end;
  grid-area: right;
}

.header__column--right .overflow-menu::part(list) {
  justify-content: flex-end;
}

.header__columns {
  --header-left: 1fr;
  --header-center: auto;
  --header-right: 1fr;
  --header-template-columns: var(--header-left) var(--header-center) var(--header-right);
  --header-mobile-bookend: 44px;
  display: grid;
  grid-template-areas: 'left center right';
  grid-gap: var(--gap-xl);
  grid-template-columns: var(--header-template-columns);
}

.header__columns:has(.header__column--center header-menu) {
  --header-center: auto;
  --header-left: minmax(max-content, 1fr);
  --header-right: minmax(max-content, 1fr);
}

@media screen and (min-width: 750px) {
  .header__columns:where(:not(:has(.header__column--center))) {
    --header-template-columns: var(--header-left) var(--header-right);
    grid-template-areas: 'left right';
  }

  .header__columns:where(:not(:has(.header__column--center))):has(.header__column--right header-menu) {
    --header-right: auto;
    --header-left: minmax(max-content, 1fr);
  }

  .header__columns:where(:not(:has(.header__column--center))):has(.header__column--left header-menu) {
    --header-left: auto;
    --header-right: minmax(max-content, 1fr);
  }

  #header-component[data-menu-style='menu'] .header__drawer {
    display: none;
    min-height: 0;
  }
}

.header-actions__action {
  --button-color: var(--color-foreground);
  color: var(--button-color);
  cursor: pointer;
  display: flex;
  justify-content: center;
}

header-actions {
  display: flex;
}

@media screen and (max-width: 749px) {
  header-actions {
    justify-self: flex-end;
  }
}
/* END_SECTION:header */

/* START_BLOCK:_header-logo */
.header-logo {
  display: flex;
  height: 100%;
  font-size: var(--font-size--md);
  font-family: var(--font-family);
  font-weight: var(--font-weight);
  font-style: var(--font-style);
  color: var(--color-foreground);
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

@media screen and (max-width: 749px) {
  .header-logo {
    padding: 0;
  }
}

@media screen and (min-width: 750px) {
  .header-logo {
    flex-shrink: 0;
  }
}

.header-logo:hover {
  text-decoration: none;
}

.header-logo__image {
  object-fit: contain;
  height: var(--header-logo-image-height-mobile);
  width: var(--header-logo-image-width-mobile);
}

@media screen and (min-width: 750px) {
  .header-logo__image {
    height: var(--header-logo-image-height);
    width: var(--header-logo-image-width);
  }
}
/* END_BLOCK:_header-logo */

/* START_BLOCK:_header-menu */
.header__drawer {
  --header-drawer-min-height: 60px;
  display: flex;
  min-height: var(--header-drawer-min-height);
  align-items: center;
}

.menu-list {
  --menu-horizontal-gap: var(--gap-xl);
  --menu-vertical-gap: var(--gap-xl);
  display: flex;
  height: 100%;
}

.menu-list__list {
  display: flex;
  justify-content: var(--grid-area-alignment);
}

.menu-list__list-item {
  flex-shrink: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  height: 100%;
  list-style: none;
}

.menu-list__link {
  font-family: var(--menu-top-level-font-family);
  font-style: var(--menu-top-level-font-style);
  font-weight: var(--menu-top-level-font-weight);
  font-size: var(--menu-top-level-font-size);
  line-height: var(--menu-top-level-font-line-height);
  text-transform: var(--menu-top-level-font-case);
  color: var(--menu-top-level-font-color);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  margin-block: 0;
}

@media screen and (min-width: 750px) {
  .menu-list__link {
    font-size: var(--menu-top-level-font-size-desktop);
  }
}

.menu-list__link-title {
  padding-inline: calc(var(--gap-xl) / 2);
}

.header-menu {
  height: 100%;
}

.overflow-menu::part(list) {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.overflow-menu::part(more),
.overflow-menu::part(overflow),
.overflow-menu::part(placeholder) {
  display: none;
}
/* END_BLOCK:_header-menu */

/* START_BLOCK:footer-copyright */
.footer-utilities__group-copyright {
  color: var(--color-utilities, var(--color-foreground-muted));
}
/* END_BLOCK:footer-copyright */

/* START_BLOCK:footer-policy-list */
.policy-list-trigger {
  cursor: pointer;
  font-size: var(--font-size, 0.75rem);
  text-transform: var(--text-transform, none);
  background: none;
  border: none;
  padding: 0;
}

.policy_list li {
  border-radius: calc(var(--style-border-radius-popover) - 8px);
}

.policy_list li a {
  color: var(--color-foreground);
  display: inline-block;
  padding: 8px;
  text-align: start;
  width: 100%;
  font-size: var(--font-size, 0.75rem);
  text-transform: var(--text-transform, none);
  text-decoration: none;
}

.policy_list li:is(:hover, :focus-within) {
  background: rgb(var(--color-foreground-rgb) / 0.15);
}

.footer-terms-popover {
  position: relative;
  display: inline-block;
}

.footer-terms-popover__panel {
  position: absolute !important;
  inset: auto auto calc(100% + 8px) 0 !important;
  position-anchor: none !important;
  bottom: calc(100% + 8px) !important;
  left: 0 !important;
  top: auto !important;
  right: auto !important;
  z-index: 20;
  min-width: max-content;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  scale: 1 !important;
  translate: none !important;
  transform: none !important;
  transform-origin: center bottom !important;
  border-radius: var(--style-border-radius-popover, 8px);
  background: linear-gradient(var(--color-background, #202219) 0 100%),
    linear-gradient(rgb(var(--color-background-rgb, 32 34 25) / 0.15) 0 100%);
  background-clip: padding-box, border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-popover, 0 8px 24px rgb(0 0 0 / 0.2));
  padding: 8px;
  margin: 0;
  transition: opacity 0.15s ease, visibility 0.15s ease;
}

.footer-terms-popover.is-open .footer-terms-popover__panel,
.footer-terms-popover:focus-within .footer-terms-popover__panel {
  opacity: 1 !important;
  visibility: visible;
  pointer-events: auto;
}

@media screen and (max-width: 749px) {
  .footer-terms-popover__panel {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .footer-terms-popover.is-open .footer-terms-popover__panel,
  .footer-terms-popover:focus-within .footer-terms-popover__panel {
    transform: translateX(-50%) !important;
  }
}
/* END_BLOCK:footer-policy-list */

/* START_BLOCK:logo */
.logo-block {
  width: calc(var(--logo-width) + var(--padding-inline-start) + var(--padding-inline-end));
  max-width: 100%;
  max-height: calc(var(--logo-height, 100%) + var(--padding-block-start) + var(--padding-block-end));
  font-size: var(--logo-height);
  display: flex;
}

@media screen and (max-width: 749px) {
  .logo-block {
    max-height: calc(var(--logo-height-mobile, var(--logo-height, 100%)) + var(--padding-block-start) + var(--padding-block-end));
    font-size: var(--logo-height-mobile, var(--logo-height));
    width: calc(var(--logo-width-mobile, var(--logo-width)) + var(--padding-inline-start) + var(--padding-inline-end));
  }
}

.logo-block__image-wrapper {
  display: flex;
  width: 100%;
  max-width: 100%;
  max-height: 100%;
}

.logo-block__image {
  object-fit: contain;
  width: 100%;
}
/* END_BLOCK:logo */

/* START_BLOCK:menu */
.menu {
  width: 100%;
}

.menu:not(:has(.menu__heading--empty)) .details-content {
  margin-block-start: var(--spacing--size);
}

.menu__item + .menu__item {
  margin-block-start: var(--spacing--size);
}

.menu .menu__heading--empty {
  display: none;
}

.menu__heading__default {
  display: contents;
}

.menu__heading__accordion {
  display: none;
}

.menu__item a {
  color: inherit;
  text-decoration: none;
}

.menu__item a:hover {
  opacity: 0.85;
}

@media screen and (max-width: 749px) {
  .menu--accordion .menu__heading--empty {
    display: flex;
  }

  .menu--accordion .menu__heading__accordion {
    display: contents;
  }

  .menu--accordion .menu__heading__default {
    display: none;
  }
}
/* END_BLOCK:menu */

/* ===== 静的表示用フォールバック ===== */

#header-component .header__row--top,
.color-custom-top-sections--20214570549366__header_section {
  background-color: #1e1e1e !important;
  color: #ffffff;
}

/* Fixed header */
#header-group {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  overflow: visible;
  display: block !important;
}

#header-group .header-section {
  position: relative;
}

#header-component {
  width: 100%;
}

main#MainContent {
  padding-top: var(--header-height, 60px);
}

@media screen and (min-width: 750px) {
  #header-component .header-menu {
    display: flex !important;
  }

  #header-component .header__drawer {
    display: none !important;
  }

  #header-component .header__column {
    display: flex !important;
  }
}

#header-component .menu-list__link,
#header-component .menu-list__link-title {
  color: #ffffff !important;
}

footer .color-custom-sections--20214570582134__footer,
footer .section-background.color-custom-sections--20214570582134__footer {
  background-color: #1e1e1e;
  color: #ffffff;
}

/* Footer main row — same layout as header */
#footer-component.footer__row {
  background-color: #1e1e1e !important;
  color: #ffffff;
}

#footer-component .header__columns {
  --header-left: minmax(max-content, 1fr);
  --header-center: auto;
  --header-right: minmax(max-content, 1fr);
  --header-template-columns: var(--header-left) var(--header-center) var(--header-right);
}

#footer-component .header__column {
  display: flex !important;
}

#footer-component .header-menu {
  display: flex !important;
}

#footer-component .menu-list__link,
#footer-component .menu-list__link-title {
  color: #ffffff !important;
}

#header-group .header__row.color-custom-top-sections--20214570549366__header_section,
#header-group .menu-list__link,
#header-group .menu-list__link-title {
  color: #ffffff !important;
}

@media screen and (min-width: 750px) {
  #header-group .header-menu {
    display: flex !important;
  }

  #header-group .header__column {
    display: flex !important;
  }

  #header-group .header__column--center {
    min-width: max-content;
  }

  #header-group .menu-list__list {
    flex-wrap: nowrap;
    gap: var(--gap-xl, 1.5rem);
  }
}

#footer-component .footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#footer-component .menu-list,
#footer-component .header-menu,
#footer-component .header-menu__inner {
  height: auto;
}

#footer-component .menu-list__list-item,
#footer-component .menu-list__link {
  height: auto;
  min-height: 0;
}

@media screen and (max-width: 749px) {
  #footer-component .header__columns {
    grid-template-areas:
      'left'
      'center';
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 16px;
    padding-block: 16px;
    padding-inline: var(--page-margin, 16px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #footer-component .header__column--left {
    grid-area: left;
    justify-content: center;
    width: 100%;
  }

  #footer-component .header__column--center {
    grid-area: center;
    justify-content: center;
    width: 100%;
  }

  #footer-component .header-menu,
  #footer-component .header-menu__inner,
  #footer-component .menu-list {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  #footer-component .menu-list__list,
  #footer-component .footer-menu-list {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }

  #footer-component .footer-menu-list .menu-list__list-item {
    flex-shrink: 0;
    width: auto;
    max-width: 100%;
    height: auto;
  }

  #footer-component .menu-list__link {
    height: auto;
    padding-block: 4px;
  }

  #footer-component .menu-list__link-title {
    padding-inline: 0;
  }

  #footer-component .header-logo {
    padding-block: 16px !important;
  }
}

/* Utilities bar — unchanged */
.color-custom-sections--20214570582134__utilities {
  background-color: #202219;
  color: #ffffff;
}

/* Section scroll anchors (fixed header offset) */
#tokushu,
#projects,
#press,
#company,
#contact {
  scroll-margin-top: calc(var(--header-height, 60px) + 16px);
}

/* Press text links */
.press-links {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  align-self: stretch;
}

.press-links__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  padding-block: 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.15);
}

.press-links__item:first-child {
  padding-top: 0;
}

.press-links__date {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.press-links__link {
  width: 100%;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  line-height: 1.6;
}

.press-links__link:hover {
  opacity: 0.85;
}

/* HubSpot form placeholder */
.hubspot-form-placeholder {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

.hubspot-form-placeholder__heading {
  margin: 0 0 12px;
  font-size: 1.125rem;
}

.hubspot-form-placeholder__note {
  margin: 0 0 24px;
  color: rgb(255 255 255 / 0.7);
  font-size: 0.875rem;
}

.hubspot-form-placeholder__container {
  min-height: 120px;
  border: none;
  border-radius: 4px;
  padding: 24px;
  background-color: #ffffff;
  text-align: center;
  color: #333333;
  font-size: 0.875rem;
}

.hubspot-form-placeholder__container:empty::before {
  content: 'HubSpotフォーム埋め込みエリア';
  color: rgb(0 0 0 / 0.5);
}

/* Policy page */
.policy-page {
  background-color: #ffffff;
  color: #000000;
  padding: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.policy-page__hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  padding: 100px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/privacy-hero-bg.png") center / cover no-repeat;
}

.policy-page__hero-title {
  margin: 0;
  width: 100%;
  color: #ffffff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.policy-page__body {
  display: flex;
  flex-direction: column;
  gap: 60px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 80px 160px;
  min-width: 0;
}

.policy-page__article {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.policy-page__article--wide {
  gap: 40px;
}

.policy-page__article-title {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.policy-page__subsection {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.policy-page__subsection-title {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.policy-page p,
.policy-page li {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
}

.policy-page ul {
  margin: 0;
  padding-left: 1.25em;
}

.policy-page__contact-info {
  white-space: pre-line;
}

.policy-page__cta {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 100px 10px;
}

.policy-page__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 20px 60px;
  background-color: #000000;
  color: #ffffff;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.policy-page__cta-link:hover {
  opacity: 0.85;
}

/* SP Button — Figma node 204:471 */
@media screen and (max-width: 749px) {
  .policy-page__hero {
    padding: calc(100 / 375 * 100vw) calc(20 / 375 * 100vw);
  }

  .policy-page__hero-title {
    font-size: calc(48 / 375 * 100vw);
  }

  .sp-button,
  .policy-page__cta-link,
  .__pf [data-pf-type="Button2"].deKYPX {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: auto;
    min-width: min(298px, 100%);
    max-width: 100%;
    min-height: 60px;
    height: 60px;
    padding: 0 40px !important;
    white-space: nowrap;
    background-color: #000000 !important;
    color: #ffffff !important;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    align-self: center;
  }

  .sp-button:hover,
  .policy-page__cta-link:hover,
  .__pf [data-pf-type="Button2"].deKYPX:hover {
    opacity: 0.85;
    color: #ffffff !important;
  }

  .__pf [data-pf-type="Button2"].deKYPX u {
    text-decoration: none;
    color: inherit;
  }

  .policy-page__cta {
    padding: 60px var(--page-margin, 16px) 100px;
  }
}

@media screen and (min-width: 750px) {
  .sp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 80px;
    padding: 20px 60px;
    background-color: #000000;
    color: #ffffff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    border: 0;
    border-radius: 0;
  }
}

.tablelist {
  width: 100%;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
}

table.tablelist {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

table.tablelist thead th {
  padding: 40px 20px;
  background-color: #e3e3e3;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000000;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

table.tablelist tbody th,
table.tablelist tbody td {
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #000000;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

table.tablelist tbody th {
  font-weight: 400;
}

.tablelist__col-info {
  width: auto;
}

.tablelist ul {
  margin: 0;
  padding-left: 1.25em;
}

.tablelist ul ul {
  margin-top: 0;
}

.tablelist a {
  color: #0ca5d5;
  text-decoration: underline;
}

.tablelist + .tablelist {
  margin-top: 20px;
}

.tablelist-scroll {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.tablelist-scroll + .tablelist-scroll {
  margin-top: 20px;
}

table.tablelist--methods td p {
  margin: 0;
}

table.tablelist--methods td:nth-child(2) a {
  color: #000000;
  text-decoration: underline;
}

table.tablelist--methods td:nth-child(3) a,
table.tablelist--methods .tablelist__links a {
  color: #0ca5d5;
  text-decoration: underline;
}

table.tablelist--methods .tablelist__links {
  margin: 0;
  padding-left: 1.25em;
  list-style: disc;
}

@media screen and (min-width: 990px) {
  .policy-page__article-title {
    font-size: 2.5rem;
  }

  .tablelist-scroll {
    overflow-x: visible;
  }

  table.tablelist {
    width: 100%;
    min-width: 0;
  }

  table.tablelist--tools col:first-child,
  table.tablelist--tools tbody th {
    width: 242px;
  }

  table.tablelist--methods col:nth-child(1),
  table.tablelist--methods tbody th {
    width: 242px;
  }

  table.tablelist--methods col:nth-child(2) {
    width: 416px;
  }

  table.tablelist--methods col:nth-child(3) {
    width: 420px;
  }
}

@media screen and (max-width: 989px) {
  .policy-page__body {
    max-width: none;
    padding: 48px var(--page-margin, 1rem);
    gap: 48px;
  }

  .policy-page__article-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .policy-page__cta {
    max-width: none;
  }

  table.tablelist {
    width: 1120px;
    min-width: 1120px;
  }

  table.tablelist--tools col:first-child,
  table.tablelist--tools tbody th {
    width: 242px;
  }

  table.tablelist--methods col:nth-child(1),
  table.tablelist--methods tbody th {
    width: 242px;
  }

  table.tablelist--methods col:nth-child(2) {
    width: 416px;
  }

  table.tablelist--methods col:nth-child(3) {
    width: 462px;
  }
}

footer .policy-list-trigger,
footer .footer-utilities__group-copyright {
  color: rgb(255 255 255 / 0.6);
}

footer .utilities {
  max-width: var(--page-width, 120rem);
  margin-inline: auto;
  padding-inline: var(--page-margin, 2rem);
  border-top-color: #214f5f;
}

@media screen and (min-width: 990px) {
  html:has(.page-wrapper),
  html:has(.page-wrapper) body {
    height: auto !important;
    min-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  .page-wrapper {
    height: auto !important;
    min-height: 100dvh;
    overflow: visible !important;
  }
}

html[scroll-lock] body {
  overflow: hidden !important;
}

html[scroll-lock] .page-wrapper {
  overflow: hidden !important;
}

@media screen and (max-width: 989px) {
  .page-wrapper {
    overflow: visible;
  }

  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

#header-group,
.header-section,
.header,
.header__row,
.header__columns,
.header__drawer,
.menu-drawer-container {
  overflow: visible;
}

#header-component[data-menu-style='drawer'] .header__navigation-bar-row {
  display: none !important;
}

/* Drawer overlay moved to body by drawer-fix.js — never block PC interactions */
@media screen and (min-width: 750px) {
  .menu-drawer.sp-drawer,
  .menu-drawer__backdrop.sp-drawer__backdrop {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.menu-drawer__backdrop.sp-drawer__backdrop {
  pointer-events: none !important;
}

body.drawer-open .menu-drawer__backdrop.sp-drawer__backdrop {
  pointer-events: auto !important;
}

@media screen and (max-width: 749px) {
  :root {
    --sp-menu-control-inset-x: calc(25 / 750 * 100vw);
    --sp-menu-control-inset-y: calc(20 / 750 * 100vw);
  }

  #header-group .header__row--top.section {
    display: block !important;
    grid-template-columns: none !important;
    width: 100%;
    max-width: none;
    margin-inline: 0 !important;
    padding-inline: 0 !important;
  }

  #header-group .header__columns {
    display: flex !important;
    position: relative;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    width: 100%;
    max-width: none;
    padding-inline: 0 !important;
    margin-inline: 0 !important;
    grid-column: 1 / -1 !important;
  }

  #header-group .header__column {
    display: contents !important;
    grid-area: unset !important;
  }

  #header-group .header__column--center {
    display: none !important;
  }

  /* 右ブックエンド（カート相当）でロゴ中央揃えを維持 */
  #header-group .header__columns::after {
    content: '';
    position: absolute;
    top: 50%;
    right: var(--sp-menu-control-inset-x);
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    pointer-events: none;
  }

  #header-group .header__drawer {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    transform: none;
    display: flex !important;
    align-items: center;
    min-height: auto;
    width: auto;
    z-index: 1;
  }

  #header-group .header__drawer header-drawer,
  #header-group .menu-drawer-container {
    height: 100%;
  }

  #header-group .header-logo {
    position: relative;
    z-index: 0;
    padding-block: 16px !important;
    flex-shrink: 0;
  }

  #header-group .header-logo__image {
    display: block;
    width: 90px !important;
    height: 28px !important;
    max-width: none;
    object-fit: contain;
  }

  #header-group .header__row--top {
    min-height: 60px;
  }

  #header-component {
    --header-height: 60px;
  }

  .menu-drawer-container .header__icon--summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    height: 100%;
    min-height: var(--header-height, 60px);
    padding: 0 var(--sp-menu-control-inset-x) !important;
    color: #ffffff;
    list-style: none;
    cursor: pointer;
  }

  .menu-drawer-container .header__icon--summary .header-drawer-icon .svg-wrapper,
  .menu-drawer-container .header__icon--summary .svg-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .menu-drawer-container .header__icon--summary .svg-wrapper > svg {
    display: block;
    width: 16px !important;
    height: 16px !important;
  }

  .menu-drawer-container .header__icon--summary .header-drawer-icon {
    margin: 0 !important;
  }

  .menu-drawer-container .header__icon--summary::-webkit-details-marker {
    display: none;
  }

  .menu-drawer-container:not(.menu-open) .header__icon--menu .header-drawer-icon--close {
    display: none;
  }

  .menu-drawer-container.menu-open .header__icon--menu .header-drawer-icon--open {
    display: none;
  }

  /* JSで body へ移すまで details 内のパネルを非表示 */
  .menu-drawer-container > .menu-drawer,
  .menu-drawer-container > .menu-drawer__backdrop {
    display: none !important;
  }

  .menu-drawer.sp-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 95vw;
    max-width: none;
    height: 100dvh;
    z-index: 10001;
    display: flex !important;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background-color: #202219 !important;
    border-right: 1px solid #ffffff;
    color: #ffffff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    transform: translateX(-100%) !important;
    visibility: hidden !important;
    opacity: 1 !important;
    transition: transform 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-drawer__backdrop.sp-drawer__backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    width: auto;
    height: auto;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.drawer-open .menu-drawer.sp-drawer {
    transform: translateX(0) !important;
    visibility: visible !important;
  }

  body.drawer-open .menu-drawer__backdrop.sp-drawer__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .menu-drawer.sp-drawer .menu-drawer__close-button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: static;
    width: fit-content;
    height: auto;
    margin: 0;
    padding-block: calc((var(--header-height, 60px) - 16px) / 2);
    padding-inline: var(--sp-menu-control-inset-x);
    background: transparent;
    border: 0;
    color: #ffffff;
    cursor: pointer;
  }

  .menu-drawer.sp-drawer .menu-drawer__close-button .svg-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .menu-drawer.sp-drawer .menu-drawer__close-button .svg-wrapper > svg {
    display: block;
    width: 16px !important;
    height: 16px !important;
  }

  .menu-drawer.sp-drawer .menu-drawer__navigation {
    flex: 1;
    margin: 0;
    padding: 12px 40px 48px;
  }

  .menu-drawer.sp-drawer .menu-drawer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-drawer.sp-drawer .menu-drawer__list-item--flat {
    margin: 0;
    width: 100%;
  }

  .menu-drawer.sp-drawer .menu-drawer__utility-links {
    display: none !important;
  }

  .menu-drawer.sp-drawer .menu-drawer__menu-item,
  .menu-drawer.sp-drawer .menu-drawer__menu-item--mainlist {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 22px 0;
    color: #ffffff !important;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
    text-transform: none;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .menu-drawer.sp-drawer .menu-drawer__menu-item--mainlist:hover,
  .menu-drawer.sp-drawer .menu-drawer__menu-item--mainlist:focus {
    color: #ffffff !important;
    opacity: 0.85;
  }

  .menu-drawer.sp-drawer .menu-drawer__menu-item-text {
    display: block;
    white-space: normal;
  }

  .menu-drawer.sp-drawer .menu-drawer__animated-element {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    will-change: auto !important;
  }

  .menu-drawer.sp-drawer .focus-inset::after {
    display: none;
  }
}

img {
  height: auto;
}

/* YouTube lite embed (Error 153 workaround) */
.pf-youtube-lite {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  max-width: 600px;
  background: #000;
}

.pf-youtube-lite__play {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
  position: relative;
}

.pf-youtube-lite__play img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-youtube-lite__play::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 68 48'%3E%3Cpath fill='%23f00' d='M66.52 7.74a8.28 8.28 0 0 0-5.82-5.85C55.5 1 34 1 34 1s-21.5 0-26.7 1.89a8.28 8.28 0 0 0-5.82 5.85A86.6 86.6 0 0 0 0 24a86.6 86.6 0 0 0 1.48 16.26 8.28 8.28 0 0 0 5.82 5.85C12.5 47 34 47 34 47s21.5 0 26.7-1.89a8.28 8.28 0 0 0 5.82-5.85A86.6 86.6 0 0 0 68 24a86.6 86.6 0 0 0-1.48-16.26z'/%3E%3Cpath fill='%23fff' d='M45 24 27 14v20'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.pf-youtube-lite__play:hover::after {
  filter: brightness(1.1);
}

.__pf.__pf_6LUCFedR .pf-156_ {
  margin-left: 10% !important;
}

@media screen and (max-width: 749px) {
  .__pf.__pf_6LUCFedR .pf-379_ > .pf-flex-section {
    gap: 40px 0 !important;
  }
}

/* 理科室蒸留所ロゴ */
.__pf.__pf_6LUCFedR .pf-134_ {
  object-fit: contain !important;
  height: auto !important;
}
.__pf.__pf_6LUCFedR .pf-100_ .pf-102_ {
  white-space: normal !important;
}

/* PC: align project card headings (2-line vs 1-line h4) */
@media screen and (min-width: 1025px) {
  .__pf.__pf_6LUCFedR .pf-100_ .pf-102_,
  .__pf.__pf_6LUCFedR .pf-100_ .pf-114_ {
    line-height: 1.2 !important;
    min-height: calc(2.4em + 20px) !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }
}
