/* 伊藤製煎部本店：整理版CSS */

:root {
  --navy: #031f42;
  --teal: #287f83;
  --body: #4d6465;
  --pale: #e4ecec;
  --content: 1150px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--navy);
  font-family: "Noto Serif JP", serif;
  line-height: 1.9;
}

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

a:hover {
  text-decoration: underline;
}

button {
  font: inherit;
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

figure,
p {
  margin: 0;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.1vw, 54px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.05em;
}

h2 {
  margin: 0 0 24px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
}

h3 {
  margin: 0 0 28px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.6;
}

.site {
  width: 100%;
  max-width: none;
  margin: 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 14px 35px;
  background: var(--navy);
  color: #fff;
}

.brand {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
}

header nav a:last-child {
  padding: 9px 14px;
  border: 1px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.menu {
  display: none;
}

.mail-icon {
  font-family: Arial, sans-serif;
  font-size: 21px;
  line-height: 1;
}

header a {
  transition: color 0.25s ease;
}

header a:hover {
  color: var(--teal);
}

header nav a:last-child:hover {
  text-decoration: none;
}

header nav a:last-child::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 7px;
  left: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.25s ease;
}

header nav a:last-child:hover::after {
  opacity: 1;
}

header .brand:hover {
  color: #fff;
  text-decoration: none;
}

header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

header .brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 0;
}

header .brand > .brand-name {
  font-size: inherit;
  line-height: 1.5;
  white-space: nowrap;
}

.brand-name > .brand-company {
  font-size: 0.58em;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  aspect-ratio: 2 / 0.9;
}

.hero-copy {
  position: absolute;
  top: 10%;
  left: 0;
  width: 57%;
  padding: 40px 65px;
  background: linear-gradient( 90deg, rgba(3, 31, 66, 0.94), rgba(3, 31, 66, 0.7) 65%, rgba(3, 31, 66, 0) );
  z-index: 2;
}

