/*
Theme Name: Netlinks Original
Description: ネットリンクス株式会社のオリジナルテーマ
Version: 0.1.1
Text Domain: netlinks-original
*/

h1,
h2,
h3,
h4,
h5,
h6,
.rich_font,
.p-vertical {
  font-family:
    Arial, "Hiragino Sans", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
    "游ゴシック", YuGothic, "メイリオ", Meiryo, sans-serif;
  font-weight: 600;
}

h2 {
  letter-spacing: 1px;
}

:root {
  --green: #9bc147;
  --ink: #333;
  --muted: #666;
  --line: #e6e9e0;
  --surface: #f7f9f3;
  --wrap: 1200px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family:
    Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--green);
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: #fff;
  padding: 8px 12px;
}
.skip-link:focus {
  top: 12px;
}
:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  max-width: 1600px;
  margin: auto;
  padding-right: 24px;
}
.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  width: 250px;
  padding: 14px 20px;
  background: var(--green);
}
.site-logo img {
  display: block;
  width: 195px;
  max-height: 64px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.site-nav__list,
.site-nav__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list {
  display: flex;
  align-items: stretch;
  gap: 2px;
}
.site-nav__list > li {
  position: relative;
}
.site-nav__list > li > a {
  display: flex;
  align-items: center;
  min-height: 90px;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.site-nav__list > li:hover > a,
.site-nav__list > li.current-menu-item > a {
  color: var(--green);
}
.site-nav__list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  width: 240px;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.site-nav__list li:hover > .sub-menu,
.site-nav__list li:focus-within > .sub-menu {
  display: block;
}
.site-nav__list .sub-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 14px;
}
.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 52px;
  padding: 9px 24px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s;
}
.button:hover {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.button--outline {
  background: transparent;
  color: var(--green);
}
.button--outline:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* メインビジュアル：横幅いっぱいのイベント画像に案内パネルを重ねます。 */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 10%, #fff 0, transparent 60%),
    linear-gradient(135deg, #f3f8ed, #e8f4fa 55%, #d8edf9);
}
.home-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(600px, 46vw, 880px);
  max-width: 1920px;
  margin-inline: auto;
  padding: 60px clamp(32px, 5vw, 96px);
}
.home-hero__visual {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 0;
  width: min(74%, 1440px);
  transform: translateY(-50%);
}
.home-hero__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(270deg, #edf6f8, transparent 18%);
  pointer-events: none;
}
.home-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
}
.home-hero__content {
  width: min(36vw, 450px);
  padding: 36px 32px 40px;
  border-top: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 64px rgba(38, 77, 94, 0.14);
  backdrop-filter: blur(8px);
  color: var(--ink);
}
.home-hero__announcement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}
.home-hero__announcement::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(155, 193, 71, 0.15);
  content: "";
}
.home-hero__title {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 36px);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 1px;
}
.home-hero__subtitle {
  display: table;
  margin: 12px 0 24px;
  padding-bottom: 4px;
  border-bottom: 3px solid var(--green);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
}
.home-hero__schedule {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 26px;
  font-family: Arial, sans-serif;
}
.home-hero__schedule time {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
}
.home-hero__weekday {
  font-size: 12px;
  font-weight: 700;
}
.home-hero__time {
  font-size: 16px;
}
.home-hero__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
  padding: 16px 22px;
  border: 2px solid var(--green);
  background: var(--green);
  color: #243019;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  box-shadow: 0 4px 0 rgba(36, 48, 25, 0.16);
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}
.home-hero__button span {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.2s;
}
.home-hero__button:hover,
.home-hero__button:focus-visible {
  background: #fff;
  color: #243019;
  box-shadow: 0 2px 0 rgba(36, 48, 25, 0.16);
}
.home-hero__button:hover span {
  transform: translateX(4px);
}
@media (max-width: 1100px) {
  .home-hero__inner {
    display: block;
    min-height: 0;
    max-width: 760px;
    padding: 0 0 36px;
  }
  .home-hero__visual {
    position: relative;
    top: auto;
    width: 100%;
    transform: none;
  }
  .home-hero__visual::after {
    display: none;
  }
  .home-hero__content {
    position: relative;
    width: calc(100% - 48px);
    margin: -28px auto 0;
    padding: 28px 32px 32px;
  }
  .home-hero__title {
    font-size: clamp(26px, 4vw, 34px);
  }
  .home-hero__button {
    max-width: 400px;
  }
}
@media (max-width: 480px) {
  .home-hero__content {
    width: calc(100% - 32px);
    margin-top: -12px;
    padding: 22px 20px 28px;
  }
  .home-hero__announcement {
    margin-bottom: 12px;
    font-size: 14px;
  }
  .home-hero__subtitle {
    margin: 8px 0 18px;
    font-size: 22px;
  }
  .home-hero__schedule {
    margin-bottom: 20px;
    gap: 4px 8px;
  }
  .home-hero__schedule time {
    font-size: 26px;
  }
  .home-hero__time {
    font-size: 14px;
  }
  .home-hero__button {
    padding-inline: 16px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__button,
  .home-hero__button span {
    transition: none;
  }
}

.news-ticker {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.news-ticker .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding-block: 18px;
  font-size: 14px;
}
.news-ticker time {
  flex-shrink: 0;
  color: var(--muted);
}
.news-ticker__category {
  flex-shrink: 0;
  padding: 3px 16px;
  border: 1px solid var(--green);
  color: var(--ink);
  font-size: 12px;
}
.news-ticker__category:hover {
  background: var(--surface);
}
.news-ticker__title {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  line-height: 1.7;
}
.news-ticker__title span {
  flex-shrink: 0;
  color: var(--green);
  font-size: 24px;
}

.home-section {
  padding: 95px 0 105px;
}
.home-section--muted {
  background: var(--surface);
}
.section-heading {
  text-align: center;
  margin-bottom: 42px;
}
.section-heading h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
}
.section-heading p {
  margin: 10px 0 0;
  font-size: 14px;
  letter-spacing: 0.1em;
}
.section-intro {
  max-width: 850px;
  margin: -5px auto 46px;
  text-align: center;
}
.section-more {
  text-align: center;
  margin: 40px 0 0;
}
.news-list {
  max-width: 1000px;
  margin: auto;
}
.news-list article {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 17px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.news-list time {
  flex: none;
  color: #777;
}
.news-list__category {
  flex: none;
  min-width: 90px;
  padding: 2px 12px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  text-align: center;
}
.news-list h3,
.news-list h2 {
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.news-list a:hover {
  text-decoration: underline;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}
.card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.content-card {
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.content-card > a {
  display: block;
  height: 100%;
}
.content-card__image {
  height: 215px;
  overflow: hidden;
  background: #e9ece6;
}
.content-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.content-card:hover img {
  transform: scale(1.05);
}
.content-card__body {
  padding: 22px;
}
.content-card__body time {
  display: block;
  margin-bottom: 10px;
  color: #777;
  font-size: 13px;
}
.content-card__body .content-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
}
.content-card__body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  margin: 12px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 320px;
  background: #758864;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.13)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  margin: 0 0 8px;
  font-size: 16px;
  letter-spacing: 0.2em;
}
.page-hero .eyebrow:empty {
  display: none;
}
.page-hero__title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.45;
  white-space: pre-line;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  padding-block: 18px;
  color: #777;
  font-size: 12px;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.entry {
  max-width: 1000px;
  min-height: 300px;
  padding-top: 45px;
  padding-bottom: 100px;
}
.entry__title {
  margin: 0 0 30px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--green);
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.5;
}
.entry__date {
  margin: 0 0 8px;
  color: #777;
  font-size: 14px;
}
.entry__lead {
  font-size: 18px;
}
.entry__thumbnail {
  margin-bottom: 35px;
}
.entry__thumbnail img {
  display: block;
  max-height: 560px;
  width: 100%;
  object-fit: cover;
}
.entry__content {
  overflow-wrap: anywhere;
  line-height: 1.9;
}
.entry__content > *:first-child {
  margin-top: 0;
}
.entry__content h2 {
  margin: 2.2em 0 1em;
  padding: 0.4em 0.65em;
  border-left: 5px solid var(--green);
  background: var(--surface);
  font-size: 1.5em;
  line-height: 1.5;
}
.entry__content h3 {
  margin: 2em 0 0.7em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--line);
  font-size: 1.28em;
}
.entry__content p {
  margin: 0 0 1.5em;
}
.entry__content a:not(.wp-block-button__link) {
  color: var(--green);
  text-decoration: underline;
}
.entry__content a:not(.wp-block-button__link):hover {
  text-decoration: none;
}
.entry__content ul,
.entry__content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.entry__content li {
  margin-bottom: 0.35em;
}
.entry__content table {
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  margin: 1.7em 0;
}
.entry__content th,
.entry__content td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
}
.entry__content th {
  background: var(--surface);
}
.entry__content img {
  max-width: 100%;
  height: auto;
}
.group-activities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0 56px;
}
.entry__content a.group-activity {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px 24px;
  border: 1px solid #e1e6d8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.group-activity__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 156px;
}
.entry__content .group-activity__logo img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.group-activity__name {
  font-weight: 700;
  line-height: 1.8;
}
.entry__content .group-activity:hover,
.entry__content .group-activity:focus-visible {
  border-color: var(--green);
  box-shadow: 0 4px 16px rgb(0 0 0 / 6%);
}
@media (max-width: 640px) {
  .group-activities {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .entry__content a.group-activity {
    padding: 24px 20px;
    gap: 16px;
  }
}
.entry__content iframe {
  max-width: 100%;
}
.entry__content .wp-block-columns {
  display: flex;
  gap: 24px;
}
.entry__content .wp-block-column {
  flex: 1;
}
.entry__back {
  margin-top: 45px;
  text-align: center;
}
.entry__content .styled_h2 {
  border: 0;
  background: transparent;
  text-align: center;
}
.entry__content .styled_h3 {
  border: 0;
  text-align: center;
}
.entry__content .design_button a {
  display: inline-block;
  padding: 12px 30px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
}
.entry__content .design_button a:hover {
  background: var(--green);
}

/* 採用情報：余白はCSSでまとめて管理します。 */
.entry__content .recruit-content h2 {
  margin: 64px 0 28px;
  padding: 16px 24px;
  font-size: clamp(28px, 3vw, 36px);
}
.entry__content .recruit-content h3 {
  margin: 48px 0 24px;
  padding-bottom: 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.5;
}
.entry__content .recruit-content p {
  margin: 0 0 24px;
}
.entry__content .recruit-content .wp-block-separator {
  width: 100%;
  max-width: none;
  height: 1px;
  margin: 48px 0;
  border: 0;
  background: var(--line);
}
.entry__content .recruit-content .wp-block-separator + h2,
.entry__content .recruit-content .wp-block-separator + h3 {
  margin-top: 0;
}
.entry__content .recruit-content .wp-block-columns {
  gap: 32px;
  margin-bottom: 36px;
}
.entry__content .recruit-content .wp-block-column {
  min-width: 0;
}
.entry__content .recruit-content .wp-block-column .wp-block-group {
  gap: 0;
}
.entry__content .recruit-content .wp-block-column p:last-child {
  margin-bottom: 0;
}
.entry__content .recruit-content .wp-block-image {
  margin-top: 0;
  margin-bottom: 16px;
}
.entry__content .recruit-content .wp-block-gallery {
  --wp--style--unstable-gallery-gap: 32px;
  gap: 32px;
  margin: 0 0 24px;
}
.entry__content .recruit-content .wp-block-gallery .wp-block-image {
  margin: 0;
}
.entry__content .recruit-content .wp-block-table {
  margin: 0 0 24px;
}
.entry__content .recruit-content table {
  margin: 0;
}
.entry__content .recruit-content td {
  padding: 16px 20px;
}
.entry__content .recruit-content td:first-child {
  width: 160px;
  background: var(--surface);
}
.entry__content .recruit-content .recruit-apply {
  margin-top: 64px;
  padding: 36px 32px 40px;
  border-top: 3px solid var(--green);
  background: var(--surface);
}
.entry__content .recruit-apply h2 {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(24px, 2.5vw, 30px);
}
.entry__content .recruit-apply .wp-block-columns {
  margin: 0;
}
.entry__content .recruit-apply .wp-block-buttons {
  justify-content: center;
  gap: 16px 24px;
}
.entry__content .recruit-apply .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  min-height: 60px;
  padding: 16px 28px;
  border: 2px solid var(--green);
  background: var(--green);
  color: #243019;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.2s;
}
.entry__content .recruit-apply .wp-block-button__link:hover {
  background: #fff;
  color: #243019;
}
.entry__content .recruit-apply .wp-block-button__link:focus-visible {
  outline: 2px solid #243019;
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .entry__content .recruit-content h2 {
    margin-top: 44px;
    padding: 12px 16px;
  }
  .entry__content .recruit-content h3 {
    margin-top: 36px;
    margin-bottom: 20px;
  }
  .entry__content .recruit-content .wp-block-separator {
    margin: 36px 0;
  }
  .entry__content .recruit-content .wp-block-columns {
    gap: 28px;
    margin-bottom: 28px;
  }
  .entry__content .recruit-content .wp-block-gallery {
    --wp--style--unstable-gallery-gap: 16px;
    gap: 16px;
  }
  .entry__content .recruit-content td {
    padding: 12px;
    font-size: 14px;
  }
  .entry__content .recruit-content td:first-child {
    width: 88px;
  }
  .entry__content .recruit-content .recruit-apply {
    margin-top: 44px;
    padding: 28px 20px;
  }
  .entry__content .recruit-apply h2 {
    margin-top: 0;
    padding: 0;
  }
  .entry__content .recruit-apply .wp-block-columns {
    margin: 0;
  }
  .entry__content .recruit-apply .wp-block-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .entry__content .recruit-apply .wp-block-button,
  .entry__content .recruit-apply .wp-block-button__link {
    width: 100%;
    min-width: 0;
  }
}

