/* =========================================================
   RELATION GATE GROUP - Common Stylesheet
========================================================= */

:root {
  --color-primary: #4eabdd;
  --color-primary-dark: #2f6fa8;
  --color-navy: #2b3a4a;
  --color-green: #7cbe3f;
  --color-orange: #f0a23c;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e3e6e8;
  --color-footer-bg: #94a0aa;
  --gradient-btn: linear-gradient(90deg, #4ba0dd 0%, #60c996 100%);
  --gradient-btn2: linear-gradient(90deg, #f0a23c 0%, #f2c94c 100%);
  --font-en: "DM Sans", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --container-width: 980px;
  --footer-width: 1100px;
  --header-height: 80px;
  --header-height-sp: 60px;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-jp);
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  background: #fff;
}

a {
  transition: opacity 0.25s ease, color 0.25s ease, background 0.25s ease;
}
a:hover {
  opacity: 0.75;
}

.inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.pc-only {
  display: block;
}
.sp-only {
  display: none!important;
}

img {
  display: block;
  width: 100%;
}

/* =========================================================
   Header
========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 30px;
}
.header__logo {
  width: 220px;
  flex-shrink: 0;
}
.header__logo a {
  display: block;
}
.header__nav {
  display: flex;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 34px;
}
.header__nav-list a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}
.header__nav-list a:hover {
  color: var(--color-primary);
  opacity: 1;
}
.header__nav-list a.is-current {
  color: var(--color-primary);
}
.sp-nav__list a.is-current .en {
  text-decoration: none;
}
.header__toggle {
  display: none;
}

body {
  padding-top: var(--header-height);
}

/* SP nav drawer */
.sp-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  overflow-y: auto;
}
.sp-nav.is-open {
  transform: translateX(0);
}
.sp-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height-sp);
  padding: 0 20px;
  border-bottom: 1px solid var(--color-border);
}
.sp-nav__logo {
  width: 170px;
}
.sp-nav__close {
  width: 26px;
  height: 26px;
  position: relative;
  background: none;
  border: none;
}
.sp-nav__close::before,
.sp-nav__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-navy);
}
.sp-nav__close::before {
  transform: rotate(45deg);
}
.sp-nav__close::after {
  transform: rotate(-45deg);
}
.sp-nav__list li {
  border-bottom: 1px solid var(--color-border);
}
.sp-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
.sp-nav__list .en {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
}
.sp-nav__list .jp {
  display: block;
  font-size: 0.95rem;
  color: #414D55;
  margin-top: 2px;
}
.sp-nav__list .arrow {
  display: inline-block;
  width: 16px;
  height: auto;
  flex-shrink: 0;
}

/* =========================================================
   Footer
========================================================= */
.footer {
  background: var(--color-footer-bg);
  color: #fff;
  padding: 60px 0 0;
}
.footer__inner {
  max-width: var(--footer-width);
  margin: 0 auto;
  padding: 0 20px 40px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}