.hero-slides {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slides > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero-slides > img.is-active {
  opacity: 1;
}

.hero-controls {
  position: absolute;
  right: 30px;
  bottom: 25px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: rgba(3, 31, 66, 0.4);
}

.hero-dot[aria-pressed="true"] {
  background: #fff;
}

.hero-pause {
  display: none;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(3, 31, 66, 0.65);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
}

.hero.hero--story .hero-slides {
  transform: none;
  transition: none;
}

.hero.hero--story .hero-copy {
  bottom: auto;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  background: none;
  text-align: center;
  z-index: 2;
  top: 50%;
  transform: translateY(-83.33%);
}

.hero.hero--story h1 {
  font-size: clamp(16px, 1.7vw, 28px);
  line-height: 2;
  letter-spacing: 0.04em;
  text-shadow: 0 0 3px rgba(3, 31, 66, 1), 0 0 8px rgba(3, 31, 66, 1), 0 0 16px rgba(3, 31, 66, 0.95), 0 0 28px rgba(3, 31, 66, 0.85), 0 0 40px rgba(3, 31, 66, 0.7);
}

.hero.hero--story .hero-story-line {
  display: block;
  min-height: 2em;
}

.hero-character {
  display: inline-block;
}

.hero.hero--story h1.is-company-name {
  font-size: clamp(30px, 3.84vw, 59px);
}

.hero-copy .is-company-name {
  animation: company-name-reveal 3s ease-out both;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-shadow: 0 0 12px rgba(3, 31, 66, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  pointer-events: none;
}

.hero-scroll:hover {
  text-decoration: none;
}

.hero-scroll-arrow {
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.hero > .hero-scroll {
  position: absolute;
  top: auto;
  left: 50%;
  z-index: 3;
  margin-top: 0;
  bottom: 120px;
}

.hero:has(#hero-heading.is-company-name) > .hero-scroll {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
  transition: opacity 1.5s ease 4.5s, transform 1.5s ease 4.5s, visibility 0s linear 4.5s;
}

.hero-kanji {
  position: absolute;
  z-index: 2;
  transform: translateY(8px);
  pointer-events: none;
}

.hero:has(.hero-slides > img:first-child.is-active) .hero-kanji {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 10s;
  animation: hero-kanji-reveal 2s ease-out 2s both;
}

.hero .hero-kanji {
  top: 6%;
  right: -0.12em;
  font-family: "Yuji Boku", serif;
  font-weight: 600;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 1;
  letter-spacing: 0.08em;
  font-size: clamp(104px, 13vw, 202px);
  color: rgba(255, 255, 255, 0.45);
  text-shadow: none;
  white-space: nowrap;
  opacity: 0;
  animation: none;
  transition: none;
}

.hero .hero-dialogue {
  position: absolute;
  left: 4%;
  z-index: 2;
  font-family: "Yuji Boku", serif;
  font-size: clamp(104px, 13vw, 202px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  writing-mode: horizontal-tb;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  pointer-events: none;
  bottom: 0em;
  transition-delay: 0s;
}

.hero:has(.hero-slides > img:nth-child(2).is-active) .hero-dialogue {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.5s;
}

.hero .hero-future {
  position: absolute;
  z-index: 2;
  font-family: "Yuji Boku", serif;
  font-size: clamp(104px, 13vw, 202px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.5s ease, transform 1.5s ease;
  pointer-events: none;
  top: auto;
  right: 4%;
  bottom: 0;
  transition-delay: 0s;
}

.hero:has(.hero-slides > img:nth-child(3).is-active) .hero-future {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.5s;
}

.hero:has(#hero-heading.is-company-name) .hero-future {
  opacity: 0;
  transform: translateY(8px);
  transition-delay: 0s;
}

.hero--story .hero-story-line {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(6px);
  transition: opacity 3s ease-out, filter 3s ease-out, transform 3s ease-out;
}

.hero--story .hero-story-line .hero-character {
  opacity: 1;
  transform: none;
  transition: none;
}

.hero--story .hero-story-line.is-line-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.section {
  width: 90%;
  max-width: var(--content);
  margin: 65px auto 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 2px;
  background: currentColor;
}

.visually-hidden,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.skip:focus {
  position: fixed;
  z-index: 5;
  padding: 10px;
  background: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #bba369;
  outline-offset: 4px;
}

.about-top {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr;
  gap: 50px;
}

.about h3 {
  color: var(--teal);
}

.about-copy > p {
  color: var(--body);
  font-size: 16px;
  line-height: 1.95;
}

.factory img {
  aspect-ratio: 1.72;
}

.about-images figcaption {
  margin: 7px 0 0 10px;
  color: var(--body);
  line-height: 1.6;
  font-size: 15px;
}

.about-images figcaption strong {
  color: var(--navy);
}

.staff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 35px;
}

.staff-grid img {
  aspect-ratio: 2.05;
}

.staff-grid figcaption {
  text-align: left;
}

.staff-grid strong {
  display: inline;
}

.city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 55px;
}

.city-grid img {
  aspect-ratio: 1.5;
}

.city-grid figcaption {
  margin: 5px 10px;
  color: var(--body);
  font-size: 15px;
}

.city-grid strong {
  color: var(--navy);
}

.equipment {
  width: 100%;
  max-width: none;
  margin-top: 90px;
  padding: 65px;
  border-radius: 20px;
  background: var(--navy);
  color: #fff;
}

.equipment .eyebrow {
  color: var(--teal);
}

.equipment-top {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 40px;
}

.equipment h2 {
  margin-bottom: 15px;
  font-size: 36px;
}

.equipment h3 {
  margin-bottom: 22px;
  font-size: 22px;
}

.equipment p {
  font-size: 16px;
  line-height: 1.85;
}

.equipment-top img {
  aspect-ratio: 2.08;
  object-position: center 43%;
}

.equipment figcaption {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.number {
  flex-shrink: 0;
  padding: 0 7px;
  background: var(--teal);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px 40px;
  margin-top: 40px;
}

.equipment-grid img {
  aspect-ratio: 1.93;
}

.closing {
  margin: 45px 0 60px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.contact {
  padding: 32px 25px;
  background: linear-gradient( rgba(3, 31, 66, 0.77), rgba(3, 31, 66, 0.9) ), url("../images/photo-6.webp") center 46% / cover;
  color: #fff;
  text-align: center;
}

.contact .eyebrow {
  justify-content: center;
  color: #4caaaa;
}

.contact .eyebrow::after {
  display: none;
}

.contact h2 {
  margin-bottom: 12px;
  font-size: 32px;
}

.contact > p {
  font-size: 15px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  margin-top: 20px;
  padding: 13px 30px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.contact-button:hover {
  background: #e4ecec;
  text-decoration: none;
}

.footer-info {
  max-width: 100%;
}

.footer-group-links a {
  overflow-wrap: anywhere;
}

footer.site-footer {
  display: block;
  padding: 45px 4% 20px;
  background: var(--navy);
  color: #fff;
}

.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.site-footer .footer-info {
  min-width: 0;
}

.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 32px);
}

.site-footer .brand:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer .brand-mark {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 0;
}

.site-footer .brand > .brand-name {
  font-size: inherit;
  line-height: 1.5;
  white-space: nowrap;
}

.site-footer .brand-company {
  font-size: 0.58em;
}

.site-footer .footer-address {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: 1.9;
}

.site-footer .footer-address a {
  color: inherit;
}

.site-footer .footer-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 7px 0 0;
  font-size: 13px;
}

.site-footer .footer-nav > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.site-footer .footer-nav > a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.site-footer .footer-nav > .footer-contact {
  gap: 10px;
  margin-left: 18px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 5px;
}

.site-footer .footer-contact svg {
  flex-shrink: 0;
}

.site-footer .footer-group {
  width: 100%;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-footer .footer-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  line-height: 1.5;
  flex-shrink: 0;
  margin: 0;
  font-size: 14px;
}

.site-footer .footer-group-title::before {
  content: "";
  flex: 0 0 4px;
  height: 25px;
  background: var(--teal);
}

.site-footer .footer-group-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
}

.site-footer .footer-group-links li {
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
  padding: 0 10px;
}

.site-footer .footer-group-links li:first-child {
  padding-left: 0;
}

.site-footer .footer-group-links li:last-child {
  padding-right: 0;
}

.site-footer .footer-group-links li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.site-footer .footer-group-links a {
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 1.8;
  white-space: nowrap;
  transition: color 0.25s ease;
  gap: 6px;
  font-size: 11px;
}

.site-footer .footer-group-links a span {
  flex-shrink: 0;
  color: var(--teal);
  font-family: sans-serif;
  line-height: 1;
  font-size: 15px;
}

.site-footer .footer-group-links a:hover,
.site-footer .footer-group-links a:focus-visible {
  color: var(--teal);
}

.site-footer .footer-copyright {
  display: block;
  margin: 55px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

#company {
  width: 90%;
  max-width: 1000px;
  margin: 100px auto 0;
}

#company .company-grid {
  display: grid;
  grid-template-columns: minmax(0, 30fr) minmax(0, 68fr);
  gap: 24px;
  align-items: start;
}

#company .company-grid > div {
  min-width: 0;
}