.archive-content {
  min-height: 350px;
  padding-block: 50px 100px;
}
.archive-content > .card-grid {
  margin-top: 25px;
}
.category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-bottom: 60px;
}
.category-nav a {
  padding: 14px 0;
  border-top: 3px solid transparent;
  font-size: 16px;
  font-weight: 600;
}
.category-nav a:hover,
.category-nav a[aria-current="page"] {
  border-top-color: var(--green);
  color: var(--green);
}
.news-list--archive {
  max-width: none;
}
.news-list--archive h2 {
  font-size: 16px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 45px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border: 1px solid var(--line);
}
.pagination .current,
.pagination a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.archive-intro {
  max-width: 850px;
  margin: -5px auto 45px;
  text-align: center;
}
.service-rows {
  display: grid;
  gap: 5px;
}
.service-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 440px;
  background: #71826b;
  background-image:
    linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.62)),
    var(--service-image);
  background-size: cover;
  background-position: center;
}
.service-row:nth-child(even) {
  justify-content: flex-start;
  background-image:
    linear-gradient(270deg, transparent, rgba(0, 0, 0, 0.62)),
    var(--service-image);
}
.service-row__body {
  width: 50%;
  padding: 45px 5%;
  color: #fff;
}
.service-row h2 {
  margin: 0 0 20px;
  font-size: clamp(26px, 2.7vw, 38px);
}
.service-row p {
  max-height: 8em;
  overflow: hidden;
  margin-bottom: 28px;
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.company-card {
  background: #f5f7f1;
}
.company-card__image {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 255px;
  padding: 30px;
  background: #839476;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent),
    var(--company-image);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.company-card h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.4;
}
.company-card small {
  display: block;
  font-size: 15px;
  font-weight: 400;
}
.company-card p {
  min-height: 94px;
  margin: 0;
  padding: 25px 30px;
  font-size: 16px;
}
.company-card a:hover .company-card__image {
  filter: brightness(0.88);
}

.footer-banners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.footer-banners a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 15px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--banner-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
}
.footer-banners a:hover {
  background-blend-mode: multiply;
  color: #fff;
}
.footer-banners span {
  font-size: 22px;
  letter-spacing: 0.06em;
}
.site-footer {
  background: #f2f4ef;
}
.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 48px 0 35px;
  border-bottom: 1px solid #dce0d7;
}
.site-footer__logo img {
  display: block;
  width: 220px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}