.footer__logo {
  width: 230px;
  margin: 0 0 16px;
}
.footer__address {
  font-size: 0.85rem;
  line-height: 1.9;
}
.footer__nav {
  display: flex;
  gap: 60px;
}
.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer__nav-col a {
  font-size: 0.95rem;
  font-weight: 700;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 18px 0;
}
.footer__bottom-inner {
  max-width: var(--footer-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__copyright {
  font-size: 0.6rem;
  letter-spacing: 0.03em;
}
.footer__privacy a {
  font-size: 0.78rem;
  text-decoration: underline;
}

/* =========================================================
   Common parts
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--gradient-btn);
  box-shadow: 0 6px 14px rgba(80, 160, 200, 0.3);
}
.btn.is-orange {
  background: var(--gradient-btn2);
  box-shadow: 0 6px 14px rgba(240, 162, 60, 0.3);
}
.btn.is-dark {
  background: #6f7d89;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}

.section-title {
  text-align: center;
}
.section-title .en {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}
.section-title .jp {
  display: block;
  margin-top: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* Page title (inner pages) */
.page-title {
  position: relative;
  padding: 60px 0 46px;
  background-image: url("../img/common/page-title-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.page-title__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}
.page-title__en {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.2;
  color: var(--color-primary);
}
.page-title__jp {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy);
}

/* Breadcrumb-less inner page content wrap */
.page-content {
  padding: 80px 0 100px;
}

/* =========================================================
   TOP - Hero
========================================================= */
.hero {
  position: relative;
  padding: 70px 0 65px;
  background-image: url("../img/top/fv_bg.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  overflow: hidden;
}
.hero__inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  display: grid;
  grid-template-columns: 420px 1fr;
  /*gap: 30px;*/
  align-items: center;
}
.hero__copy {
  position: relative;
  z-index: 3;
  width: 120%;
}
.hero__gallery {
  position: relative;
  z-index: 2;
}
.hero__gallery img {
  width: 100%;
  height: auto;
}
.hero__bgtext {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  z-index: 2;
  pointer-events: none;
}
.hero__bgtext img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   TOP - Message
========================================================= */
.message {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
  background-image: url("../img/top/mg_bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.message__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.message__head {
  display: inline-block;
}
.message__head span {
  display: block;
  background: #7bb8e0;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
  padding: 7px 30px;
  margin: 0 auto 8px;
  width: fit-content;
}
.message__text {
  margin-top: 36px;
  font-size: 1.3rem;
  line-height: 2.5;
  color: var(--color-text);
}
.message__btn {
  margin-top: 40px;
}

/* =========================================================
   TOP - Gallery slider
========================================================= */
.gallery-slider {
  position: relative;
  padding: 0 0 100px;
}
.gallery-slider .slick-slide {
  padding: 0 12px;
}
.gallery-slider img {
  width: 100%;
  /*height: 250px;*/
  object-fit: cover;
  border-radius: 10px;
}
.gallery-slider .is-offset {
  margin-top: 30px;
}
.gallery-slider .slick-prev,
.gallery-slider .slick-next {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  z-index: 5;
}
.gallery-slider .slick-prev {
  left: -10px;
}
.gallery-slider .slick-next {
  right: -10px;
}
.gallery-slider .slick-prev::before,
.gallery-slider .slick-next::before {
  color: var(--color-primary);
  font-size: 20px;
  opacity: 1;
}

/* =========================================================
   TOP - Services
========================================================= */
.top-services {
  background: #eaf1f2;
  padding: 90px 0 100px;
}
.top-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 50px;
}
.service-panel {
  background: #fff;
  border-radius: 14px;
  padding: 34px 30px 30px;
}
.service-panel__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
}
.service-panel__logo img {
  width: auto;
  max-height: 70px;
  width: auto;
}
.cat-block {
  margin-bottom: 18px;
}
.cat-block:last-child {
  margin-bottom: 0;
}
.cat-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 999px;
  color: #fff;
  margin-left: 12px;
  position: relative;
  top: 20px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cat-block__list {
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  padding: 16px 18px 12px;
  font-size: 1rem;
  line-height: 1.9;
}
.cat-tag.is-kaigo {
  background: #a7b400;
}
.cat-block.is-kaigo .cat-block__list {
  background: #f0f2d6;
}
.cat-tag.is-iryo {
  background: #5fa4ac;
}
.cat-block.is-iryo .cat-block__list {
  background: #dceaeb;
}
.cat-tag.is-biyou {
  background: #1c3f66;
}
.cat-block.is-biyou .cat-block__list {
  background: #d3dfe6;
}
.cat-tag.is-shougai {
  background: #e8934a;
}
.cat-block.is-shougai .cat-block__list {
  background: #f9e9d4;
}
.cat-tag.is-shoukai {
  background: #c2637c;
}
.cat-block.is-shoukai .cat-block__list {
  background: #f6dfe4;
}
.cat-tag.is-shokuji {
  background: #7cab5c;
}
.cat-block.is-shokuji .cat-block__list {
  background: #e4eeda;
}
.cat-tag.is-jinzai {
  background: #c17762;
}
.cat-block.is-jinzai .cat-block__list {
  background: #f4ded7;
}
.top-services__plus {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 26px 0;
}
.service-panel--wide {
  max-width: 760px;
  margin: 0 auto;
}
.top-services__btn {
  text-align: center;
  margin-top: 50px;
}

/* =========================================================
   TOP - News
========================================================= */
.news {
  padding: 90px 0 110px;
}
.news__list {
  max-width: 900px;
  margin: 46px auto 0;
  border-top: 1px solid var(--color-border);
}
.news__item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 20px 10px;
  border-bottom: 1px solid var(--color-border);
}
.news__date {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}
.news__title {
  flex: 1;
  font-size: 1rem;
}
.news__arrow {
  display: inline-block;
  width: 16px;
  height: auto;
  flex-shrink: 0;
}
.news__btn {
  text-align: center;
  margin-top: 46px;
}

/* News archive / single (WordPress theme: /news/) */
.news__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 46px;
  font-size: 0.9rem;
}
.news__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
}
.news__pagination .page-numbers.dots {
  width: auto;
  height: auto;
  border: none;
  color: var(--color-text-light);
}
.news__pagination .page-numbers.current {
  background: var(--color-primary);
  color: #fff;
}
.news__pagination .page-numbers.prev,
.news__pagination .page-numbers.next {
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-size: 25px;
  padding-bottom: 5px;
}

