:root {
  --navy: #1a3057;
  --navy-dark: #0f1e38;
  --navy-mid: #233f6e;
  --blue-dark: #003f88;
  --blue-accent: #2a6ebb;
  --blue-light: #4a90d9;
  --gold: #c8a84b;
  --gold-light: #e8c96e;
  --white: #fff;
  --off-white: #f5f7fa;
  --light-gray: #e8ecf2;
  --mid-gray: #8a99b0;
  --text-body: #111;
  --shadow-sm: 0 2px 8px rgba(10, 25, 55, 0.1);
  --shadow-md: 0 4px 20px rgba(10, 25, 55, 0.2);
  --shadow-lg: 0 8px 40px rgba(10, 25, 55, 0.3);
  --transition: 0.25s ease;
  --border-radius: 4px;
}
.kigyo-card-head-ttl h2 {
  color: var(--navy-dark) !important;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-bottom: none !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: clamp(1.5rem, 2vw, 2rem) !important;
  font-weight: bold !important;
  line-height: 1 !important;
  text-shadow:
    1px 0 0 #fff,
    -1px 0 0 #fff,
    0 1px 0 #fff,
    0 -1px 0 #fff;
  box-shadow: none !important;
  display: inline !important;
}
.kigyo-card-head-ttl h2 a:hover {
  text-decoration: underline !important;
}
.kigyo-card-body ul,
.kigyo-card-body ul li {
  list-style: none !important;
  list-style-type: none !important;
  background-image: none !important;
  background: none !important;
}
.kigyo-card-body ul li a,
.kigyo-card-body ul li a:link,
.kigyo-card-body ul li a:visited {
  color: #fff !important;
  text-decoration: none !important;
  background: none !important;
  padding: 0 !important;
}
.kigyo-card-body ul li a:hover {
  text-decoration: underline !important;
}
#contents-body {
  display: block !important;
}
#main {
  width: 100% !important;
  float: none !important;
}
#sub {
  display: none !important;
}
.kigyo-intro {
  background: var(--navy-dark);
  color: #fff;
  padding: 24px 32px 22px;
}
.kigyo-intro h1 {
  font-size: 1.55em !important;
  font-weight: bold !important;
  color: #fff !important;
  border: none !important;
  background: none !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  line-height: 1.4;
}
.kigyo-intro-text {
  font-size: 0.95em;
  line-height: 1.85;
  margin: 0 0 12px;
  color: #fff;
}
.kigyo-contact {
  background: rgba(255, 255, 255, 0.13);
  border-left: 4px solid rgba(255, 255, 255, 0.7);
  padding: 10px 16px;
  font-size: 0.91em;
  line-height: 1.9;
  color: #fff;
}
.kigyo-contact strong {
  display: block;
  font-weight: bold;
  margin-bottom: 1px;
}
.kigyo-contact small {
  font-size: 0.88em;
  color: rgba(255, 255, 255, 0.82);
}
#hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--mid-gray);
  aspect-ratio: 16 / 6;
  max-height: 480px;
}
.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
}
.hero-text {
  border-left: 8px solid var(--blue-dark);
  margin-left: 80px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.8);
  padding: 24px 32px;
  color: var(--text-body);
  max-width: 55%;
}
.hero-tag {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 0.5em;
  font-family: 'Arial', sans-serif;
}
.hero-title {
  text-align: left !important;
  font-size: clamp(2rem, 3vw, 4rem) !important;
  letter-spacing: 0.02rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.6em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.hero-sub {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.7;
  margin: 0;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(255, 255, 255, 0.35);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.hero-arrow.prev {
  left: 12px;
}
.hero-arrow.next {
  right: 12px;
}
.hero-playpause {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}
.hero-playpause:hover,
.hero-playpause:focus-visible {
  background: rgba(0, 0, 0, 0.65);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.hero-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.hero-dot.active,
.hero-dot[aria-selected="true"] {
  background: #fff;
  transform: scale(1.25);
}
.hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.hero-slide-caption {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  max-width: min(42em, calc(100% - 48px));
  margin: 0;
  padding: 8px 12px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.no-tel-link {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none;
}
@media screen and (max-width: 780px) {
  #hero {
    aspect-ratio: auto;
    max-height: none;
  }
  .hero-overlay {
    position: static;
    inset: auto;
    display: block;
  }
  .hero-arrow {
    display: none;
  }
  .hero-text {
    max-width: none;
    margin-left: 0;
    margin-bottom: 0;
    padding: 20px 16px;
    border-left: 6px solid var(--blue-dark);
    background: #fff;
  }
  .hero-tag {
    font-size: 0.78rem;
    margin-bottom: 0.4em;
    letter-spacing: 0.1em;
  }
  .hero-title {
    font-size: 2.4rem !important;
    line-height: 1.3;
    margin: 0 0 0.5em;
    text-shadow: none;
  }
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 0.8em;
  }
  .hero-sub:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .hero-slides {
    aspect-ratio: 16 / 10;
  }
  .hero-slide-caption {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    max-width: none;
    padding: 4px 8px;
    font-size: 0.9rem;
    border-radius: 0 0 0 4px;
  }
  .hero-controls {
    gap: 16px;
  }
  .hero-dot {
    width: 12px;
    height: 12px;
  }
}
#gp-banner .kigyo-gp-banner {
  display: block;
  margin: 0 auto 24px;
  text-decoration: none;
  border: 1px solid var(--blue-light);
  box-shadow: var(--shadow-sm);
  border-radius: var(--border-radius);
  overflow: hidden;
  color: var(--text-body) !important;
  position: relative;
  background-color: #fff;
}
.kigyo-gp-visual {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
  transition: transform var(--transition);
}
.kigyo-gp-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.kigyo-gp-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.9) 35%,
      rgba(255, 255, 255, 0.2) 60%,
      transparent 100%);
}
.kigyo-gp-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 24px;
}
.kigyo-gp-arrow {
  font-size: 4rem;
  line-height: 1;
  margin-left: 16px;
}
#gp-banner .kigyo-gp-banner:hover,
#gp-banner .kigyo-gp-banner:focus {
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  transform: translateX(1px);
}
#gp-banner .kigyo-gp-banner:hover .kigyo-gp-visual::after,
#gp-banner .kigyo-gp-banner:focus .kigyo-gp-visual::after {
  opacity: 1;
}
#gp-banner .kigyo-gp-banner:focus-visible {
  outline-offset: 3px;
}
.kigyo-gp-text {
  max-width: 70%;
  text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 5px rgba(255, 255, 255, 1);
}
.kigyo-gp-title {
  display: block;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
  color: var(--text-body);
  font-weight: 700;
  line-height: 1.4;
}
.kigyo-gp-desc {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
  line-height: 1.6;
}
.sp-only {
  display: none;
}
@media screen and (max-width: 780px) {
  .sp-only {
    display: block;
  }
  .kigyo-gp-text {
    max-width: 40%;
  }
  .kigyo-gp-desc {
    display: none;
  }
}
.kigyo-grid-section {
  margin-top: 4px;
}
.kigyo-grid-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  box-sizing: border-box;
  align-items: stretch;
}
.kigyo-card-wrap {
  flex: 0 0 calc(33.333% - 11px);
  width: calc(33.333% - 11px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.kigyo-card {
  flex: 0 0 calc(33.333% - 11px);
  width: calc(33.333% - 11px);
  box-sizing: border-box;
  border: 1px solid var(--blue-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}
.kigyo-card-wrap .kigyo-card {
  width: 100%;
  flex: none;
}
.kigyo-card-wrap .kigyo-card:last-child {
  margin-top: auto;
}
.kigyo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.kigyo-card--wide {
  flex: 0 0 calc(66.666% - 8px);
  width: calc(66.666% - 8px);
}
.kigyo-card--full {
  flex: 0 0 100%;
  width: 100%;
}
.kigyo-2col-list {
  column-count: 2;
  column-gap: 16px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.kigyo-2col-list li {
  page-break-inside: avoid;
  break-inside: avoid;
}
.kigyo-card-head {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}
.kigyo-card-head.ph-01 {
  background-image: url(../img/menu_01.jpg);
  background-position: center top -30px;
}
.kigyo-card-head.ph-02 {
  background-image: url(../img/menu_02.jpg);
}
.kigyo-card-head.ph-03 {
  background-image: url(../img/menu_03.jpg);
}
.kigyo-card-head.ph-04 {
  background-image: url(../img/menu_04.jpg);
}
.kigyo-card-head.ph-05 {
  background-image: url(../img/menu_05.jpg);
  background-position: center top;
}
.kigyo-card-head.ph-06 {
  background-image: url(../img/menu_06.jpg);
}
.kigyo-card-head.ph-07 {
  background-image: url(../img/menu_07.jpg);
  background-position: center bottom -20px;
}
.kigyo-card-head.ph-08 {
  background-image: url(../img/menu_08.png);
  background-size: 20%;
}
.kigyo-card-head.ph-09 {
  background-color: #fff;
  background-image: linear-gradient(135deg, #fff, #e6e6e6);
  height: 48px;
}
.kigyo-card-head.ph-10 {
  background-color: #fff;
  background-image: linear-gradient(135deg, #fff, #e6e6e6);
  height: 48px;
}
.kigyo-card-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.5) 70%, rgba(255, 255, 255, 0.8) 100%);
}
.kigyo-card-head.ph-09::before,
.kigyo-card-head.ph-10::before {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);
}
.kigyo-card-head-ttl {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.kigyo-card-body {
  background: var(--blue-dark);
  padding: 12px 14px;
  flex: 1;
  box-sizing: border-box;
}
.kigyo-card-body ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.kigyo-card-body ul li {
  padding: 5px 0 5px 13px !important;
  position: relative;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  line-height: 1.5;
  list-style: none !important;
  background: none !important;
}
.kigyo-card-body ul li:last-child {
  border-bottom: none !important;
}
.kigyo-card-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 6px;
  border-color: transparent transparent transparent #fff;
}
.kigyo-card-body ul li a {
  color: #fff !important;
  text-decoration: none;
}
.kigyo-card-body ul li a:hover {
  text-decoration: underline;
}
.kigyo-bottom-links {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}
.kigyo-bottom-links p {
  font-size: 0.92em;
  line-height: 1.75;
  margin-bottom: 8px;
}
@media screen and (max-width: 780px) {
  .kigyo-intro {
    padding: 18px 16px;
  }
  .kigyo-intro h1 {
    font-size: 1.25em !important;
  }
  .kigyo-card,
  .kigyo-card-wrap,
  .kigyo-card--wide,
  .kigyo-card--full {
    flex: 0 0 100%;
    width: 100%;
  }
  .kigyo-card-wrap {
    gap: 12px;
    margin-bottom: 12px;
  }
  .kigyo-gp-inner {
    padding: 12px 14px;
  }
  .kigyo-card-body ul li::before {
    border-width: 4px 0 4px 5px;
  }
}

#external-links {
  background: var(--white);
  padding: 36px 0;
  border-top: 1px solid var(--light-gray);
}
.ext-inner {
  max-width: 1200px;
  margin: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white) !important;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 10px 18px;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  text-decoration: none;
  transition: background-color var(--transition), border-color var(--transition);
}
.ext-link:hover {
  background: var(--light-gray) !important;
  border-color: var(--navy);
  text-decoration: none;
}
.ext-inner a {
  color: var(--text-body) !important;
}
.ext-link .ext-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.ext-link-label {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  white-space: nowrap;
  margin-right: 4px;
}
.ext-arrow {
  font-size: clamp(1.0rem, 2vw, 1.2rem);
  color: var(--navy);
}