.social-links a:hover {
  text-decoration: underline;
}
.site-footer__menus {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 35px 0;
}
.site-footer__menus:empty {
  display: none;
}
.site-footer__menus ul,
.site-footer__bottom-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer__menus li {
  margin-bottom: 6px;
  font-size: 14px;
}
.site-footer__bottom-menu {
  border-top: 1px solid #dce0d7;
  padding: 20px 0;
}
.site-footer__bottom-menu ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
}
.site-footer__recaptcha {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
}
.site-footer__copy {
  margin: 0;
  padding: 16px 20px;
  background: #4c5543;
  color: #fff;
  font-size: 12px;
  text-align: center;
}
.back-to-top {
  position: fixed;
  z-index: 10;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  color: #fff;
  font-size: 22px;
}
.back-to-top:hover {
  background: var(--green);
  color: #fff;
}
/* reCAPTCHAの保護に関する説明はフッターに表示します。保護機能は有効のまま維持します。 */
.grecaptcha-badge {
  visibility: hidden;
}

@media (max-width: 1000px) {
  .site-nav__list > li > a {
    padding-inline: 12px;
  }
  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  body {
    font-size: 14px;
  }
  .wrap {
    width: min(calc(100% - 32px), var(--wrap));
  }
  .site-header__inner {
    min-height: 66px;
    padding-right: 15px;
  }
  .site-logo {
    width: 170px;
    padding: 10px;
  }
  .site-logo img {
    max-height: 46px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    background: transparent;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav__list {
    display: block;
  }
  .site-nav__list > li > a {
    min-height: 0;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
  }
  .site-nav__list .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 8px 20px;
    box-shadow: none;
  }
  .site-nav__list .sub-menu a {
    padding: 6px 20px;
  }
  .news-ticker .wrap {
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 12px;
  }
  .news-ticker__title {
    flex-basis: 100%;
    font-size: 14px;
  }
  .home-section {
    padding: 65px 0 70px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .section-intro {
    margin-bottom: 30px;
  }
  .news-list article {
    flex-wrap: wrap;
    gap: 6px 10px;
  }
  .news-list h3,
  .news-list h2 {
    flex-basis: 100%;
  }
  .card-grid,
  .card-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .content-card__image {
    height: 140px;
  }
  .content-card__body {
    padding: 14px;
  }
  .content-card__body .content-card__title {
    font-size: 15px;
  }
  .content-card__body p {
    font-size: 12px;
  }
  .about-section__intro {
    padding: 72px 0 90px;
  }
  .about-section__intro p {
    font-size: 14px;
  }
  .page-hero {
    min-height: 210px;
  }
  .entry {
    padding-top: 25px;
    padding-bottom: 70px;
  }
  .entry__content .wp-block-columns {
    display: block;
  }
  .archive-content {
    padding-block: 35px 70px;
  }
  .footer-banners {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-banners a {
    min-height: 130px;
  }
  .footer-banners span {
    font-size: 17px;
  }
  .site-footer__top {
    display: block;
    padding: 35px 0;
  }
  .site-footer__logo img {
    width: 180px;
  }
  .social-links {
    margin-top: 23px;
  }
  .site-footer__menus {
    grid-template-columns: repeat(2, 1fr);
  }
  .back-to-top {
    right: 10px;
    bottom: 10px;
  }
}
@media (max-width: 420px) {
  .card-grid,
  .card-grid--four {
    grid-template-columns: 1fr;
  }
  .content-card__image {
    height: 200px;
  }
}
@media (max-width: 760px) {
  .service-row,
  .service-row:nth-child(even) {
    justify-content: flex-end;
    min-height: 360px;
    background-image:
      linear-gradient(0deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.08)),
      var(--service-image);
  }
  .service-row__body {
    width: 100%;
    padding: 80px 24px 30px;
  }
  .service-row h2 {
    font-size: 25px;
  }
  .service-row p {
    font-size: 13px;
  }
  .company-grid {
    grid-template-columns: 1fr;
  }
  .company-card__image {
    min-height: 210px;
  }
  .company-card p {
    min-height: 0;
    padding: 20px;
    font-size: 14px;
  }
}

/* 追従ヘッダー：WordPressの管理バーとページ内リンクの移動位置を考慮します。 */
.admin-bar .site-header {
  top: 32px;
}
html {
  scroll-padding-top: 110px;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}

/* お客様の声の詳細：元の本文幅を維持し、記事を中央に配置します。 */
.voice-layout {
  max-width: 770px;
  padding-bottom: 100px;
}
.voice-entry {
  min-width: 0;
  padding-top: 40px;
}
.voice-entry__header {
  margin-bottom: 30px;
}
.voice-entry__category {
  display: inline-flex;
  align-items: center;
  min-height: 70px;
  border-top: 3px solid var(--green);
  font-weight: 600;
}
.voice-entry__image img {
  display: block;
  width: 100%;
  aspect-ratio: 770 / 440;
  object-fit: cover;
}
.voice-entry__title {
  margin: 0;
  padding: 30px 40px;
  border: 1px solid #ddd;
  font-size: 24px;
  line-height: 1.5;
}
.voice-entry__content {
  color: #000;
  line-height: 2.4;
}
.voice-entry__content .styled_h3 {
  margin: 0 0 30px;
  padding: 6px 0 6px 16px;
  border: 0;
  border-left: 3px solid var(--green);
  font-size: 22px;
  line-height: 1.4;
  text-align: left;
}
.voice-entry__content p {
  margin-bottom: 32px;
}
.voice-entry__content .well2 {
  padding: 1.1em 2em;
  border: 1px solid #ddd;
}
.entry__content img.aligncenter,
.voice-entry__content .aligncenter {
  display: block;
  margin-inline: auto;
}
.interview-answer {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  margin-bottom: 48px;
}
.interview-answer__person {
  flex: 0 0 80px;
  margin: 0;
  text-align: center;
}
.interview-answer__person img {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.interview-answer__person figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
}
.interview-answer__text {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 80px;
  padding: 22px 28px;
  border: 2px solid #ffdfdf;
  border-radius: 10px;
  background: #ffdfdf;
  line-height: 2;
}
.interview-answer__text::before {
  position: absolute;
  top: 30px;
  right: 100%;
  content: "";
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid #ffdfdf;
}
.interview-answer__text > :last-child {
  margin-bottom: 0;
}
/* SOLARISの4種類の吹き出しショートコードに対応します。 */
.interview-answer--legacy {
  --balloon-background: #ffdfdf;
  --balloon-border: #ffdfdf;
}
.interview-answer--legacy.speech_balloon_left2 {
  --balloon-background: #fff;
  --balloon-border: #ff5353;
}
.interview-answer--legacy.speech_balloon_right1 {
  --balloon-background: #ccf4ff;
  --balloon-border: #ccf4ff;
}
.interview-answer--legacy.speech_balloon_right2 {
  --balloon-background: #fff;
  --balloon-border: #0789b5;
}
.interview-answer--legacy .interview-answer__text {
  border-color: var(--balloon-border);
  background: var(--balloon-background);
  color: #000;
}
.interview-answer--legacy .interview-answer__text::before {
  border-right-color: var(--balloon-border);
}
.interview-answer--legacy .interview-answer__text::after {
  position: absolute;
  top: 30px;
  right: calc(100% - 3px);
  content: "";
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid var(--balloon-background);
}
.interview-answer--right {
  flex-direction: row-reverse;
}
.interview-answer--right .interview-answer__text::before {
  right: auto;
  left: 100%;
  border-right: 0;
  border-left: 12px solid var(--balloon-border);
}
.interview-answer--right .interview-answer__text::after {
  right: auto;
  left: calc(100% - 3px);
  border-right: 0;
  border-left: 12px solid var(--balloon-background);
}
.voice-related {
  margin-top: 60px;
}
.voice-related > h2 {
  padding: 18px 24px;
  background: var(--green);
  color: #fff;
  font-size: 20px;
}
.voice-related .content-card__image {
  height: 150px;
}
.voice-related .content-card__body p {
  display: none;
}
.voice-related .content-card__body .content-card__title {
  font-size: 16px;
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 86px;
  }
  .voice-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 35px;
    padding-bottom: 60px;
  }
  .voice-entry {
    padding-top: 15px;
  }
  .voice-entry__category {
    min-height: 55px;
    font-size: 13px;
  }
  .voice-entry__title {
    padding: 22px;
    font-size: 18px;
  }
  .voice-entry__content .styled_h3 {
    font-size: 18px;
  }
  .voice-entry__content .well2 {
    padding: 14px 16px;
    line-height: 1.8;
  }
  .interview-answer {
    gap: 16px;
    margin-bottom: 32px;
  }
  .interview-answer__person {
    flex-basis: 55px;
  }
  .interview-answer__person img {
    width: 55px;
    height: 55px;
  }
  .interview-answer__text {
    padding: 16px;
  }
}