.news-detail {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 50px 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.news-detail__title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
}
.news-detail__date {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
}
.news-detail__divider {
  display: block;
  width: 60px;
  height: 2px;
  margin-top: 12px;
  background: linear-gradient(90deg, #4a9ee2, #65d383);
}
.news-detail__body {
  margin-top: 34px;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--color-text);
}
.news-detail__body h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2em 0 0.8em;
}
.news-detail__body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 1.8em 0 0.6em;
}
.news-detail__body p {
  margin-bottom: 1.4em;
}
.news-detail__body img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 10px 0 1.6em;
}
.news-detail__body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.news-detail__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}
.news-detail__nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 1.2rem;
}
.news-detail__nav-arrow:not(.is-disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
  font-size: 25px;
  padding-bottom: 5px;
}
.news-detail__nav-arrow.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}
.news-detail__nav .btn {
  min-width: 160px;
  height: 46px;
}

/* =========================================================
   Service page
========================================================= */
.service-intro {
  text-align: center;
  font-size: 0.98rem;
  line-height: 2;
}
.service-domain {
  margin: 60px auto 0;
  max-width: var(--container-width);
  padding: 0 20px;
}
.service-list-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 100px 0 46px;
  position: relative;
}
.service-list-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: 14px auto 0;
}
.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 30px;
}
.service-card {
  border-radius: 14px;
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
}
.service-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
}
.service-card__logo {
  width: 90px;
  flex-shrink: 0;
}
.service-card__text {
  margin-top: 12px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--color-text);
}
.service-card__photo {
  margin-top: 18px;
  border-radius: 10px;
  overflow: hidden;
}
.service-card__photo img {
  width: 100%;
  /*aspect-ratio: 4/3;*/
  object-fit: cover;
}
.service-card__btn {
  margin-top: 20px;
  text-align: center;
}
.service-card--wide {
  /*grid-column: 1 / -1;*/
  max-width: 630px;
  margin: 0 auto 0 0;
  width: 100%;
}
.service-card.is-olive {
  background: #eef1d9;
}
.service-card.is-olive .service-card__tag {
  background: #a7b400;
}
.service-card.is-olive .service-card__btn .btn {
  background: #b9c304;
  box-shadow: 0 6px 14px rgba(185, 195, 4, 0.3);
}
.service-card.is-teal {
  background: #dcebec;
}
.service-card.is-teal .service-card__tag {
  background: #5fa4ac;
}
.service-card.is-teal .service-card__btn .btn {
  background: #7abbc4;
  box-shadow: 0 6px 14px rgba(122, 187, 196, 0.3);
}
.service-card.is-navy {
  background: #c9d9e3;
}
.service-card.is-navy .service-card__tag {
  background: #1c3f66;
}
.service-card.is-navy .service-card__btn .btn {
  background: #04447c;
  box-shadow: 0 6px 14px rgba(4, 68, 124, 0.3);
}
.service-card.is-orange {
  background: #f7e8d4;
}
.service-card.is-orange .service-card__tag {
  background: #e8934a;
}
.service-card.is-orange .service-card__btn .btn {
  background: #eaa22b;
  box-shadow: 0 6px 14px rgba(234, 162, 43, 0.3);
}
.service-card.is-rose {
  background: #f5dde2;
}
.service-card.is-rose .service-card__tag {
  background: #c2637c;
}
.service-card.is-rose .service-card__btn .btn {
  background: #c46379;
  box-shadow: 0 6px 14px rgba(196, 99, 121, 0.3);
}
.service-card.is-green {
  background: #e2ecda;
}
.service-card.is-green .service-card__tag {
  background: #7cab5c;
}
.service-card.is-green .service-card__btn .btn {
  background: #86ba69;
  box-shadow: 0 6px 14px rgba(134, 186, 105, 0.3);
}
.service-card.is-terracotta {
  background: #f0dcd8;
}
.service-card.is-terracotta .service-card__tag {
  background: #b5695c;
}
.service-card.is-terracotta .service-card__btn .btn {
  background: #c35e51;
  box-shadow: 0 6px 14px rgba(195, 94, 81, 0.3);
}

