/* ------------------------------
  Reset
------------------------------ */
/*! destyle.css v2.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  /* -webkit-tap-highlight-color: transparent; */
  /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  /* outline: 0 */
  ;
  border-radius: 0;
  text-align: inherit;
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */

[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type="radio"] {
  -webkit-appearance: radio;
  appearance: radio;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

button[disabled],
[type="button"][disabled],
[type="reset"][disabled],
[type="submit"][disabled] {
  cursor: default;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove arrow in IE10 & IE11
 */

select::-ms-expand {
  display: none;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */

[type="search"] {
  outline-offset: -2px;
  /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable] {
  outline: none;
}

/* Table */
/* ============================================ */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* Misc */
/* ============================================ */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/* ------------------------------
  Base
------------------------------ */
:root {
  --color-primary: #0054a6;
  --color-primary-dark: #003f7d;
  --color-primary-light: #2f80c9;
  --color-text: #333;
  --color-text-light: #667788;
}

html {
  font-size: calc(16 / 1440 * 100vw);
  scroll-behavior: smooth;
}

@media screen and (max-width: 767px) {
  html {
    font-size: min(calc(16 / 390 * 100vw), 20px);
  }
}

body {
  background-color: #fafbfc;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--color-text);
}

a,
button {
  transition: opacity 0.3s;
}

@media (any-hover: hover) {

  a:hover,
  button:not(:disabled):hover {
    opacity: 0.6;
  }
}

/* ------------------------------
  Header
------------------------------ */
.header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 6.25rem;
  transition: background-color 0.3s;
}

body.is-menu-open .header,
.header.is-scrolled {
  background-color: #fff;
}

.header-observer {
  position: absolute;
  top: 6.25rem;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding-right: 1.75rem;
  padding-left: 4.5rem;
}

.header__logo-link {
  display: block;
  flex-shrink: 0;
}

.header__logo {
  display: block;
  width: 10.25rem;
  height: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2.875rem;
  height: 100%;
}

.header__nav-link {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: max(0.875rem, 12px);
  font-weight: 700;
  color: var(--color-primary-dark);
  transition: opacity 0.3s;
}

@media (any-hover: hover) {
  .header__nav-link:hover {
    opacity: 0.6;
  }
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__actions--tablet {
  display: none;
}

.header__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  min-width: 9.875rem;
  min-height: 3rem;
  padding: 0.5rem 1rem;
  border: 1px solid #0d5fb3;
  border-radius: 4px;
  background-repeat: no-repeat;
  background-position: left center;
  background-origin: border-box;
  background-size: 0 100%;
  font-size: max(0.75rem, 12px);
  font-weight: 700;
  color: #0d5fb3;
  transition: color 0.2s ease-in-out, background-size 0.2s ease-in-out;
}

.header__action--contact {
  color: #fff;
  background-color: #0d5fb3;
  background-image: linear-gradient(#fff, #fff);
}

.header__action--download {
  min-width: 11rem;
  background-color: #fffffe;
  background-image: linear-gradient(#0d5fb3, #0d5fb3);
}

.header__action-icon {
  display: block;
  flex-shrink: 0;
  height: auto;
  fill: currentcolor;
  transition: fill 0.2s ease-in-out;
}

.header__action-icon--document {
  width: 1.5rem;
}

.header__action-icon--mail {
  width: 1.5rem;
}

@media (any-hover: hover) {
  .header__action:hover {
    background-size: 100% 100%;
    opacity: 1;
  }

  .header__action--download:hover {
    color: #fff;
  }

  .header__action--contact:hover {
    color: #0d5fb3;
  }
}

.header__menu-button {
  display: none;
}

@media screen and (max-width: 959px) {
  .header {
    height: 74px;
  }

  .header__inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .header__logo {
    width: 128px;
    transform: none;
  }

  .header__nav {
    position: fixed;
    z-index: 99;
    top: 74px;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    overflow-y: scroll;
    overscroll-behavior: contain;
    -ms-overflow-style: none;
    scrollbar-width: none;
    height: auto;
    padding: 20px 30px 64px;
    background-color: #f7f9fc;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s, opacity 0.4s;
  }

  .header__nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .header__nav-list {
    display: block;
    height: auto;
  }

  .header__nav-item {
    border-bottom: 1px solid #cbd9e7;
  }

  .header__nav-link {
    position: relative;
    height: auto;
    min-height: 84px;
    padding: 16px 32px 16px 2px;
    font-size: 18px;
    color: var(--color-primary-dark);
  }

  .header__nav-link::after {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 12px;
    height: 12px;
    border-top: 2px solid currentcolor;
    border-right: 2px solid currentcolor;
    content: "";
    transform: translateY(-50%) rotate(45deg);
  }

  .header__actions {
    display: grid;
    gap: 16px;
    margin-top: 32px;
  }

  .header__action {
    min-height: 64px;
    font-size: 16px;
  }

  .header__action-icon--document {
    width: 24px;
  }

  .header__action-icon--mail {
    width: 32px;
  }

  .header__menu-button {
    position: relative;
    display: block;
    width: 44px;
    height: 44px;
    color: var(--color-primary-dark);
  }

  .header__menu-line {
    position: absolute;
    left: 6px;
    width: 32px;
    height: 2px;
    background-color: currentcolor;
    transition: top 0.3s, transform 0.3s, opacity 0.3s;
  }

  .header__menu-line:nth-child(1) {
    top: 12px;
  }

  .header__menu-line:nth-child(2) {
    top: 21px;
  }

  .header__menu-line:nth-child(3) {
    top: 30px;
  }

  .header__menu-button.is-open .header__menu-line:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
  }

  .header__menu-button.is-open .header__menu-line:nth-child(2) {
    opacity: 0;
  }

  .header__menu-button.is-open .header__menu-line:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
  }

  .header__actions--tablet {
    display: none;
  }

}

@media screen and (min-width: 580px) and (max-width: 959px) {
  .header__actions--tablet {
    display: flex;
    gap: 12px;
    margin: 0 16px 0 auto;
  }

  .header__actions--tablet .header__action {
    min-width: 120px;
    min-height: 44px;
    padding: 6px 12px;
    font-size: 14px;
  }

  .header__actions--tablet .header__action--download {
    min-width: 142px;
  }

  .header__actions--tablet .header__action-icon--document,
  .header__actions--tablet .header__action-icon--mail {
    width: 20px;
  }
}

/* ------------------------------
  CTA
------------------------------ */
.cta {
  background: url("../img/common/cta-bg.jpg") no-repeat center / cover;
}

.cta__content {
  position: relative;
  z-index: 1;
  padding: 4.9375rem 4.5rem 5.9375rem;
}

.cta__title {
  font-size: max(1.875rem, 22px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: #fff;
}

.cta__buttons {
  display: flex;
  gap: 2.25rem;
  margin-top: 1.75rem;
}

.cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8235em;
  width: 20.2353em;
  min-height: 4.9412em;
  border: 1px solid #fff;
  border-radius: 0.2353em;
  background-repeat: no-repeat;
  background-position: left center;
  background-origin: border-box;
  background-size: 0 100%;
  font-size: max(1.0625rem, 12px);
  font-weight: 700;
  transition: color 0.2s ease-in-out, background-size 0.2s ease-in-out;
}

.cta__button--download {
  color: #fff;
  background-image: linear-gradient(#fff, #fff);
}

.cta__button--contact {
  width: 19.7647em;
  border-color: #dbe5ee;
  color: var(--color-primary);
  background-color: #fff;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
}

.cta__button-icon {
  display: block;
  flex-shrink: 0;
  height: auto;
  fill: currentcolor;
  transition: fill 0.2s ease-in-out;
}

.cta__button-icon--document {
  width: 2.4375rem;
}

.cta__button-icon--mail {
  width: 2.375rem;
}

@media (any-hover: hover) {
  .cta__button:hover {
    background-size: 100% 100%;
    opacity: 1;
  }

  .cta__button--download:hover {
    color: var(--color-primary);
  }

  .cta__button--contact:hover {
    color: #fff;
  }
}

@media screen and (max-width: 767px) {
  .cta {
    min-height: unset;
  }

  .cta::before {
    background: linear-gradient(90deg, rgb(0 63 125 / 96%) 0%, rgb(0 84 166 / 82%) 72%, rgb(0 84 166 / 48%) 100%);
  }

  .cta__content {
    padding: 2.5rem 1.25rem 3rem;
  }

  .cta__title {
    padding-right: 0.25rem;
    font-size: 1.125rem;
    line-height: 1.8;
  }

  .cta__title br {
    display: none;
  }

  .cta__buttons {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .cta__button {
    width: 100%;
    min-height: 4.5714em;
    font-size: 0.875rem;
  }

  .cta__button--contact {
    width: 100%;
  }
}

/* ------------------------------
  Footer
------------------------------ */
.footer {
  padding: max(3rem, 36px) 3rem 0;
  color: var(--color-text-light);
}

.footer__main {
  display: grid;
  grid-template-columns: auto auto 1fr;
  max-width: 84rem;
  margin: 0 auto;
}

.footer__logo-link {
  display: block;
  width: fit-content;
  margin-left: -0.3125rem;
}

.footer__logo {
  display: block;
  width: 13.5rem;
  height: auto;
}

.footer__company-address,
.footer__company-contact {
  margin-top: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer__company-address {
  font-size: max(0.875rem, 11px);
}

.footer__company-contact {
  font-size: max(0.9375rem, 11px);
}

.footer__access-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4286em;
  width: 13.1429em;
  min-height: 3.4286em;
  margin-top: 1.5714em;
  padding-left: 0.7857em;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  background-repeat: no-repeat;
  background-position: left center;
  background-origin: border-box;
  background-size: 0 100%;
  font-size: max(0.875rem, 12px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  transition: color 0.2s ease-in-out, background-size 0.2s ease-in-out;
}

.footer__access-button .icon-arrow {
  fill: currentcolor;
  transition: fill 0.2s ease-in-out;
}

@media (any-hover: hover) {
  .footer__access-button:hover {
    background-size: 100% 100%;
    color: #fff;
    opacity: 1;
  }
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 0.5rem;
  padding-left: 3.75rem;
}

.footer__nav-title {
  display: block;
  font-size: max(1rem, 13px);
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--color-primary-dark);
}

.footer__nav-list {
  display: grid;
  gap: 1.1875rem;
  margin-top: 1.5rem;
  font-size: max(0.875rem, 11px);
  font-weight: 500;
}

.footer__location {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: 0.6875rem;
  padding-left: 2rem;
  border-left: 1px solid #dbe5ee;
}

.footer__location-info {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: max(0.75rem, 11px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text);
}

.footer__location-info p {
  margin-top: 0.3125rem;
  font-size: max(0.875rem, 12px);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.footer__location-icon {
  display: block;
  flex-shrink: 0;
  width: 3.25rem;
  height: auto;
}

.footer__location-name {
  margin-top: 0 !important;
  font-size: max(0.875rem, 12px);
  font-weight: 700;
}

.footer__location-address {
  margin-top: 0.125rem !important;
}

.footer__map {
  flex: 1 1 auto;
  min-width: 9rem;
  height: max(6.5rem, 104px);
  border: 0;
  border-radius: 0.75rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 84rem;
  min-height: 50px;
  margin: max(2.5rem, 28px) auto 0;
  border-top: 1px solid #dbe5ee;
  font-size: max(0.875rem, 12px);
}

.footer__copyright {
  margin: 0 auto;
  padding-right: 7.5rem;
}

.footer__bottom-links {
  display: flex;
  gap: 2.1875rem;
  margin-right: 0.3125rem;
}

.footer__bottom-links li+li {
  position: relative;
}

.footer__bottom-links li+li::before {
  position: absolute;
  top: 50%;
  left: -1.0625rem;
  height: 0.75rem;
  border-left: 1px solid #dbe5ee;
  content: "";
  transform: translateY(-50%);
}

@media(any-hover: hover) {

  .footer__nav a:hover,
  .footer__bottom-links a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 768px) and (max-width: 1179px) {
  .footer__main {
    grid-template-columns: auto 1fr;
    column-gap: calc(72 / 1100 * 100%);
    row-gap: max(3rem, 36px);
  }

  .footer__nav {
    gap: 2.5rem 1.5rem;
    margin-top: 0;
    padding-left: 0;
  }

  .footer__location {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(15rem, auto) 1fr;
    align-items: center;
    gap: calc(72 / 1100 * 100%);
    order: -1;
    margin-left: 0;
    padding-bottom: max(2rem, 24px);
    padding-left: 0;
    border-bottom: 1px solid #dbe5ee;
    border-left: 0;
  }

  .footer__map {
    width: 100%;
    max-width: none;
    height: max(8rem, 180px);
    border-radius: 0.75rem;
  }
}

@media screen and (max-width: 767px) {
  .footer {
    padding: 3rem 1.25rem 0;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__company {
    text-align: center;
  }

  .footer__logo {
    width: 12rem;
  }

  .footer__logo-link {
    margin: 0 auto;
  }

  .footer__company-address,
  .footer__company-contact {
    margin-top: 1rem;
    font-size: 0.875rem;
  }

  .footer__access-button {
    margin-right: auto;
    margin-left: auto;
    font-size: 0.8125rem;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.5rem;
    padding: 0 1.25rem;
  }

  .footer__nav-title {
    font-size: 0.9375rem;
  }

  .footer__nav-list {
    margin-top: 1rem;
    gap: 1rem;
    font-size: 0.8125rem;
  }

  .footer__location {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    order: -1;
    margin-left: 0;
    padding-bottom: 2rem;
    padding-left: 0;
    border-bottom: 1px solid #dbe5ee;
    border-left: 0;
  }

  .footer__location-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__location-info p {
    white-space: normal;
  }

  .footer__map {
    width: 100%;
    max-width: none;
    height: 14rem;
    border-radius: 0.75rem;
  }

  .footer__bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    text-align: center;
  }

  .footer__copyright {
    margin: 0;
    padding: 0;
    font-size: 0.6875rem;
  }

  .footer__bottom-links {
    justify-content: center;
  }
}

/* ------------------------------
  Topページ
------------------------------ */
/* メインビジュアル */
.top-mv {
  position: relative;
}

.top-mv__bg {
  display: block;
  width: 100%;
  height: auto;
}

.top-mv__content {
  position: absolute;
  z-index: 1;
  top: 11.375rem;
  left: 5.8125rem;
  color: var(--color-primary);
}

.top-mv__title {
  font-size: max(3.875rem, 32px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--color-text);
}

.color-blue {
  color: var(--color-primary-dark);
}

.top-mv__lead {
  margin-top: 1.25rem;
  font-size: max(1.25rem, 14px);
  font-weight: 600;
  letter-spacing: 0.27em;
}

.top-mv__features {
  display: flex;
  margin-top: 3.4375rem;
  margin-left: -2.8125rem;
}

.top-mv__feature {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 10.9375rem;
  border-right: 1px solid #cbdde9;
  text-align: center;
}

.top-mv__feature:last-child {
  border-right: 0;
}

.top-mv__feature-icon {
  height: auto;
  margin: 0 auto;
}

.top-mv__feature-icon.--01 {
  width: 2.8125rem;
  margin: 0.375rem auto 0;
}

.top-mv__feature-icon.--02 {
  width: 3.375rem;
  margin: 0 auto;
}

.top-mv__feature-icon.--03 {
  width: 3.75rem;
  margin: 0.5rem auto 0;
}

.top-mv__feature-title {
  margin-top: 0.875rem;
  font-size: max(1.25rem, 13px);
  font-weight: 700;
}

.top-mv__feature-text {
  margin-top: 0.625rem;
  font-size: max(0.9375rem, 10px);
  font-weight: 500;
  line-height: 1.7;
}

@media screen and (max-width: 767px) {
  .top-mv {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100svh;
    min-height: 568px;
    overflow: hidden;
    padding-top: 4.625rem;
    background-color: #f4f9fd;
  }

  .top-mv__picture {
    display: block;
    flex: 1 1 auto;
    order: 2;
    width: 100%;
    min-height: 0;
    margin-top: -2rem;
  }

  .top-mv__bg {
    position: static;
    height: 100%;
    opacity: 1;
    object-fit: cover;
    mask-image: linear-gradient(to bottom, transparent 0%, #000 4rem, #000 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 4rem, #000 100%);
  }

  .top-mv__content {
    position: relative;
    top: auto;
    left: auto;
    flex-shrink: 0;
    order: 1;
    padding: 1.5rem 1.25rem 1rem;
  }

  .top-mv__title {
    font-size: 1.875rem;
    line-height: 1.7;
  }

  .top-mv__lead {
    margin-top: 1rem;
    font-size: 0.875rem;
    line-height: 1.8;
  }

  .top-mv__features {
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 1.5rem;
    margin-left: 0;
  }

  .top-mv__feature {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 0 0.375rem;
  }

  .top-mv__feature-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
    object-fit: contain;
    transform: none;
  }

  .top-mv__feature-icon.--01,
  .top-mv__feature-icon.--02,
  .top-mv__feature-icon.--03 {
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
  }

  .top-mv__feature-title {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .top-mv__feature-text {
    margin-top: 0.5rem;
    font-size: 0.625rem;
  }
}

/* 主力製品カード */
.top-flagship {
  max-width: 84rem;
  margin: 3.5rem auto 0;
  padding: 0 3rem;
}

.top-flagship__card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.75rem;
  border: 1px solid #dbe5ee;
  border-radius: 0.75rem;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

@media (any-hover: hover) {
  .top-flagship__card:hover {
    border-color: var(--color-primary-light);
    box-shadow: 0 0.5rem 1.5rem rgb(0 63 125 / 8%);
  }
}

.top-flagship__media {
  flex-shrink: 0;
  width: 9rem;
}

.top-flagship__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #dbe5ee;
  border-radius: 0.5rem;
}

.top-flagship__body {
  flex: 1;
  min-width: 0;
}

.top-flagship__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: #eef4fb;
  font-size: max(0.6875rem, 10px);
  font-weight: 700;
  color: var(--color-primary);
}

.top-flagship__raw-name {
  margin-top: 0.75rem;
  font-size: max(0.6875rem, 11px);
  font-weight: 600;
  color: var(--color-text-light);
}

.top-flagship__product-name {
  margin-top: 0.125rem;
  font-size: max(1.25rem, 17px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-primary-dark);
}

.top-flagship__text {
  margin-top: 0.5rem;
  font-size: max(0.8125rem, 12px);
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text-light);
}

.top-flagship__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.875rem;
  font-size: max(0.8125rem, 12px);
  font-weight: 700;
  color: var(--color-primary);
}

@media (any-hover: hover) {
  .top-flagship__link:hover {
    opacity: 0.7;
  }
}

@media screen and (max-width: 1199px) {
  .top-flagship {
    padding: 0 2rem;
  }
}

@media screen and (max-width: 599px) {
  .top-flagship__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }

  .top-flagship__media {
    width: 6.5rem;
  }
}

@media screen and (max-width: 767px) {
  .top-flagship {
    padding: 0 1.25rem;
  }
}

/* ABOUT KOKEN */
.top-about {
  padding-top: 7.5rem;
  background: #f1f4f9 url("../img/top/about-bg.jpg") no-repeat top center / 100% auto;
}

.top-about__content {
  margin-left: 5.75rem;
}

.top-about__label {
  font-size: max(1.25rem, 14px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #6686a9;
}

.top-about__title {
  margin-top: 1.25rem;
  font-size: max(2.125rem, 24px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
}

.top-about__text {
  margin-top: 1.75rem;
  font-size: max(0.9375rem, 12px);
  font-weight: 500;
  line-height: 2.15;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
}

.top-about__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7143em;
  width: 11.2857em;
  min-height: 3.4286em;
  margin-top: 2.1429em;
  border: 1px solid var(--color-primary);
  border-radius: 0.2857em;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  background-repeat: no-repeat;
  background-position: left center;
  background-origin: border-box;
  background-size: 0 100%;
  font-size: max(0.875rem, 12px);
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.2s ease-in-out, background-size 0.2s ease-in-out;
}

.top-about__button .icon-arrow {
  fill: currentcolor;
  transition: fill 0.2s ease-in-out;
}

@media (any-hover: hover) {
  .top-about__button:hover {
    background-size: 100% 100%;
    color: #fff;
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .top-about {
    min-height: 34rem;
    padding-top: 4rem;
    background-size: auto 34rem;
  }

  .top-about__content {
    width: 100%;
    margin-left: 0;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .top-about__label {
    font-size: 0.75rem;
  }

  .top-about__title {
    margin-top: 1rem;
    font-size: 1.625rem;
    filter: drop-shadow(2px 4px 6px #fafbfc) drop-shadow(2px 4px 6px #fafbfc);
  }

  .top-about__text {
    margin-top: 2rem;
    font-size: 0.75rem;
    line-height: 2;
    filter: drop-shadow(2px 4px 6px #fafbfc) drop-shadow(2px 4px 6px #fafbfc);
  }

  .top-about__button {
    margin-top: 2.6667em;
    font-size: 0.8125rem;
  }
}

/* 事業内容 */
.top-business {
  position: relative;
  z-index: 1;
  margin-top: 10.5rem;
  padding: 2rem 5rem max(2.875rem, 40px);
}

.top-business__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 0.5rem;
  font-size: max(1.75rem, 24px);
  font-weight: 600;
  text-align: center;
  color: var(--color-primary-dark);
}

.top-business__title::after {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0.5rem 0 0 0.5rem;
  border-radius: 50%;
  background-color: var(--color-primary-dark);
  content: "";
}

.top-business__cards {
  display: flex;
  justify-content: center;
  margin: 2rem auto 0;
  filter: drop-shadow(0 0 4px rgb(17 64 112 / 10%));
}

.top-business__card {
  width: max(21.25rem, 340px);
  margin: 0 -1.5rem;
  background-color: #fff;
  clip-path: polygon(24% 0, 100% 0, 76% 100%, 0 100%);
}

@media screen and (max-width: 1439px) {
  .top-business__card {
    margin: 0 -24px;
  }
}

.top-business__image-wrapper {
  position: relative;
  height: 11.5625rem;
  overflow: hidden;
}

.top-business__image {
  position: absolute;
  top: 47%;
  left: 58%;
  display: block;
  width: 90%;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.top-business__body {
  display: flex;
  flex-direction: column;
  min-height: 15rem;
  padding: 1.3rem max(4rem, 64px) 2.125rem max(3.375rem, 54px);
}

.top-business__card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: max(1.125rem, 14px);
  font-weight: 600;
  color: var(--color-primary-dark);
}

.top-business__card-icon {
  flex-shrink: 0;
  width: auto;
  height: 1.6875rem;
}

.top-business__text {
  margin: 1.25rem 0 0 -0.25rem;
  font-size: max(0.875rem, 12px);
  font-weight: 500;
  line-height: 2;
  color: var(--color-text-light);
}

.top-business__link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  align-self: flex-start;
  margin-top: auto;
  margin-left: -0.25rem;
  font-size: max(0.875rem, 12px);
  font-weight: 700;
  color: var(--color-primary-dark);
}

@media screen and (max-width: 767px) {
  .top-business {
    margin-top: 1.25rem;
    padding: 4rem 1.25rem 2rem;
  }

  .top-business__title {
    font-size: 1.5rem;
  }

  .top-business__title::after {
    width: 0.375rem;
    height: 0.375rem;
  }

  .top-business__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.5rem 1rem;
    margin-top: 2rem;
  }

  .top-business__card {
    width: 100%;
    min-height: 0;
    margin: 0;
    clip-path: none;
  }

  .top-business__image-wrapper {
    height: auto;
    aspect-ratio: 167 / 112;
  }

  .top-business__image {
    position: static;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
  }

  .top-business__body {
    min-height: 12rem;
    padding: 1rem calc(12 / 167 * 100%);
  }

  .top-business__card-title {
    gap: 0.3125rem;
    margin-left: -0.25rem;
    font-feature-settings: "palt";
    font-size: 0.875rem;
  }

  .top-business__card-icon {
    width: 1.125rem;
  }

  .top-business__text {
    margin-top: 1rem;
    margin-left: 0;
    font-size: 0.75rem;
    line-height: 1.75;
  }

  .top-business__text br {
    display: none;
  }

  .top-business__link {
    margin-left: 0;
    font-size: 0.75rem;
  }
}

/* KOKENの強み */
.top-strength {
  padding: 0 3rem 4.125rem;
}

.top-strength__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 0.5rem;
  font-size: max(1.625rem, 22px);
  font-weight: 600;
  text-align: center;
  color: var(--color-primary-dark);
}

.top-strength__title::after {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0.625rem 0 0 0.5rem;
  border-radius: 50%;
  background-color: var(--color-primary-dark);
  content: "";
}

.top-strength__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 83rem;
  margin: 1.625rem auto 0;
}

@media screen and (max-width: 1099px) {
  .top-strength__list {
    grid-template-columns: repeat(3, 1fr);
    max-width: 660px;
    gap: 3rem 0;
  }
}

.top-strength__item {
  min-width: 0;
  padding: 0.625rem 1rem 0;
  border-left: 1px solid #dbe5ee;
  text-align: center;
}

.top-strength__item:first-child {
  border-left: 0;
}

@media screen and (min-width: 768px) and (max-width: 1099px) {
  .top-strength__item:nth-child(4) {
    border-left: 0;
  }
}

.top-strength__icon {
  display: block;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0 auto;
  object-fit: contain;
}

.top-strength__item-title {
  margin-top: 1.5rem;
  font-size: max(1.0625rem, 13px);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.top-strength__text {
  margin-top: 1.25rem;
  font-size: max(0.875rem, 11px);
  font-weight: 500;
  line-height: 1.9;
  color: #5d5d5f;
}

@media screen and (max-width: 767px) {
  .top-strength {
    padding: 2rem 1.25rem 4rem;
  }

  .top-strength__title {
    font-size: 1.5rem;
  }

  .top-strength__title::after {
    width: 0.375rem;
    height: 0.375rem;
  }

  .top-strength__list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 3rem;
    margin-top: 2.5rem;
  }

  .top-strength__item {
    padding: 0 0.75rem;
  }

  .top-strength__item:nth-child(odd) {
    border-left: 0;
  }

  .top-strength__icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .top-strength__item-title {
    font-size: 0.875rem;
  }

  .top-strength__text {
    font-size: 0.6875rem;
  }
}

/* 研究・開発体制・品質管理 */
.top-development {
  display: flex;
}

.top-development__panel {
  position: relative;
  min-height: 23.5rem;
  background-repeat: no-repeat;
  background-size: cover;
}

.top-development__panel--research {
  flex-shrink: 0;
  z-index: 1;
  width: calc(804 / 1440 * 100%);
  background-image: url("../img/top/development-research.jpg");
  background-position: 35% 50%;
  clip-path: polygon(0 0, 100% 0, 79% 100%, 0 100%);
}

.top-development__panel--quality {
  flex-grow: 1;
  margin-left: -10.625rem;
  background-image: url("../img/top/development-quality.jpg");
  background-position: 80% 50%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}


.top-development__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 4.25rem 4.5rem 2rem;
}

