@charset "UTF-8";

/* ==========================================================================
   Base / Variables
   ========================================================================== */
:root {
  --color-navy: #0b2347;
  --color-navy-light: #16305c;
  --color-orange: #e86e01;
  --color-orange-dark: #c85f00;
  --color-purple: #48377e;
  --color-purple-dark: #392a66;
  --color-bg-gray: #f6f6f6;
  --color-border: #e3e3e3;
  --color-text: #1a1a2c;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --ease-rich: cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; scroll-padding-top: 56px; }

body {
  margin: 0;
  padding-top: 56px;
  font-family: var(--font-base);
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, address, table, th, td, figure { margin: 0; padding: 0; font-weight: normal; }
button { font-family: inherit; border: none; background: none; cursor: pointer; padding: 0; }

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

.sp-none{display: none;}

/* 採用ページ：現在募集していないため非表示。再開時はこのルールごと削除してください（recruit.html） */
/* 一時的に表示中（2026-10 クライアント依頼で採用情報を復活）。非表示に戻すときはこの行を有効に: .is-recruit-hidden { display: none; } */

/* ==========================================================================
   Common Parts
   ========================================================================== */
.c-heading { font-size: 22px; font-weight: 700; color: var(--color-navy); }
.c-heading__en { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: #9aa4b5; }

.c-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: transform 0.2s var(--ease-rich), box-shadow 0.2s var(--ease-rich);
}
.c-btn:active { transform: scale(0.97); }
.c-btn img { width: 16px; height: auto; }

.c-btn--orange { background: var(--color-orange); color: #fff; }
.c-btn--purple { background: var(--color-purple); color: #fff; }
.c-btn--outline { background: #fff; color: var(--color-navy); border: 1px solid var(--color-navy); }
.c-btn--sm { padding: 13px 20px; font-size: 13px; }
.c-btn--search { border-radius: 4px; margin-top: 10px; }

.c-btn__arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
.c-btn__arrow--white { color: #fff; }
.c-btn__arrow--sm { width: 6px; height: 6px; color: #b7bdc9; }
.c-btn__arrow--navy { color: var(--color-navy); }
.c-btn__arrow--prev { transform: rotate(-135deg); }
.c-btn__arrow--up { transform: rotate(-45deg); color: #fff; }

/* ==========================================================================
   Header
   ========================================================================== */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 8px rgba(11, 35, 71, 0.08);
}
.l-header__inner {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.l-header__logo img { width: 190px; }
.l-header__nav { display: none; }
.l-header__side {
  display: flex;
  align-items: center;
  gap: 16px;
}
.l-header__tel { display: none; }
.l-header__contact { display: none; }
.l-header__side > a.l-header__contact-icon { display: block; }
.l-header__side img.mail { width: 24px; }

.l-header__right-sp {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.l-header__mail-sp {
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-header__mail-sp img { width: 26px; height: auto; }
.l-header__mail-sp:active { transform: scale(0.92); }

.l-header__trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}
.l-header__trigger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.3s var(--ease-rich), opacity 0.3s var(--ease-rich);
}
.l-header__trigger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.l-header__trigger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.l-header__trigger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.l-header__drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 340px;
  height: 100%;
  background: var(--color-navy);
  padding: 90px 28px 40px;
  z-index: 1;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-rich);
  overflow-y: auto;
}
.l-header__drawer.is-open { transform: translateX(0); }

.l-header__drawer-nav ul { display: flex; flex-direction: column; }
.l-header__drawer-nav a {
  display: block;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.l-header__drawer-tel {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  transition: background-color 0.2s var(--ease-rich);
}
.l-header__drawer-tel:active { background: rgba(255,255,255,0.08); }
.l-header__drawer-tel img { width: 16px; }
.l-header__drawer-tel-info { display: flex; flex-direction: column; align-items: center; }
.l-header__drawer-tel-label { font-size: 15px; font-weight: 700; color: #fff; }
.l-header__drawer-tel-time { margin-top: 2px; font-size: 10px; color: #b9c0cf; }
.l-header__drawer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 14px;
  background: var(--color-orange);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
}
.l-header__drawer-contact img { width: 16px; }

.l-header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 35, 71, 0.5);
  z-index: 198;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-rich), visibility 0.3s;
}
.l-header__overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   MV
   ========================================================================== */
.p-mv { position: relative; width: 100%; height: 76vh; min-height: 460px; overflow: hidden; background: var(--color-navy); }
.p-mv__slide { position: absolute; inset: 0; }
.p-mv__slide li {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 2.6s ease-in-out;
}
.p-mv__slide li.is-active {
  opacity: 1;
  animation: p-mv-zoom 8s ease-out forwards;
}
@keyframes p-mv-zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.p-mv__body { position: relative; height: 100%; display: flex; align-items: stretch; }
.p-mv__inner { width: 100%; padding: 40px 20px 30px; display: flex; flex-direction: column; }
.p-mv__copy { font-size: 34px; font-weight: 700; color: #fff; line-height: 1.3; }
.p-mv__text { margin-top: 16px; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.8; }
.p-mv .c-btn { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   Search
   ========================================================================== */
.p-search { background: var(--color-navy); padding: 28px 20px; }
.p-search__head { display: flex; align-items: center; gap: 12px; }
.p-search__icon { width: 24px; }
.p-search__title { font-size: 19px; font-weight: 700; color: #fff; }
.p-search__sub { margin-top: 2px; font-size: 11px; color: #b9c0cf; }
.p-search__form { margin-top: 16px; }
.p-search__input {
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
}
.p-search__cat { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.15); }
.p-search__cat-label { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.p-search__cat-list { display: flex; flex-wrap: wrap; gap: 10px; }
.p-search__cat-list li { flex: 0 0 auto; }
.p-search__cat-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 18px;
  background: #fff;
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 700;
  border-radius: 4px;
  white-space: nowrap;
  transition: transform 0.2s var(--ease-rich);
}
.p-search__cat-list a:active { transform: scale(0.96); }
.p-search__cat-list li:last-child { flex: 1 1 100%; margin-top: 6px; }
.p-search__cat-all {
  gap: 8px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  background: var(--color-purple) !important;
  color: #fff !important;
}

/* ==========================================================================
   Features
   ========================================================================== */
.p-features { padding: 30px 20px; }
.p-features__list { display: flex; flex-direction: column; gap: 22px; }
.p-features__list li { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.p-features__list li:last-child { border-bottom: none; padding-bottom: 0; }
.p-features__list img { width: 56px; flex-shrink: 0; }
.p-features__ttl { font-size: 16px; font-weight: 700; color: var(--color-navy); }
.p-features__txt { margin-top: 6px; font-size: 12px; color: #666; line-height: 1.7; }

/* ==========================================================================
   About
   ========================================================================== */
.p-about { display: flex; flex-direction: column; background: var(--color-bg-gray); }
.p-about__img { order: -1; }
.p-about__body { padding: 32px 20px 40px; }
.p-about__label { font-size: 14px; font-weight: 700; color: var(--color-text); }
.p-about__heading { margin-top: 10px; font-size: 21px; font-weight: 700; color: var(--color-navy); line-height: 1.5; }
.p-about__text { margin-top: 14px; font-size: 13px; line-height: 1.85; color: #444; }
.p-about .c-btn { margin-top: 22px; }

/* ==========================================================================
   Category List
   ========================================================================== */
.p-catlist { padding: 48px 20px; }
.p-catlist__grid { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.p-catlist__grid a {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
}
.p-catlist__img { display: block; position: relative; overflow: hidden; width: 100%; padding-top: 100%; background: #fff; flex-shrink: 0; }
.p-catlist__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-catlist__noimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #e7e9ec;
  color: #a7adb8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.p-catlist__ttl { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex: 1; padding: 10px 10px; font-size: 12px; font-weight: 700; color: #fff; background: var(--color-navy); text-align: left; line-height: 1.4; }
.p-catlist__ttl::after {
  content: "";
  flex-shrink: 0;
  width: 9px;
  height: 8px;
  background: url(../images/cat_icon.png) center / contain no-repeat;
  filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
  .p-catlist__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

/* ==========================================================================
   News
   ========================================================================== */
.p-news { background: var(--color-bg-gray); padding: 48px 20px; }
.p-news__list { margin-top: 22px; border-top: 1px solid var(--color-border); }
.p-news__list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--color-border);
}
.p-news__date { font-size: 12px; color: #8b93a3; }
.p-news__tag { font-size: 11px; font-weight: 700; color: #fff; background: var(--color-navy); padding: 4px 10px; border-radius: 3px; }
.p-news__ttl { flex: 0 0 100%; font-size: 13px; font-weight: 500; }
.p-news__more { margin-top: 24px; }

/* ==========================================================================
   Recruit
   ========================================================================== */
.p-recruit { position: relative; background-size: cover; background-position: center; padding: 60px 20px; overflow: hidden; }
.p-recruit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.75) 45%, rgba(255,255,255,0.15) 75%, rgba(255,255,255,0) 90%);
}
.p-recruit__inner { position: relative; z-index: 1; }
.p-recruit__heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.5;
  text-shadow: 0 0 14px rgba(255,255,255,0.9), 0 0 6px rgba(255,255,255,0.9);
}
.p-recruit__text {
  margin-top: 10px;
  font-size: 14px;
  color: #33415c;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 4px rgba(255,255,255,0.9);
}
.p-recruit .c-btn { margin-top: 22px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer { background: var(--color-navy); color: #fff; }
.l-footer__cta { padding: 32px 20px; }
.l-footer__cta-inner { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.l-footer__cta-left { text-align: center; }
.l-footer__cta-ttl { font-size: 18px; font-weight: 700; }
.l-footer__cta-txt { margin-top: 6px; font-size: 12px; color: #b9c0cf; }
.l-footer__cta-tel, .l-footer__cta-mail-pc { display: none; }

.l-footer__cta-tel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  transition: background-color 0.2s var(--ease-rich);
}
.l-footer__cta-tel-btn:active { background: rgba(255,255,255,0.08); }
.l-footer__cta-tel-btn img { width: 16px; }
.l-footer__cta-tel-btn-info { display: flex; flex-direction: column; align-items: center; }
.l-footer__cta-tel-btn-label { font-size: 15px; font-weight: 700; color: #fff; }
.l-footer__cta-tel-btn-time { margin-top: 2px; font-size: 10px; color: #b9c0cf; }

.l-footer__main { border-top: 1px solid rgba(255,255,255,0.15); padding: 40px 20px; }
.l-footer__main-inner { display: flex; flex-direction: column; gap: 36px; }
.l-footer__col--info { text-align: center; }
.l-footer__logo img { width: 180px; }
.l-footer__address { margin-top: 16px; font-style: normal; font-size: 12px; line-height: 1.9; color: #d3d8e2; }
.l-footer__address a { color: #9fb3d8; }
.l-footer__tel, .l-footer__fax { margin-top: 8px; font-size: 12px; color: #d3d8e2; }
.l-footer__group2 { margin-top: 20px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.l-footer__group2-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #9fb3d8; }
.l-footer__group2-logo { margin-top: 8px; }
.l-footer__group2-logo img { width: 160px; }
.l-footer__group2 .l-footer__address { margin-top: 8px; font-size: 10px; }
.l-footer__summer { margin-top: 18px; }
.l-footer__summer img { width: 120px; }
.l-footer__summer-txt { margin-top: 8px; font-size: 10px; color: #9aa4b5; }

.l-footer__col--nav1, .l-footer__col--nav2 { display: none; }

.p-calendar { max-width: 420px; margin-left: auto; margin-right: auto; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; padding: 16px 16px 18px; }
.p-calendar__ttl { font-size: 12px; font-weight: 700; color: #d3d8e2; }
.p-calendar__head { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; background: #fff; color: var(--color-navy); padding: 10px 12px; border-radius: 4px 4px 0 0; }
.p-calendar__month { font-size: 13px; font-weight: 700; }
.p-calendar__prev, .p-calendar__next { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.p-calendar__table { width: 100%; border-collapse: collapse; background: #fff; color: var(--color-navy); font-size: 11px; }
.p-calendar__table th { background: var(--color-navy); color: #fff; font-weight: 700; padding: 5px 0; }
.p-calendar__table th.is-sun { color: #ff9d9d; }
.p-calendar__table th.is-sat { color: #9dc4ff; }
.p-calendar__table td { text-align: center; padding: 7px 0; border-bottom: 1px solid #eee; font-weight: 700; }
.p-calendar__table td.is-other { color: #ccc; font-weight: 400; }
.p-calendar__table td.is-holiday { color: #e2483d; background: rgba(226, 72, 61, 0.12); }
.p-calendar.is-loading { opacity: 0.5; pointer-events: none; }
.p-calendar__legend { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; font-size: 10px; color: #d3d8e2; }
.p-calendar__legend li { display: flex; align-items: center; gap: 5px; }
.p-calendar__legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; background: #fff; }
.p-calendar__legend i.is-holiday { background: #e2483d; }

.l-footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 20px; }
.l-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.l-footer__copyright { font-size: 11px; color: #9aa4b5; }
.l-footer__pagetop {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Inner Pages - Content
   ========================================================================== */
.p-content { padding: 48px 20px; }
.p-content__inner { width: 100%; }
.p-content__lead { font-size: 14px; line-height: 1.9; color: #333; }
.p-content__lead + .p-content__lead { margin-top: 18px; }
.p-content h2.c-heading { margin-top: 44px; }
.p-content h2.c-heading:first-child { margin-top: 0; }

.c-dummy-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: var(--ratio, 16 / 9);
  background: repeating-linear-gradient(45deg, #eceff3, #eceff3 12px, #e3e7ed 12px, #e3e7ed 24px);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: #9aa4b5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  overflow: hidden;
}
.c-dummy-img--sq { --ratio: 1 / 1; }
.c-dummy-img--wide { --ratio: 16 / 9; }
.c-dummy-img--portrait { --ratio: 3 / 4; }

.p-infotable { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 13px; }
.p-infotable th, .p-infotable td { display: block; width: 100%; padding: 0; }
.p-infotable tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--color-border); }
.p-infotable th { text-align: left; font-weight: 700; color: var(--color-navy); }
.p-infotable td { margin-top: 8px; color: #333; line-height: 1.8; }

.p-linkcards { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.p-linkcards a {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}
.p-linkcards a:active { transform: scale(0.98); }
.p-linkcards__img { flex: 0 0 100px; overflow: hidden; }
.p-linkcards__img .c-dummy-img { aspect-ratio: auto; height: 100%; border-radius: 0; border-width: 0 1px 0 0; }
.p-linkcards__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.p-linkcards__body { flex: 1; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.p-linkcards__ttl { display: block; font-size: 15px; font-weight: 700; color: var(--color-navy); }
.p-linkcards__txt { display: block; margin-top: 4px; font-size: 12px; color: #777; line-height: 1.6; }

.p-map { margin-top: 24px; border-radius: 8px; overflow: hidden; border: 1px solid var(--color-border); }
.p-map iframe { display: block; width: 100%; height: 280px; border: 0; }

.p-infolist { margin-top: 24px; }
.p-infolist dl { border-top: 1px solid var(--color-border); }
.p-infolist dt, .p-infolist dd { margin: 0; padding: 12px 0; font-size: 13px; line-height: 1.7; }
.p-infolist dt { font-weight: 700; color: var(--color-navy); }
.p-infolist dd { margin-top: 2px; color: #333; border-bottom: 1px solid var(--color-border); padding-bottom: 14px; }

.p-servicecards { display: flex; flex-direction: column; gap: 28px; margin-top: 28px; }
.p-servicecards__ttl { margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--color-navy); }
.p-servicecards__txt { margin-top: 6px; font-size: 13px; color: #666; line-height: 1.7; }

/* ==========================================================================
   Form (Contact Form 7 ready)
   ========================================================================== */
.c-form { margin-top: 32px; }
.c-form__row { margin-bottom: 22px; }
.c-form__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--color-navy); margin-bottom: 10px; }
.c-form__badge { font-size: 10px; font-weight: 700; color: #fff; padding: 3px 8px; border-radius: 3px; }
.c-form__badge--required { background: var(--color-orange); }
.c-form__badge--any { background: #9aa4b5; }
.c-form__input, .c-form__textarea, .c-form__select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
}
.c-form__textarea { resize: vertical; min-height: 150px; }
.c-form__hint { margin-top: 6px; font-size: 11px; color: #8b93a3; }
.c-form__radio-group, .c-form__checkbox-group { display: flex; flex-wrap: wrap; gap: 16px; }
.c-form__radio, .c-form__checkbox { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.c-form__radio input, .c-form__checkbox input { width: 16px; height: 16px; accent-color: var(--color-navy); }
.c-form__row--half { display: flex; flex-direction: column; gap: 22px; }
.c-form__privacy {
  margin-top: 32px;
  padding: 18px;
  background: var(--color-bg-gray);
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.8;
  color: #555;
  max-height: 200px;
  overflow-y: auto;
}
.c-form__privacy h3 { font-size: 13px; font-weight: 700; color: var(--color-navy); margin-bottom: 8px; }
.c-form__privacy a { color: var(--color-orange); text-decoration: underline; }
.c-form__agree { margin-top: 20px; display: flex; justify-content: center; }

/* ==========================================================================
   Product Pages - Hero / Breadcrumb bar
   ========================================================================== */
.p-hero {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.p-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 35, 71, 0.35) 0%, rgba(11, 35, 71, 0.55) 100%);
}
.p-hero__inner { position: relative; z-index: 1; width: 100%; padding: 0 20px; }
.p-hero__title { font-size: 24px; font-weight: 700; color: #fff; }
.p-hero__en { display: block; margin-top: 6px; font-size: 11px; letter-spacing: 0.08em; color: #dfe4ec; }

.p-pagetitle { padding: 28px 20px 0; }
.p-pagetitle__ttl { font-size: 20px; font-weight: 700; color: var(--color-navy); }
.p-pagetitle__en { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: #9aa4b5; letter-spacing: 0.06em; }

.c-crumbbar { background: var(--color-bg-gray); border-bottom: 1px solid var(--color-border); padding: 12px 20px; }
.c-breadcrumb2 { font-size: 11px; color: #666; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.c-breadcrumb2 a { color: #666; }
.c-breadcrumb2 .is-current { color: var(--color-navy); font-weight: 700; }
.c-breadcrumb2 .sep { color: #bbb; }
.c-breadcrumb2 + .c-breadcrumb2 { margin-top: 6px; } /* 複数カテゴリの製品：パンくずを2行以上表示 */

/* ==========================================================================
   Product Pages - Grouped product list (category listing)
   ========================================================================== */
.p-productlist { padding: 40px 20px; }
.p-productlist__ttl { font-size: 20px; font-weight: 700; color: var(--color-navy); }
.p-productgroup { margin-top: 36px; }
.p-productgroup:first-child { margin-top: 28px; }
.p-productgroup__ttl { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--color-navy); }
.p-productgroup__ttl::before { content: ""; width: 11px; height: 11px; border: 3px solid var(--color-purple); border-radius: 50%; flex-shrink: 0; }
.p-productgroup__grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.p-productgroup__grid a { display: block; }
.p-productgroup__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; border: 1px solid var(--color-border); background: #fff; }
.p-productgroup__img img { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.p-productgroup__img .c-dummy-img { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; border: 0; }
.p-productgroup__name { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--color-navy); }

/* ==========================================================================
   Product Pages - Detail
   ========================================================================== */
.p-productdetail { padding: 36px 20px 56px; }
.p-productdetail__inner { display: flex; flex-direction: column; gap: 32px; }
.p-productdetail__gallery img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: contain; padding: 16px; background: #fff; border: 1px solid var(--color-border); border-radius: 8px; } /* 縦長の画像は高さ420pxまでに収める */
.p-productdetail__cats { display: flex; flex-wrap: wrap; gap: 6px; } /* 複数カテゴリの製品：ラベルを並べて表示 */
.p-productdetail__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--color-purple);
  padding: 5px 12px;
  border-radius: 3px;
}
.p-productdetail__title { margin-top: 12px; font-size: 21px; font-weight: 700; color: var(--color-navy); line-height: 1.5; }
.p-productdetail__lead { margin-top: 14px; font-size: 14px; line-height: 1.8; color: #444; }
.p-productdetail__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.c-btn__pdficon { display: inline-flex; flex-shrink: 0; }
/* ▼ 一時的に非表示：商品ごとの特徴文言がまだ揃っていないため。復活させる場合はdisplay:noneの行を削除 ▼ */
.p-productdetail__features {margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.p-productdetail__features h2 { font-size: 16px; font-weight: 700; color: var(--color-navy); }
.p-productdetail__features ul { margin-top: 14px; }
.p-productdetail__features li { position: relative; padding-left: 20px; margin-top: 10px; font-size: 13px; line-height: 1.7; color: #333; }
.p-productdetail__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--color-orange);
  border-radius: 50%;
}
.p-productdetail__related { margin-top: 48px; padding: 0 20px 56px; }
.c-form__submit { margin-top: 28px; }

/* Contact Form 7 用スタイル調整 */
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 11px; color: #d9534f; }
.c-form__input.wpcf7-not-valid, .c-form__textarea.wpcf7-not-valid, .c-form__select.wpcf7-not-valid { border-color: #d9534f; }
.wpcf7-response-output {
  margin-top: 20px;
  padding: 16px 18px;
  border: none !important;
  border-left: 4px solid var(--color-navy) !important;
  border-radius: 4px;
  background: var(--color-bg-gray);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  text-align: left;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.payment-required .wpcf7-response-output {
  border: none !important;
  border-left: 4px solid #d9534f !important;
  background: rgba(217, 83, 79, 0.08);
  color: #c9302c;
}
.wpcf7-form.sent .wpcf7-response-output {
  border: none !important;
  border-left: 4px solid var(--color-navy) !important;
  background: rgba(11, 35, 71, 0.06);
  color: var(--color-navy);
}
.wpcf7-spinner { margin-left: 8px; }
.c-form__radio-group .wpcf7-list-item { margin: 0; }
.c-form__radio-group .wpcf7-list-item label { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.c-form__radio-group .wpcf7-list-item input { width: 16px; height: 16px; accent-color: var(--color-navy); }

/* ==========================================================================
   News - List
   ========================================================================== */
.p-newslist { padding: 40px 20px 56px; }
.p-newslist__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.p-newslist__grid a { display: block; border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.p-newslist__grid a:active { transform: scale(0.98); }
.p-newslist__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.p-newslist__img img { width: 100%; height: 100%; object-fit: cover; }
.p-newslist__img .c-dummy-img { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; border: 0; }
.p-newslist__body { display: block; padding: 14px; }
.p-newslist__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.p-newslist__date { font-size: 11px; color: #8b93a3; }
.p-newslist__tag { font-size: 10px; font-weight: 700; color: #fff; background: var(--color-navy); padding: 3px 8px; border-radius: 3px; }
.p-newslist__ttl {
  margin-top: 8px;
  min-height: calc(13px * 1.6 * 3);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.c-pager { margin-top: 36px; display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; }
.c-pager a, .c-pager span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  border: 1px solid var(--color-border);
}
.c-pager .is-current { background: var(--color-navy); color: #fff; border-color: var(--color-navy); }
.c-pager .is-disabled { opacity: 0.35; pointer-events: none; }
.c-pager__dots { border: none; }

/* ==========================================================================
   News - Article (Detail)
   ========================================================================== */
.p-article { padding: 36px 20px 56px; }
.p-article__meta { display: flex; align-items: center; gap: 10px; }
.p-article__tag { font-size: 11px; font-weight: 700; color: #fff; background: var(--color-navy); padding: 4px 10px; border-radius: 3px; }
.p-article__date { font-size: 12px; color: #8b93a3; }
.p-article__title { margin-top: 14px; font-size: 20px; font-weight: 700; color: var(--color-navy); line-height: 1.6; }
.p-article__eyecatch { margin-top: 24px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; }
.p-article__eyecatch img { width: 100%; height: 100%; object-fit: cover; }

.p-article__body { margin-top: 28px; font-size: 15px; line-height: 1.9; color: #333; }
.p-article__body h2 { margin-top: 40px; padding-bottom: 10px; border-bottom: 2px solid var(--color-navy); font-size: 19px; font-weight: 700; color: var(--color-navy); }
.p-article__body h2:first-child { margin-top: 0; }
.p-article__body h3 { margin-top: 30px; padding-left: 12px; border-left: 4px solid var(--color-orange); font-size: 16px; font-weight: 700; color: var(--color-navy); }
.p-article__body h4 { margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--color-navy); }
.p-article__body p { margin-top: 16px; }
.p-article__body p:first-child { margin-top: 0; }
.p-article__body img { display: block; margin-top: 20px; max-width: 100%; height: auto; border-radius: 6px; } /* エディタで指定したサイズで表示（横幅を超える場合のみ縮小） */
.p-article__body figure { margin: 20px 0 0; }
.p-article__body figcaption { margin-top: 6px; font-size: 12px; color: #8b93a3; text-align: center; }
.p-article__body strong { font-weight: 700; color: var(--color-navy); }
.p-article__body mark { background: rgba(232, 110, 1, 0.15); color: inherit; padding: 0 4px; }
.p-article__body ul, .p-article__body ol { margin-top: 16px; padding-left: 1.4em; }
.p-article__body ul li { list-style: disc; margin-top: 6px; }
.p-article__body ol li { list-style: decimal; margin-top: 6px; }
.p-article__body table { margin-top: 20px; width: 100%; border-collapse: collapse; font-size: 12px; }
.p-article__body th, .p-article__body td { padding: 10px 12px; border: 1px solid var(--color-border); text-align: left; }
.p-article__body th { background: var(--color-bg-gray); font-weight: 700; color: var(--color-navy); }
.p-article__body a { color: var(--color-orange); text-decoration: underline; }
.p-article__body blockquote { margin-top: 20px; padding: 16px 18px; background: var(--color-bg-gray); border-left: 4px solid var(--color-navy); color: #555; }
/* --- ブロックエディタ対応（お知らせ本文） --- */
.p-article__body h5 { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--color-navy); }
.p-article__body h6 { margin-top: 18px; font-size: 13px; font-weight: 700; color: #555; }
.p-article__body figure img { margin-top: 0; }
.p-article__body .aligncenter, .p-article__body .aligncenter img { margin-left: auto; margin-right: auto; }
.p-article__body .alignleft { float: left; max-width: 50%; margin: 8px 16px 16px 0; }
.p-article__body .alignright { float: right; max-width: 50%; margin: 8px 0 16px 16px; }
.p-article__body .alignleft img, .p-article__body .alignright img { margin-top: 0; }
.p-article__body::after { content: ""; display: block; clear: both; }
.p-article__body .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; } /* 列の多い表は横スクロール */
.p-article__body .wp-block-table table { margin-top: 0; }
.p-article__body .p-article__table { margin-top: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; } /* 旧エディタの表（functions.php の mk_wrap_article_tables で包む） */
.p-article__body .p-article__table table { margin-top: 0; }
.p-article__body blockquote p:first-child { margin-top: 0; }
.p-article__body blockquote cite { display: block; margin-top: 10px; font-size: 13px; font-style: normal; color: #8b93a3; }
.p-article__body hr { margin: 40px 0 0; border: 0; border-top: 1px solid var(--color-border); }

.p-article__nav { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--color-border); }
.p-article__back { margin-top: 28px; text-align: center; }

/* ==========================================================================
   Sitemap
   ========================================================================== */
.p-sitemap { display: flex; flex-direction: column; gap: 32px; }
.p-sitemap__ttl { font-size: 15px; font-weight: 700; color: var(--color-navy); padding-bottom: 10px; border-bottom: 2px solid var(--color-navy); }
.p-sitemap__list { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.p-sitemap__list a { position: relative; padding-left: 16px; font-size: 14px; color: #333; }
.p-sitemap__list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-orange);
}
.p-sitemap__list--sub { margin-top: 8px; margin-left: 4px; gap: 10px; }
.p-sitemap__list--sub a { font-size: 12px; color: #666; }
.p-sitemap__list--sub a::before { background: #b7bdc9; width: 4px; height: 4px; }

/* ==========================================================================
   Product Detail - PDF embed
   ========================================================================== */
.p-productdetail__pdf { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--color-border); }
.p-productdetail__pdf-frame {
  margin-top: 18px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-bg-gray);
}
.p-productdetail__pdf-frame iframe { display: block; width: 100%; height: 480px; border: 0; }
.p-productdetail__pdf-dl { margin-top: 20px; }

/* ===== reCAPTCHA =====
   右下のバッジは非表示にし、代わりにフォームの下に表記を出す（functions.php の mk_recaptcha_notice）。
   display:none にすると reCAPTCHA が動作しなくなることがあるため visibility で隠す。 */
.grecaptcha-badge { visibility: hidden; }
.c-form__recaptcha { margin-top: 16px; font-size: 11px; line-height: 1.7; color: #888; text-align: center; }
.c-form__recaptcha a { color: #888; text-decoration: underline; }

/* ===== 404ページ ===== */
.p-notfound { text-align: center; padding: 32px 0; }
.p-notfound__lead { font-size: 16px; font-weight: 700; color: var(--color-navy); }
.p-notfound__txt { margin-top: 16px; line-height: 1.9; color: #555; }
.p-notfound__btns { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ===== アクセス：公共交通機関（路線と降りるバス停を1つの枠にまとめる） ===== */
.p-article__body .p-busroute { margin-top: 12px; padding: 12px 14px; background: var(--color-bg-gray); border-radius: 6px; }
.p-article__body .p-busroute ul { margin-top: 0; }
.p-article__body .p-busroute li { margin-top: 4px; }
.p-article__body .p-busroute li:first-child { margin-top: 0; }
.p-article__body .p-busroute__stop { margin-top: 6px; font-weight: 700; color: var(--color-navy); }
.p-article__body .p-busroute__stop::before { content: "→ "; color: var(--color-orange); }