/* バナーの文字がぼやけないように、背景だけを動かします。 */
.footer-banners a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: none;
}
.footer-banners a::before,
.footer-banners a::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
}
.footer-banners a::before {
  background: var(--banner-image) center / cover;
  transition: transform 0.45s ease;
}
.footer-banners a::after {
  background: rgba(0, 0, 0, 0.5);
  transition: background-color 0.45s ease;
}
.footer-banners a:hover::before,
.footer-banners a:focus-visible::before {
  transform: scale(1.08);
}
.footer-banners a:hover::after,
.footer-banners a:focus-visible::after {
  background: rgba(0, 0, 0, 0.3);
}
.footer-banners span {
  transition: transform 0.45s ease;
}
.footer-banners a:hover span,
.footer-banners a:focus-visible span {
  transform: translateY(-3px);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .footer-banners a::before,
  .footer-banners a::after,
  .footer-banners span {
    transition: none;
  }
  .footer-banners a:hover::before,
  .footer-banners a:focus-visible::before,
  .footer-banners a:hover span,
  .footer-banners a:focus-visible span {
    transform: none;
  }
}

/* 全幅のヘッダー、元のロゴ画像、サイト内検索の表示設定です。 */
.site-header__inner {
  max-width: none;
  margin: 0;
  padding-right: 0;
}
.site-logo {
  flex: 0 0 250px;
  width: 250px;
  padding: 0;
  background: var(--green);
}
.site-logo img {
  width: 250px;
  max-height: none;
  filter: none;
}
.site-nav {
  margin-left: auto;
}
.search-toggle {
  display: grid;
  place-items: center;
  align-self: stretch;
  flex: 0 0 90px;
  border: 0;
  border-left: 1px solid #eee;
  background: #fff;
  color: #333;
}
.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
  background: #f3f5ef;
  color: var(--green);
}
.search-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.header-search {
  position: absolute;
  top: 100%;
  right: 0;
  width: min(480px, 100%);
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 20px #0002;
}
.header-search[hidden] {
  display: none;
}
.header-search form {
  display: flex;
  gap: 8px;
}
.header-search input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
}
.header-search button {
  flex: 0 0 70px;
  border: 0;
  background: var(--green);
  color: #fff;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.interview-question {
  font-weight: 600;
}
/* 会社紹介：3つの紹介内容を常に表示し、写真を左右交互に配置します。 */
.about-section {
  background: #f7f9f3;
}
.about-section__intro {
  padding: 90px 0;
  background:
    linear-gradient(#0005, #0005),
    var(--about-image) center 28% / cover;
  color: #fff;
  text-align: center;
}
.about-section__intro h2 {
  text-wrap: balance;
  margin: 0 0 24px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.5;
}
.about-section__intro p {
  margin: 0;
  font-size: 18px;
  line-height: 2;
}
.about-section__stories {
  padding-block: 80px 100px;
}
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-story + .about-story {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid #dce4d0;
}
.about-story:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}
.about-story:nth-child(even) .about-story__images {
  order: 2;
}
.about-story__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.about-story__images img {
  display: block;
  width: 100%;
  height: 165px;
  object-fit: cover;
}
.about-story__images img:first-child {
  grid-column: 1 / -1;
  height: 285px;
}
.about-story__images img:first-child:nth-last-child(2) {
  grid-column: auto;
  height: 330px;
}
.about-story__images img:last-child:nth-child(2) {
  height: 330px;
  margin-top: 32px;
}
.about-story__text .eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.2;
}
.about-story__text h3 {
  margin: 0 0 24px;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.65;
}
.about-story__text > p:not(.eyebrow) {
  margin: 0;
  font-size: 15px;
  line-height: 2.1;
}
.about-story__text .button {
  margin-top: 26px;
}
@media (max-width: 1000px) and (min-width: 761px) {
  .site-logo {
    flex-basis: 210px;
    width: 210px;
  }
  .site-logo img {
    width: 210px;
  }
  .search-toggle {
    flex-basis: 60px;
  }
  .site-nav__list > li > a {
    padding-inline: 10px;
  }
}
@media (max-width: 760px) {
  .site-logo {
    flex-basis: 200px;
    width: 200px;
  }
  .site-logo img {
    width: 200px;
  }
  .menu-toggle {
    margin-left: auto;
    margin-right: 8px;
  }
  .search-toggle {
    flex-basis: 56px;
  }
  .about-section__intro {
    padding: 60px 0;
  }
  .about-section__intro p {
    font-size: 15px;
  }
  .about-section__stories {
    padding-block: 45px 60px;
  }
  .about-story,
  .about-story:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-story:nth-child(even) .about-story__images {
    order: 0;
  }
  .about-story + .about-story {
    margin-top: 45px;
    padding-top: 45px;
  }
  .about-story__images img {
    height: 120px;
  }
  .about-story__images img:first-child {
    height: 210px;
  }
  .about-story__images img:first-child:nth-last-child(2),
  .about-story__images img:last-child:nth-child(2) {
    height: 235px;
  }
  .about-story__text .eyebrow {
    font-size: 30px;
  }
}