#company h2 {
  margin-bottom: 12px;
}

#company .company-sign {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

#company table.company-info {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #00244b;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 15px;
  line-height: 1.6;
}

#company .company-info-office {
  width: 25%;
}

#company .company-info-label {
  width: 19%;
}

#company .company-info th,
#company .company-info td {
  padding: 9px 12px;
  border: 0;
  border-bottom: 7px solid #fff;
  vertical-align: middle;
  background: #e3ebed;
  font-weight: 400;
  text-align: left;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

#company .company-info th.office-heading {
  padding: 9px 6px;
  border-right: 7px solid #fff;
  background: #c5d2d5;
  text-align: center;
  white-space: normal;
}

#company .company-info th.detail-heading {
  padding: 9px 5px;
  border-right: 3px solid #fff;
  text-align: center;
  white-space: nowrap;
}

#company .company-info tr.office-detail > :not(.office-heading) {
  border-bottom-width: 3px;
}

#company .company-info tbody:last-child tr:last-child > * {
  border-bottom: 0;
}

#company .company-info a {
  white-space: nowrap;
}

/* 画面幅ごとの調整 */

@media (max-width: 1100px) {
  .site-footer .footer-top {
    flex-direction: column;
    gap: 22px;
  }

  .site-footer .footer-nav {
    flex-wrap: wrap;
    margin-top: 0;
  }

  .site-footer .footer-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .site-footer .footer-group-links {
    width: 100%;
  }

  .site-footer .footer-nav > a:first-child {
    padding-left: 0;
  }

}

