@charset "utf-8";

:root {
  --blue: #0077b6;
  --teal: #00a896;
  --blue-dark: #005f8f;
  --text: #1a2b3c;
  --text-muted: #4a5f73;
  --bg: #f4f9fc;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #0077b6 0%, #00a896 100%);
  --shadow: 0 8px 24px rgba(0, 80, 120, 0.12);
  --radius: 12px;
  --max: 1100px;
  --header-h: 72px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

ul {
  list-style: none;
}

.inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 20px;
}

.section-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 48px 40px;
  margin-bottom: 48px;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}

.section-title span {
  display: block;
  width: 64px;
  height: 4px;
  margin: 16px auto 32px;
  background: var(--gradient);
  border-radius: 2px;
}

.section-lead {
  text-align: center;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 119, 182, 0.12);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  padding: 10px 20px;
  max-width: var(--max);
  margin: 0 auto;
}

.header-logo {
  flex-shrink: 0;
  min-width: 0;
}

.header-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 100%;
}

.header-tagline {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  flex: 1;
  min-width: 0;
  text-align: left;
}

.header-tel {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.header-tel small {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.btn-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px 22px;
  background: var(--gradient);
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 119, 182, 0.35);
  white-space: nowrap;
}

.btn-entry-short {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 96px 20px 104px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0, 47, 73, 0.88) 0%, rgba(0, 95, 143, 0.72) 45%, rgba(0, 119, 182, 0.45) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-copy {
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero p {
  font-size: 1.7rem;
  opacity: 0.95;
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li {
  background: rgba(255, 255, 255, 0.18);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.hero-cta {
  margin-top: 24px;
  margin-bottom: 0;
}

/* Intro */
.intro-section {
  padding-top: 48px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.intro-lead {
  text-align: left;
  margin: 0 0 24px;
}

.intro-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.intro-photos figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.intro-photos img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.intro-media .video-wrap {
  margin: 0;
}

/* Nav */
.page-nav {
  background: #fff;
  border-bottom: 1px solid #e2edf5;
  position: sticky;
  top: var(--header-h);
  z-index: 90;
}

.page-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 12px;
}

.page-nav li {
  flex: 0 0 auto;
}

.page-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue-dark);
  border-radius: 8px;
  white-space: nowrap;
}

.page-nav a:hover {
  background: #e8f4fa;
}

/* Video */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 40px 0;
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Reasons */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: linear-gradient(180deg, #f8fcff 0%, #eef8f6 100%);
  border: 1px solid #d8eaf2;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}

.reason-photo {
  margin: 0;
  overflow: hidden;
}

.reason-photo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.reason-body {
  padding: 24px 22px 28px;
}

.reason-card h3 {
  font-size: 1.9rem;
  color: var(--blue);
  margin-bottom: 12px;
}

.reason-card p {
  color: var(--text-muted);
  font-size: 1.5rem;
}

.reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

/* Swiper */
.gallery-section {
  padding: 48px 0;
  background: #fff;
}

.gallery-swiper-inner {
  padding-top: 8px;
}

.gallery-swiper {
  width: 100%;
  padding: 20px 0 48px;
  position: relative;
}

.gallery-swiper .swiper-button-prev {
  left: 4px;
}

.gallery-swiper .swiper-button-next {
  right: 4px;
}

.gallery-swiper .swiper-slide {
  height: auto;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--blue) !important;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  color: var(--blue);
}

.gallery-swiper .swiper-button-next:after,
.gallery-swiper .swiper-button-prev:after {
  font-size: 28px;
}

/* FAQ */
.faq-list .faq-item {
  border: 1px solid #dce8f0;
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.7rem;
}

.faq-q .mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.faq-a {
  display: none;
  padding: 0 22px 20px 68px;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.faq-item.is-open .faq-a {
  display: block;
}

/* Recruit */
.job-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.job-tab {
  padding: 12px 24px;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
}

.job-tab.is-active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.job-panel {
  display: none;
}

.job-panel.is-active {
  display: block;
}

.job-visual {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.job-visual img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.job-panel-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #dce8f0;
}

.job-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.job-highlights li {
  background: linear-gradient(180deg, #e8f4fa, #e6f5f1);
  border: 1px solid #b8d9ea;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue-dark);
  line-height: 1.5;
}

.job-detail h4 {
  font-size: 1.5rem;
  color: var(--blue);
  margin: 16px 0 8px;
  font-weight: 700;
}

.job-detail h4:first-child {
  margin-top: 0;
}

.job-detail p,
.job-detail ul {
  font-size: 1.45rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.job-detail ul {
  padding-left: 1.2em;
  list-style: disc;
}

.job-detail ul ul {
  margin-top: 6px;
  list-style: circle;
}

.job-detail .note-box {
  background: #f8fcff;
  border-left: 4px solid var(--teal);
  padding: 12px 16px;
  margin: 12px 0;
  border-radius: 0 8px 8px 0;
}

.job-detail .flow-list {
  list-style: none;
  padding-left: 0;
}

.job-detail .flow-list li {
  margin-bottom: 6px;
}

.job-contact-box {
  margin-top: 20px;
  padding: 16px;
  background: #f0f7fc;
  border-radius: 8px;
  font-size: 1.45rem;
}

.job-contact-box a {
  font-weight: 700;
}

.ta1 {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}

.ta1 th,
.ta1 td {
  border: 1px solid #dce8f0;
  padding: 16px 18px;
  vertical-align: top;
  text-align: left;
}

.ta1 th {
  width: 28%;
  background: linear-gradient(180deg, #e8f4fa, #e6f5f1);
  color: var(--blue-dark);
  font-weight: 700;
  white-space: nowrap;
}

/* Form */
#form {
  background: linear-gradient(180deg, #e8f4fa 0%, #f4f9fc 100%);
  padding: 64px 0;
}

#form .section-card {
  max-width: 800px;
  margin: 0 auto;
}

.form-table th {
  width: 30%;
}

.form-table input,
.form-table textarea {
  width: 100%;
  border: 1px solid #c5d8e6;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1.6rem;
  font-family: inherit;
}

.form-table textarea {
  min-height: 140px;
  resize: vertical;
}

.btn-submit {
  display: block;
  width: min(100%, 320px);
  margin: 32px auto 0;
  padding: 16px;
  border: none;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.35);
}

.form-note {
  text-align: center;
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 1.4rem;
}

.privacy {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #dce8f0;
  font-size: 1.3rem;
  color: var(--text-muted);
}

.privacy h3 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 12px;
}

.privacy h4 {
  font-size: 1.4rem;
  margin: 16px 0 6px;
  color: var(--text);
}

/* Company */
.company-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.company-photos {
  display: grid;
  gap: 16px;
}

.company-photos figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.company-photos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.map-wrap {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: #dce8f0;
  padding: 40px 20px;
  text-align: center;
}

.site-footer .footer-logo {
  margin-bottom: 12px;
}

.site-footer .footer-logo img {
  height: 44px;
}

.site-footer p {
  font-size: 1.4rem;
  line-height: 1.7;
}

.copyright {
  margin-top: 20px;
  font-size: 1.2rem;
  opacity: 0.8;
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 64px 20px;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
}

.cta-band-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 95, 143, 0.88) 0%, rgba(0, 119, 182, 0.82) 50%, rgba(0, 168, 150, 0.85) 100%);
  z-index: 1;
}