/* =========================================================
   Company page
========================================================= */
.company-message {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: start;
}
.company-message__label {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}
.company-message__title {
  margin-top: 6px;
  font-size: 1.6rem;
  font-weight: 700;
}
.company-message__text {
  margin-top: 24px;
  font-size: 0.92rem;
  line-height: 2;
}
.company-message__photo img {
  /*border-radius: 10px;*/
}
.company-message__caption {
  margin-top: 12px;
  /*text-align: center;*/
  text-align: right;
  font-size: 0.88rem;
}
.company-message__caption strong {
  font-size: 1.05rem;
  margin-left: 6px;
}

.city-banner {
  margin-top: 90px;
  padding: 60px 20px;
  background-image: url("../img/company/city-bg.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
}
.city-banner__img {
  width: 35%;
  margin: auto;
}
.city-banner__head {
  display: inline-block;
  background: #7bb8e0;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  padding: 12px 34px;
  margin-bottom: 22px;
}
.city-banner p.city-banner__line {
  display: inline-block;
  background: rgba(255, 255, 255, 0.88);
  padding: 8px 20px;
  margin: 4px auto;
  font-weight: 700;
  font-size: 0.98rem;
}

.philosophy {
  padding: 100px 0;
}
.philosophy__list {
  max-width: 900px;
  margin: 46px auto 0;
}
.philosophy__item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
  align-items: center;
  padding: 26px 40px;
  border-bottom: 1px solid var(--color-border);
}
.philosophy__item:first-child {
  border-top: 1px solid var(--color-border);
}
.philosophy__img {
  width: 300px;
}
.philosophy__title {
  font-size: 1.15rem;
  font-weight: 700;
}
.philosophy__desc {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.overview {
  background: #fff;
  padding: 90px 0 100px;
}
.overview__table {
  max-width: 900px;
  margin: 46px auto 0;
}
.overview__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #d4dfe1;
}
.overview__row:first-child {
  border-top: 1px solid #d4dfe1;
}
.overview__label {
  font-weight: 700;
  font-size: 0.95rem;
}
.overview__value {
  font-size: 0.92rem;
  line-height: 1.8;
}