/* 共通ナビゲーション：フッターとサイトマップで同じリンク一覧を使います。 */
.site-footer__menus {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  padding-block: 42px;
}
.site-footer__heading {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.site-footer__menus li {
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.7;
}
.site-footer__menus a {
  display: inline-block;
}
.site-footer__menus a:hover,
.site-footer__bottom-menu a:hover {
  text-decoration: underline;
}
.social-links {
  gap: 10px;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #000;
}
.social-links svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.social-links a:hover {
  color: var(--green);
}
.sitemap__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 56px;
}
.sitemap__groups h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green);
  font-size: 22px;
}
.sitemap__groups ul {
  margin: 0;
  padding-left: 1.25em;
}
.sitemap__groups li {
  margin-bottom: 10px;
}
.sitemap a:hover {
  text-decoration: underline;
}
.voice-entry__content .styled_h3 {
  background: transparent;
}
@media (max-width: 1100px) {
  .site-footer__menus {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    background: transparent;
    margin-left: auto;
    margin-right: 12px;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 12px 20px #0002;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav__list {
    display: block;
  }
  .site-nav__list > li > a {
    min-height: 0;
    padding: 12px 20px;
    border-top: 1px solid var(--line);
  }
  .site-nav__list .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 8px 20px;
    box-shadow: none;
  }
}
@media (max-width: 760px) {
  .site-footer__menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .site-footer__heading {
    font-size: 15px;
  }
  .sitemap__groups {
    grid-template-columns: 1fr;
  }
}