.cta-band-inner {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.cta-band .tel-large {
  font-size: 3rem;
  font-weight: 800;
  margin: 16px 0;
}

.cta-band .tel-large a {
  color: #fff;
}

main {
  padding-bottom: 0;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

@media (max-width: 900px) {
  .hero {
    min-height: 460px;
    padding: 72px 20px 80px;
  }

  .hero-copy {
    max-width: none;
    text-align: center;
  }

  .hero-points {
    justify-content: center;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-lead {
    text-align: center;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .page-nav {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .page-nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    max-width: none;
    margin: 0;
    gap: 0;
  }

  .page-nav a {
    padding: 10px 12px;
    font-size: 1.3rem;
  }

}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }

  .section-card {
    padding: 32px 20px;
  }

  .header-inner {
    gap: 8px;
    padding: 8px 12px;
  }

  .header-logo img {
    height: 32px;
    max-width: min(42vw, 160px);
  }

  .btn-entry {
    padding: 10px 14px;
    font-size: 1.3rem;
  }

  .btn-entry-long {
    display: none;
  }

  .btn-entry-short {
    display: inline;
  }

  .ta1 th,
  .ta1 td {
    display: block;
    width: 100%;
  }

  .ta1 th {
    border-bottom: none;
  }

  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }

  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .gallery-swiper .swiper-slide img {
    height: 220px;
  }

  .intro-photos img {
    height: 90px;
  }

  .job-visual img {
    height: 200px;
  }
}

@media (min-width: 769px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
  }
}

/* メールフォーム確認・完了画面 */
body.mail-subpage {
  background: var(--bg);
}

.mail-subpage #formWrap {
  max-width: 800px;
  margin: 48px auto 64px;
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mail-subpage #formWrap h2,
.mail-subpage #formWrap h4 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--blue-dark);
  margin-bottom: 20px;
}

.mail-subpage #formWrap .lead {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.mail-subpage table.formTable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.mail-subpage table.formTable th,
.mail-subpage table.formTable td {
  border: 1px solid #dce8f0;
  padding: 14px 16px;
  font-size: 1.5rem;
  vertical-align: top;
  text-align: left;
}

.mail-subpage table.formTable th {
  width: 30%;
  background: linear-gradient(180deg, #e8f4fa, #e6f5f1);
  color: var(--blue-dark);
  font-weight: 700;
}

.mail-subpage p.error_messe {
  color: #c00;
  margin: 6px 0;
}

.mail-subpage .form-actions {
  text-align: center;
  margin-top: 24px;
}

.mail-subpage .form-actions input[type="submit"],
.mail-subpage .form-actions input[type="button"],
.mail-subpage .to-top {
  display: inline-block;
  margin: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  font-size: 1.6rem;
  font-weight: 700;
  cursor: pointer;
}

.mail-subpage .form-actions input[type="submit"],
.mail-subpage .to-top {
  background: var(--gradient);
  color: #fff;
}

.mail-subpage .form-actions input[type="button"] {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.mail-subpage .header-inner--center {
  justify-content: center;
}

.mail-subpage .complete-message {
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
  .mail-subpage #formWrap {
    margin: 24px 16px 48px;
    padding: 28px 20px;
  }

  .mail-subpage table.formTable th,
  .mail-subpage table.formTable td {
    display: block;
    width: 100%;
  }

  .mail-subpage table.formTable th {
    border-bottom: none;
  }

  .mail-subpage .form-actions input[type="submit"],
  .mail-subpage .form-actions input[type="button"],
  .mail-subpage .to-top {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}