@media (max-width: 1000px) {
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 20px;
  }

  header {
    padding: 15px 25px;
  }

  .brand {
    font-size: 21px;
  }

  nav {
    gap: 16px;
    font-size: 12px;
  }

  .desktop-break {
    display: none;
  }

  .about-top {
    gap: 30px;
  }

  .about-copy > p {
    font-size: 14px;
  }

  .equipment {
    padding: 45px;
  }

  .equipment h3 {
    font-size: 19px;
  }

  .equipment p {
    font-size: 14px;
  }

  .equipment-grid {
    gap: 25px;
  }

  .closing {
    font-size: 19px;
  }

}

@media (max-width: 800px) {
  footer.site-footer {
    padding: 32px 5% 18px;
  }

  .site-footer .brand {
    gap: 8px;
    font-size: 20px;
  }

  .site-footer .brand-mark {
    width: 34px;
    height: 34px;
  }

  .site-footer .footer-nav {
    gap: 14px 0;
    font-size: 11px;
  }

  .site-footer .footer-nav > a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-footer .footer-nav > .footer-contact {
    margin-left: 12px;
    padding: 8px 10px;
  }

  .site-footer .footer-group-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-footer .footer-group-links li {
    border: 0;
  }

  .site-footer .footer-group-links li:first-child {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    border: 0;
  }

  .site-footer .footer-group-links li:last-child {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    border: 0;
  }

  .site-footer .footer-group-links a {
    white-space: normal;
  }

  .site-footer .footer-copyright {
    margin-top: 35px;
  }

}