.top-development__panel--research .top-development__content {
  color: rgba(255 255 255 / 0.95);
}

.top-development__panel--quality .top-development__content {
  padding-left: 10rem;
  color: var(--color-primary-dark);
}

.top-development__label {
  font-size: max(0.9375rem, 12px);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.top-development__panel--research .top-development__label {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.top-development__panel--quality .top-development__label {
  color: #94acc5;
}

.top-development__title {
  margin-top: 1.25rem;
  font-size: max(1.8125rem, 24px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.top-development__text {
  margin: 2rem 0;
  font-size: max(0.9375rem, 12px);
  font-weight: 500;
  line-height: 2;
}

.top-development__panel--research .top-development__text {
  margin-top: 1.5rem;
  font-weight: 400;
}

.top-development__panel--quality .top-development__text {
  color: #55627d;
}

.top-development__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2308em;
  width: 12em;
  min-height: 3.6923em;
  margin-top: auto;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  background-color: #fff;
  background-image: linear-gradient(var(--color-primary), var(--color-primary));
  background-repeat: no-repeat;
  background-position: left center;
  background-origin: border-box;
  background-size: 0 100%;
  font-size: max(0.8125rem, 12px);
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.2s ease-in-out, background-size 0.2s ease-in-out;
}

.top-development__button .icon-arrow {
  fill: currentcolor;
  transition: fill 0.2s ease-in-out;
}

@media (any-hover: hover) {
  .top-development__button:hover {
    background-size: 100% 100%;
    color: #fff;
    opacity: 1;
  }
}

@media screen and (max-width: 767px) {
  .top-development {
    flex-direction: column;
  }

  .top-development__panel {
    min-height: unset;
  }

  .top-development__panel--research {
    width: 100%;
    clip-path: none;
  }

  .top-development__panel--quality {
    width: 100%;
    margin-left: 0;
    clip-path: none;
  }

  .top-development__content,
  .top-development__panel--quality .top-development__content {
    padding: 3rem 1.25rem;
  }

  .top-development__label {
    font-size: 0.75rem;
  }

  .top-development__title {
    margin-top: 1rem;
    font-size: 1.5rem;
  }

  .top-development__text {
    margin-top: 1.5rem;
    font-size: 0.75rem;
  }
}

/* 技術コラム・導入事例・ニュース */
.top-information {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 80%;
  margin: 0 auto;
  padding: max(3.125rem, 36px) 3rem max(3.5rem, 40px);
}

.top-information__section {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 2rem 0.25rem;
  border-left: 1px solid #dbe5ee;
}

.top-information__section:first-child {
  padding-left: 0.3125rem;
  border-left: 0;
}

.top-information__title {
  padding-bottom: 1rem;
  border-bottom: 1px solid #dbe5ee;
  border-image: linear-gradient(-90deg, rgb(0 84 166 / 32%) 0%, rgb(0 84 166 / 12%) 65%, transparent 100%) 1;
  font-size: max(1.625rem, 22px);
  font-weight: 600;
  color: var(--color-primary-dark);
}

.top-information__article-list,
.top-information__news-list {
  display: grid;
  gap: max(1.75rem, 20px);
  margin: max(0.875rem, 10px) 0 max(1.625rem, 18px);
}

.top-information__article {
  display: grid;
  grid-template-columns: max(4.25rem, 48px) 1fr;
  align-items: center;
  gap: 0.6875rem;
}

.top-information__thumbnail {
  display: block;
  width: 100%;
  height: 3.625rem;
  object-fit: cover;
}

.top-information__article-title {
  display: block;
  font-size: max(0.875rem, 11px);
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-text);
}

.top-information__date {
  display: block;
  margin-bottom: 0.25rem;
  font-size: max(0.75rem, 11px);
  font-weight: 500;
  color: #91a2b3;
}

.top-information__news {
  display: block;
  min-height: 3.625rem;
}

.top-information__more {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  align-self: flex-end;
  margin-top: auto;
  margin-right: 0.625rem;
  font-size: max(0.9375rem, 12px);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.top-information__article--no-thumb {
  grid-template-columns: 1fr;
}

.top-information__empty {
  margin: max(0.875rem, 10px) 0 max(1.625rem, 18px);
  font-size: max(0.875rem, 12px);
  font-weight: 500;
  color: var(--color-text-light);
}

@media (any-hover: hover) {

  .top-information__article:hover .top-information__article-title,
  .top-information__news:hover .top-information__article-title {
    text-decoration: underline;
  }
}

@media screen and (max-width: 767px) {
  .top-information {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
  }

  .top-information__section {
    min-height: 0;
    padding: 2rem 0;
    border-left: 0;
  }

  .top-information__title {
    font-size: 1.375rem;
  }

  .top-information__news {
    min-height: unset;
  }

  .top-information__article-title {
    font-size: 0.8125rem;
  }

  .top-information__more {
    margin-top: 0.5rem;
    font-size: 0.875rem;
  }

}

/* ------------------------------
  下層ページ共通：パンくず／SubPageHero
  （製品情報ページで新規追加。他の下層ページでも再利用する）
------------------------------ */
:root {
  --sub-hero-height: 13rem;
}

/* 汎用固定ページ（page.php）用の最小スタイル */
.page-section {
  max-width: 84rem;
  margin: 0 auto;
  padding: 4rem 3rem 6rem;
}

.rich-text {
  margin-top: 1.5rem;
  font-size: max(0.9375rem, 13px);
  font-weight: 500;
  line-height: 1.95;
  color: var(--color-text);
}

.rich-text p + p {
  margin-top: 1.25rem;
}

@media screen and (max-width: 767px) {
  .page-section {
    padding: 3rem 1.25rem 4rem;
  }
}

.breadcrumb {
  padding: 1.75rem 3rem 0 4.5rem;
}

/* sub-heroを持たないテンプレート（ニュース詳細等）で固定ヘッダーと重ならないための余白 */
main > .breadcrumb:first-child {
  margin-top: 6.25rem;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: max(0.8125rem, 11px);
  font-weight: 500;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.breadcrumb__list a {
  color: var(--color-text-light);
}

@media (any-hover: hover) {
  .breadcrumb__list a:hover {
    opacity: 0.6;
  }
}

.breadcrumb__list li[aria-current="page"] {
  color: var(--color-primary-dark);
}

.breadcrumb__sep {
  color: #a9b8c8;
}

.sub-hero {
  position: relative;
  height: var(--sub-hero-height);
  margin-top: 6.25rem;
  overflow: hidden;
  background: linear-gradient(160deg, #ffffff 0%, #eef4fb 55%, #dfebf8 100%);
}

.sub-hero__pattern {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 60%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
}

.sub-hero__body {
  position: relative;
  z-index: 2;
  max-width: 84rem;
  height: 100%;
  margin: 0 auto;
  padding: 0 3rem 0 4.5rem;
  display: flex;
  align-items: center;
}

.sub-hero__label {
  font-size: max(0.8125rem, 11px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}

.sub-hero__title {
  font-size: max(2.5rem, 30px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-primary-dark);
}

.sub-hero__label + .sub-hero__title {
  margin-top: 0.375rem;
}

.sub-hero__raw-name {
  margin-top: 0.375rem;
  font-size: max(1.375rem, 18px);
  font-weight: 600;
  color: var(--color-text-light);
}

.sub-hero__raw-name + .sub-hero__title {
  margin-top: 0.125rem;
}

.sub-hero__lead {
  margin-top: 1.25rem;
  font-size: max(0.9375rem, 13px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--color-text-light);
}

.sub-hero__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* 原液名表示がある場合、行が1本増える分だけ全体を詰める */
.sub-hero__raw-name ~ .sub-hero__lead {
  margin-top: 0.625rem;
}

.sub-hero__raw-name ~ .sub-hero__actions {
  margin-top: 1.125rem;
}

.sub-hero__visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sub-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 50%;
}

.sub-hero__visual-pattern {
  display: block;
  width: 100%;
  height: 100%;
  filter: blur(2px);
}

@media screen and (max-width: 1199px) {
  .breadcrumb {
    padding: 1.75rem 2rem 0;
  }

  .sub-hero__body {
    padding: 0 2rem;
  }

  .sub-hero__raw-name {
    margin-top: 0;
    font-size: max(1rem, 13px);
  }

  .sub-hero__raw-name ~ .sub-hero__lead {
    margin-top: 0.25rem;
  }

  .sub-hero__raw-name ~ .sub-hero__actions {
    margin-top: 0.5rem;
  }
}

@media screen and (max-width: 959px) {
  .sub-hero {
    margin-top: 74px;
  }

  main > .breadcrumb:first-child {
    margin-top: 74px;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --sub-hero-height: 11.25rem;
  }

  .breadcrumb {
    padding: 1.25rem 1.25rem 0;
  }

  .sub-hero__body {
    padding: 0 1.25rem;
  }

  .sub-hero__title {
    font-size: 1.375rem;
  }

  .sub-hero__raw-name {
    margin-top: 0.25rem;
    font-size: 1rem;
  }

  .sub-hero__raw-name ~ .sub-hero__lead {
    margin-top: 0.5rem;
  }

  .sub-hero__lead {
    margin-top: 0.625rem;
    font-size: 0.6875rem;
    line-height: 1.7;
  }

  .sub-hero__visual img {
    object-position: 85% 50%;
  }
}

/* ------------------------------
  汎用クラス
------------------------------ */
.font-serif {
  font-family: "Noto Serif JP", serif;
}

.font-en {
  font-family: "Montserrat", sans-serif;
}

.icon-arrow {
  display: block;
  flex-shrink: 0;
  width: calc(20em / 14);
  height: auto;
}

.ls-130 {
  letter-spacing: 0.13em;
}

.ls-20 {
  letter-spacing: 0.02em;
}

.ls--20 {
  letter-spacing: -0.02em;
}

/* ------------------------------
  画像ポップアップ（ライトボックス）
------------------------------- */
img.js-lightbox {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(10, 20, 30, 0.85);
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-overlay__img {
  display: block;
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-overlay__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s;
}

.lightbox-overlay__nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s;
}

.lightbox-overlay__nav--prev {
  left: 1.5rem;
}

.lightbox-overlay__nav--next {
  right: 1.5rem;
}

@media (any-hover: hover) {
  .lightbox-overlay__close:hover,
  .lightbox-overlay__nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 1;
  }
}

body.is-lightbox-open {
  overflow: hidden;
}

@media screen and (max-width: 767px) {
  .lightbox-overlay {
    padding: 1.25rem;
  }

  .lightbox-overlay__close {
    top: 1rem;
    right: 1rem;
    width: 2.375rem;
    height: 2.375rem;
    font-size: 1.5rem;
  }

  .lightbox-overlay__nav {
    width: 2.375rem;
    height: 2.375rem;
    font-size: 1.5rem;
  }

  .lightbox-overlay__nav--prev {
    left: 0.5rem;
  }

  .lightbox-overlay__nav--next {
    right: 0.5rem;
  }
}