.sdgs {
  padding: 100px 0;
}
.sdgs__intro {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.sdgs__intro-logo {
  width: 280px;
  flex-shrink: 0;
}
.sdgs__intro-text {
  flex: 1;
  min-width: 260px;
  font-size: 0.9rem;
  line-height: 1.9;
}
.sdgs__blocks {
  margin-top: 50px;
}
.sdgs__block {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 30px;
  align-items: center;
  background: #f2f6f7;
  border-radius: 10px;
  padding: 30px 34px;
  margin-bottom: 20px;
}
.sdgs__block-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.sdgs__block-list {
  font-size: 0.86rem;
  line-height: 1.9;
  color: var(--color-text-light);
}
.sdgs__icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.sdgs__icons img {
  border-radius: 4px;
}

/* =========================================================
   Recruit page
========================================================= */
.recruit-list-title {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
}
.recruit-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}
.recruit-cards__loading,
.recruit-cards__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
  color: var(--color-text-light);
}
.recruit-card {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  padding: 24px;
}
.recruit-card__head {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 16px;
  align-items: center;
}
.recruit-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.5;
}
.recruit-card__photo {
  /*border-radius: 8px;*/
  overflow: hidden;
}
.recruit-card__photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.recruit-card__table {
  margin-top: 18px;
}
.recruit-card__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 10px 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}
.recruit-card__row dt {
  color: var(--color-text-light);
}
.recruit-card__desc {
  margin-top: 14px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--color-text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.recruit-card__btn {
  margin: auto -24px -24px;
  padding: 20px;
  text-align: center;
  background: #F5FBFF;
  border-radius: 0 0 8px 8px;
}
.recruit-more {
  text-align: center;
  margin-top: 60px;
}
.recruit-card__btn .btn {
  background: #98c600;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

/* =========================================================
   Contact page
========================================================= */
.contact-lead {
  text-align: center;
}
.contact-lead__title {
  font-size: 1.4rem;
  font-weight: 700;
}
.contact-lead__text {
  margin-top: 22px;
  font-size: 0.88rem;
  line-height: 2;
  color: var(--color-text-light);
}
.contact-form {
  max-width: 800px;
  margin: 50px auto 0;
  border-top: 1px solid var(--color-border);
}
.form-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
}
.form-row__label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  padding-top: 10px;
}
.form-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 26px;
  padding: 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 3px;
  color: #fff;
  background: var(--color-primary);
}
.form-badge.is-optional {
  background: #b7bcc0;
}
.form-row__fields {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.form-row__fields.is-single input {
  width: 100%;
}
.form-row__fields > * {
  flex: 1;
  min-width: 180px;
}
.form-control {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #cfd6da;
  border-radius: 4px;
  font-size: 0.92rem;
}
.form-control::placeholder {
  color: #b7bfc4;
}
textarea.form-control {
  height: 180px;
  padding: 14px 16px;
  resize: vertical;
}
.contact-form__submit {
  text-align: center;
  margin-top: 46px;
}

.contact-finish {
  text-align: center;
}
.contact-finish__title {
  font-size: 1.5rem;
  font-weight: 700;
}
.contact-finish__text {
  margin: 30px auto 0;
  max-width: 640px;
  font-size: 0.92rem;
  line-height: 2;
}
.contact-finish__text + .contact-finish__text {
  margin-top: 24px;
}
.contact-finish__btn {
  margin-top: 50px;
}

/* =========================================================
   Privacy page
========================================================= */
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.95;
}
.privacy-content section {
  margin-bottom: 44px;
}
.privacy-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
}
.privacy-content p {
  margin-bottom: 10px;
}
.privacy-content ul {
  margin: 10px 0 10px 4px;
}
.privacy-content li {
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  :root {
    --header-height: 56px;
    --header-height-sp: 56px;
  }
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: block !important;
  }
  .inner {
    padding: 0 20px;
  }
  .header__inner {
    padding: 0 16px;
  }
  .header__logo {
    width: 160px;
  }
  .header__toggle {
    display: block;
    width: 26px;
    height: 18px;
    position: relative;
    background: none;
    border: none;
  }
  .header__toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-navy);
  }
  .header__toggle span:nth-child(1) {
    top: 0;
  }
  .header__toggle span:nth-child(2) {
    top: 8px;
  }
  .header__toggle span:nth-child(3) {
    top: 16px;
  }
  .section-title .en {
    font-size: 1.6rem;
  }
  .page-title {
    padding: 36px 0 28px;
    text-align: center;
  }
  .page-title__jp{
    margin-top: 0;
  }
  .page-title__en {
    font-size: 1.9rem;
  }
  .page-content {
    padding: 50px 0 60px;
  }
  .footer {
    padding: 40px 0 0;
    text-align: center;
  }
  .footer__logo {
  margin: 0 auto 16px;
  }
  .footer__inner {
    flex-direction: column;
  }
  .footer__nav {
    display: none;
  }
  .footer__bottom-inner {
    flex-direction: column;
    /*align-items: flex-start;*/
  }
  .btn {
    min-width: 220px;
    height: 52px;
  }

  /* TOP - Hero */
  .hero {
    padding: 24px 0 40px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .hero__gallery {
    order: 1;
  }
  .hero__copy {
    order: 2;
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: -150px;
  }
  .hero__bgtext {
    left: auto;
    right: 20px;
    top: 10px;
    bottom: auto;
    width: 45px;
    z-index: 3;
  }

  /* TOP - Message */
  .message {
    padding: 60px 0 60px;
    background-image: url("../img/top/sp/mg_bg_sp.png");
  }
  .message__head span {
    font-size: 1.6rem;
    padding: 6px 18px;
  }
  .message__text {
    margin-top: 24px;
    font-size: 0.9rem;
    line-height: 1.9;
    text-align: left;
  }

  /* TOP - Gallery slider */
  .gallery-slider {
    padding: 0 0 60px;
  }
  .gallery-slider img {
    height: 160px;
  }

  /* TOP - Services */
  .top-services {
    padding: 60px 0 70px;
  }
  .top-services__grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 34px;
  }
  .service-panel {
    padding: 26px 20px 24px;
  }
  .top-services__plus {
    margin: 16px 0;
    display: none;
  }
  .top-services__btn {
    margin-top: 34px;
  }

  /* TOP - News */
  .news {
    padding: 60px 0 70px;
  }
  .news__list {
    margin-top: 30px;
  }
  .news__item {
    gap: 14px;
    padding: 16px 6px;
  }
  .news__date {
    font-size: 0.8rem;
  }
  .news__title {
    font-size: 0.85rem;
  }

  /* Service page */
  .service-intro {
    text-align: left;
    font-size: 0.88rem;
  }
  .service-domain {
    margin-top: 36px;
    max-width: none;
    padding: 0;
  }
  .service-list-title {
    margin: 60px 0 30px;
    font-size: 1.2rem;
  }
  .service-list-title::after {
    background: linear-gradient(90deg, #4a9ee2, #65d383);
  }
  .service-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-card--wide {
    max-width: none;
  }
  .service-card__title {
    font-size: 1.2rem;
  }
  .service-panel--wide{
    margin-top: 20px;
  }

  /* Company page */
  .company-message {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .company-message__photo {
    max-width: 250px;
    margin: 0 auto;
  }
  .company-message__title {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 20px;
  }
  .company-message__title::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, #4a9ee2, #65d383);
  }
  .company-message__text {
    font-size: 0.85rem;
    margin-top: 18px;
  }
  .company-message__caption{
    text-align: center;
  }
  .city-banner {
    margin-top: 50px;
    padding: 40px 16px;
  }
  .city-banner__img{
    width: 100%;
  }
  .city-banner__head {
    font-size: 1.1rem;
    padding: 10px 20px;
  }
  .city-banner p.city-banner__line {
    font-size: 0.82rem;
    padding: 6px 14px;
  }
  .philosophy {
    padding: 60px 0;
  }
  .philosophy__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px 0;
  }
  .philosophy__img {
    width: 100%;
  }
  .overview {
    padding: 60px 0 70px;
  }
  .overview__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
  .sdgs {
    padding: 60px 0;
  }
  .sdgs__intro {
    gap: 20px;
  }
  .sdgs__intro-logo {
    width: 200px;
    margin: 0 auto;
  }
  .sdgs__block {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 16px;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
  }
  .sdgs__block:nth-of-type(2),
  .sdgs__block:nth-of-type(4) {
    background: #fff;
  }
  .sdgs__icons {
    max-width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  /* Recruit page */
  .recruit-list-title {
    font-size: 1.2rem;
  }
  .recruit-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
  }
  .recruit-card {
    padding: 18px;
  }
  .recruit-card__head {
    grid-template-columns: 1fr;
  }
  .recruit-card__title {
    font-size: 1.15rem;
  }
  .recruit-card__photo {
    margin-top: 12px;
  }
  .recruit-card__btn .btn {
    width: 100%;
  }
  .recruit-card__btn {
  margin: auto -18px -18px;
}
  .recruit-more {
    margin-top: 40px;
  }

  /* Contact page */
  .contact-lead__title {
    font-size: 1.15rem;
  }
  .contact-lead__text {
    text-align: left;
    font-size: 0.82rem;
  }
  .contact-form {
    margin-top: 34px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px 0;
  }
  .form-row__label {
    padding-top: 0;
  }
  .form-row__fields > * {
    min-width: 140px;
  }
  .contact-form__submit {
    margin-top: 30px;
  }
  .contact-finish__title {
    font-size: 1.2rem;
  }
  .contact-finish__text {
    text-align: left;
    font-size: 0.85rem;
  }

  /* Privacy page */
  .privacy-content {
    font-size: 0.82rem;
  }
  .privacy-content h2 {
    font-size: 1rem;
  }

  /* News archive / single */
  .news-detail {
    padding: 28px 20px;
    border-radius: 14px;
  }
  .news-detail__title {
    font-size: 1.1rem;
  }
  .news-detail__body {
    font-size: 0.85rem;
    margin-top: 24px;
  }
  .news-detail__nav {
    gap: 12px;
  }
  .news-detail__nav .btn {
    min-width: 120px;
    height: 44px;
    font-size: 0.85rem;
  }
}