@media (max-width: 700px) {
  h1 {
    font-size: 31px;
  }

  h2 {
    margin-bottom: 18px;
    font-size: 30px;
  }

  h3 {
    margin-bottom: 20px;
    font-size: 21px;
  }

  header {
    flex-wrap: wrap;
    gap: 14px;
    padding-right: 5%;
    padding-left: 5%;
  }

  .brand {
    font-size: 20px;
  }

  header nav a:last-child {
    padding: 11px 0;
    border: 0;
    border-top: 1px solid #405875;
  }

  header nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  header nav.open {
    display: flex;
  }

  header nav a {
    padding: 11px 0;
    border: 0;
    border-top: 1px solid #405875;
  }

  header .brand {
    gap: 8px;
  }

  header .brand-mark {
    width: 32px;
    height: 32px;
  }

  .hero-copy {
    top: 8%;
    width: 90%;
    padding: 22px 6%;
  }

  .hero-controls {
    right: 15px;
    bottom: 15px;
    gap: 10px;
  }

  .hero.hero--story h1 {
    font-size: clamp(13px, 3.1vw, 20px);
  }

  .hero.hero--story h1.is-company-name {
    font-size: clamp(18px, 4.48vw, 30px);
  }

  .hero > .hero-scroll {
    bottom: 95px;
  }

  .hero .hero-kanji {
    top: 8%;
    right: -0.15em;
    font-size: clamp(75px, 18.2vw, 117px);
  }

  .hero .hero-dialogue,
  .hero .hero-future {
    font-size: clamp(75px, 18.2vw, 117px);
  }

  .section {
    margin-top: 42px;
  }

  .about-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-copy > p {
    font-size: 15px;
  }

  .factory img {
    aspect-ratio: 1.65;
  }

  .about-images figcaption {
    margin-left: 0;
    font-size: 13px;
  }

  .staff-grid {
    gap: 15px;
    margin-top: 23px;
  }

  .staff-grid img {
    aspect-ratio: 1.4;
  }

  .city-grid {
    gap: 15px;
    margin-top: 28px;
  }

  .city-grid img {
    aspect-ratio: 1.25;
  }

  .city-grid figcaption {
    margin-left: 0;
    font-size: 13px;
  }

  .equipment {
    width: 94%;
    margin-top: 45px;
    padding: 28px 20px;
    border-radius: 14px;
  }

  .equipment-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .equipment h2 {
    font-size: 30px;
  }

  .equipment h3 {
    font-size: 21px;
  }

  .equipment p {
    font-size: 15px;
  }

  .equipment-top img {
    aspect-ratio: 1.7;
  }

  .equipment figcaption {
    gap: 6px;
    font-size: 11px;
  }

  .number {
    padding-right: 5px;
    padding-left: 5px;
    font-size: 12px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 15px;
    margin-top: 25px;
  }

  .equipment-grid img {
    aspect-ratio: 1.4;
  }

  .closing {
    margin-top: 28px;
    margin-bottom: 35px;
    font-size: 16px;
  }

  .contact {
    padding: 28px 5%;
  }

  .contact h2 {
    font-size: 28px;
  }

  .contact > p {
    font-size: 13px;
  }

  .contact-button {
    gap: 20px;
    width: 100%;
    max-width: 350px;
    padding: 12px 15px;
    font-size: 14px;
  }

  header .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    background: transparent;
    color: #fff;
  }

  header .menu span {
    display: block;
    flex: none;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  header .menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  header .menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  header .menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  header #nav {
    display: none;
    width: 100%;
  }

  header #nav.open {
    display: flex;
  }

  .hero {
    aspect-ratio: 3 / 4;
  }

  .hero-slides > img,
  .hero.hero--story .hero-slides > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero .hero-slides > img:nth-child(1) {
    object-position: 40% center;
  }

  .hero .hero-slides > img:nth-child(2) {
    object-position: 25% center;
  }

  .hero .hero-slides > img:nth-child(3) {
    object-position: 50% center;
  }

  #company {
    margin-top: 45px;
  }

}

@media (min-width: 901px) {
  #company .company-grid {
    align-items: stretch;
  }

  #company table.company-info {
    height: 100%;
    align-self: stretch;
  }

  #company .company-info th,
  #company .company-info td {
    padding-top: 14px;
    padding-bottom: 14px;
  }

}

@media (max-width: 900px) {
  #company .company-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  #company .company-sign {
    max-width: 420px;
  }

}

@media (max-width: 540px) {
  #company table.company-info {
    font-size: 13px;
  }

  #company .company-info-office {
    width: 26%;
  }

  #company .company-info-label {
    width: 22%;
  }

  #company .company-info th,
  #company .company-info td {
    padding: 8px 5px;
  }

  #company .company-info th.office-heading,
  #company .company-info th.detail-heading {
    padding: 8px 4px;
  }

}

/* アニメーション */

@keyframes company-name-reveal {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(8px);
  }

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

}

@keyframes hero-kanji-reveal {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(8px);
  }

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

}

/* 動きを減らす設定 */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slides > img,
  .hero.hero--story .hero-slides > img {
    transition: none;
  }

  .hero-copy .is-company-name {
    animation: none;
  }

  .hero:has(#hero-heading.is-company-name) > .hero-scroll {
    transition: none;
  }

  .hero:has(.hero-slides > img:first-child.is-active) .hero-kanji {
    transform: none;
  }

  .hero .hero-dialogue,
  .hero .hero-future,
  .hero--story .hero-story-line {
    transition: none;
  }

}