.voice-entry__content .interview-question {
  margin: 0 0 32px;
  padding: 1.1em 2em;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 16px;
  line-height: 2.4;
  text-align: left;
}
@media (max-width: 760px) {
  .voice-entry__content .interview-question {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.8;
  }
}

/* お知らせ一覧と詳細ページで、元のデザインに合わせたリンク付きカテゴリーラベルを共用します。 */
.news-categories {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.news-category-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  min-height: 30px;
  padding: 3px 20px;
  border-radius: 999px;
  background: var(--category-color, var(--green));
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.2s;
}
.news-category-tag:hover,
.news-category-tag:focus-visible {
  background: var(--category-hover, var(--green));
  color: #fff;
  text-decoration: none;
}
.news-list--categorized {
  border: 1px solid #ddd;
}
.news-list--categorized article {
  display: grid;
  grid-template-columns: 80px 120px minmax(0, 1fr);
  align-items: center;
  min-height: 72px;
  gap: 14px;
  padding: 20px 30px;
  border-bottom-color: #ddd;
}
.news-list--categorized article:last-child {
  border-bottom: 0;
}
.news-list--categorized time {
  color: #999;
  font-size: 14px;
}
.news-list--categorized h2 {
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.news-list .news-category-tag:hover {
  text-decoration: none;
}
.entry__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 20px;
}
.entry__meta .entry__date {
  margin: 0;
}
@media (max-width: 760px) {
  .category-nav {
    gap: 8px 24px;
    margin-bottom: 32px;
  }
  .category-nav a {
    padding: 10px 0;
    font-size: 14px;
  }
  .news-list--categorized article {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 18px 16px;
  }
  .news-list--categorized h2 {
    grid-column: 1 / -1;
    font-size: 15px;
  }
}

/* デスクトップのヘッダーメニューは均等幅で配置します。 */
@media (min-width: 1101px) {
  .site-nav {
    flex: 1;
    min-width: 0;
    max-width: 680px;
    margin-inline: auto;
    padding-inline: clamp(16px, 2vw, 40px);
  }
  .site-nav__list {
    gap: 0;
  }
  .site-nav__list > li {
    flex: 1;
  }
  .site-nav__list > li > a {
    justify-content: center;
    padding-inline: 12px;
  }
}

/* モバイルメニューの開閉と、三本線から閉じるボタンへの変形。 */
@media (max-width: 1100px) {
  .site-nav {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition:
      opacity 240ms ease,
      transform 240ms ease,
      visibility 0s linear 240ms;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  .menu-toggle span {
    flex-shrink: 0;
    transform-origin: center;
    transition: transform 240ms ease, opacity 180ms ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
@media (max-width: 760px) {
  .site-nav {
    max-height: calc(100dvh - 66px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .menu-toggle span {
    transition: none;
  }
}
