/* ========================================
   Reset & Base Styles
   ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, Arial, sans-serif;
  color: #0b0b0b;
  background: #fbfdff;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 48px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.site-header {
  position: relative;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #80d4f3, #00a8e6);
}

.header-row-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0 0;
}

.header-row-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 16px 0;
  border-bottom: 1px solid #e6eef8;
}

.logo img {
  height: 148px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-right: 20px;
}

.facebook-link {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.facebook-link .fb-logo {
  height: 28px;
  width: auto;
}

.facebook-link:hover {
  color: #1877f2;
}

.contact-btn {
  display: inline-block;
  background: #00c8ff;
  color: #fff;
  text-decoration: none;
  padding: 6px 18px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0, 200, 255, 0.2);
}

.contact-btn:hover {
  background: #00a0d6;
  box-shadow: 0 3px 10px rgba(0, 200, 255, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav a {
  color: #1f2937;
  text-decoration: none;
  margin: 0 30px;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #0366d6;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  background-color: #e9f2ff;
  background-image: url('../img/header_2.jpg'), linear-gradient(135deg, #e9f2ff 0%, #dff6ff 100%);
  background-size: cover;
  background-position: center;
  height: 600px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 102, 214, 0.18), rgba(3, 102, 214, 0.06));
  z-index: 0;
}

.hero-inner {
  width: 100%;
  padding: 36px 20px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: center;
}

.hero-left {
  text-align: center;
}

.site-title {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  color: #0b0b0b;
  line-height: 1.15;
}

.site-title .times {
  font-weight: 100;
  font-size: 1.8em;
  margin: 0 5px;
  color: #005893;
  position: relative;
  top: 7px;
}

.lead {
  color: #0b0b0b;
  opacity: 0.95;
  font-size: 26px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  background: #0366d6;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card {
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(3, 102, 214, 0.06);
  border: 1px solid rgba(3, 102, 214, 0.06);
  color: #0b2540;
}

.card h4 {
  margin-bottom: 6px;
}

/* Sub-page Hero */
.hero.small-hero,
.hero.hero-sub {
  height: 250px !important;
  min-height: 120px;
}

.small-hero .hero-inner,
.hero-sub .hero-inner {
  padding: 0 20px;
}

.small-hero .site-title,
.hero-sub .site-title {
  font-size: 36px;
  margin-bottom: 0;
  line-height: 1.1;
}


/* ========================================
   Page Sections
   ======================================== */
.intro {
  padding: 40px 0;
}

/* ========================================
   Announcements Section
   ======================================== */
.announcements {
  padding: 22px 20px 0 20px;
  background: linear-gradient(180deg, #fff, #fbfdff);
  border-bottom: 1px solid #eef6ff;
}

.announcements .wrap {
  padding-left: 20px;
  padding-right: 20px;
}

.announcements h2 {
  color: #023e67;
  margin-bottom: 8px;
}

.news-list {
  list-style: none;
  display: block;
}

.news-list li {
  background: none;
  padding: 6px 0;
  margin-bottom: 6px;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  font-size: 15px;
  color: #0b0b0b;
}

.news-list time {
  display: inline-block;
  color: #5b7a93;
  font-size: 13px;
  margin-right: 8px;
}

.news-list-top a {
  color: #0366d6;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s;
}

.news-list-top a:hover {
  color: #024fa2;
  text-decoration: underline;
}

.news-more {
  text-align: right;
  margin-top: 12px;
}

.news-more a {
  color: #0366d6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.news-more a:hover {
  color: #024fa2;
  text-decoration: underline;
}

.news-list-full {
  list-style: none;
  margin-top: 20px;
}

.news-list-full li {
  padding: 16px 0;
  border-bottom: 1px solid #e6eef8;
}

.news-list-full li:last-child {
  border-bottom: none;
}

.news-list-full a {
  color: #0366d6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
  margin-left: 12px;
}

.news-list-full a:hover {
  color: #024fa2;
  text-decoration: underline;
}

.news-detail {
  max-width: 800px;
  margin: 0 auto;
}

.news-date {
  display: block;
  color: #5b7a93;
  font-size: 14px;
  margin-bottom: 12px;
}

.news-detail h2 {
  color: #023e67;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0366d6;
}

.news-detail h3 {
  color: #023e67;
  margin-top: 24px;
  margin-bottom: 12px;
}

.news-content {
  line-height: 1.8;
  color: #0b0b0b;
}

.news-content p {
  margin-bottom: 16px;
}

.news-content ul {
  margin: 16px 0 16px 16px;
}

.service-list {
  margin: 16px 0 16px 16px;
  list-style: disc;
}

.service-list li {
  margin-bottom: 8px;
}

.company-list {
  margin: 0;
  padding-left: 16px;
  list-style: decimal;
}

.company-list li {
  margin-bottom: 4px;
}

.news-content li {
  margin-bottom: 8px;
}

.news-content a {
  color: #0366d6;
  text-decoration: underline;
}

.news-content a:hover {
  color: #024fa2;
}

.news-back {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e6eef8;
}

.news-back a {
  color: #0366d6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.news-back a:hover {
  color: #024fa2;
  text-decoration: underline;
}

/* ========================================
   Promotion/Card Section
   ======================================== */
.promotion-section {
  padding: 0 10px 36px 10px;
}

.promotion-section .wrap {
  padding-left: 20px;
  padding-right: 20px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.service-card {
  display: flex;
  flex-direction: column;
  /* background: linear-gradient(180deg, #fbfeff 0%, #b8e3ff 100%); */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(3, 102, 214, 0.12);
  border: 1px solid rgba(3, 102, 214, 0.15);
  min-height: 170px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #f7fbff;
}

.service-card:hover {
  /* transform: translateY(-8px) scale(1.02); */
  box-shadow: 0 16px 48px rgba(3, 102, 214, 0.25);
  border-color: #0366d6;
}

.service-card .media {
  flex: 0 0 auto;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3D iframe background inside .media */
.service-card .media { position: relative; overflow: hidden; }
.service-card .media .media-3d-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.service-card .media .media-3d-bg iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
  background: transparent;
}
.service-card .media .media-fallback {
  position: relative;
  z-index: 1;
  width: 60%;
  max-width: 160px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.service-card .content { position: relative; z-index: 2; }

.service-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* SVG images in the service-card: responsive sizes across 4 breakpoints
   Mobile-first sizes with max-width caps to avoid oversized rendering
   - default (mobile): 85% (max-width: 140px)
   - >=521px: 75% (max-width: 160px)
   - >=701px: 60% (max-width: 200px)
   - >=1000px: 50% (max-width: 240px) */
.service-card .media img[src$=".svg"] {
  width: 100%;
  max-width: 150px;
  height: auto;
  object-fit: none;
  display: block;
}

@media (min-width: 521px) {
  .service-card .media img[src$=".svg"] {
    width: 75%;
    max-width: 160px;
  }
}

@media (min-width: 701px) {
  .service-card .media img[src$=".svg"] {
    width: 60%;
    max-width: 200px;
  }
}

@media (min-width: 1000px) {
  .service-card .media img[src$=".svg"] {
    width: 50%;
    max-width: 240px;
  }
}

/* Hover: slightly scale SVG fallback images inside service cards */
.service-card .media .media-fallback,
.service-card .media img[src$=".svg"] {
  transition: transform 0.28s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
  transform-origin: center center;
}

.service-card:hover .media .media-fallback,
.service-card:focus-within .media .media-fallback,
.service-card:hover .media img[src$=".svg"],
.service-card:focus-within .media img[src$=".svg"] {
  transform: scale(1.05); /* 5% enlargement on hover/focus */
}

/* .service-card .media svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
} */

.service-card .media.dummy {
  background: linear-gradient(135deg, #00c8ff, #00a0d6);
  color: #fff;
}

.service-card .media.dummy span {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.service-card .content {
  flex: 1 1 auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-card h3 {
  margin-bottom: 4px;
  color: #012a4a;
}

.service-card p {
  margin-bottom: 12px;
  color: #23465f;
  font-size: 15px;
  line-height: 18px;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card-link:focus,
.card-link:hover {
  box-shadow: 0 0 0 3px #00c8ff44, 0 12px 30px rgba(3, 102, 214, 0.08);
  border-color: #00c8ff;
  outline: none;
}

/* ========================================
   Company Page Components
   ======================================== */
.pdf-embed {
  margin-top: 16px;
  border: 1px solid #e6eef8;
}

.policy h2 {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #0366d6;
  margin: 40px 0 32px 0;
  letter-spacing: 0.1em;
}

.policy h2::before,
.policy h2::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, #0366d6);
}

.policy h2::before {
  margin-right: 1em;
}

.policy h2::after {
  margin-left: 1em;
  background: linear-gradient(to left, transparent, #0366d6);
}

.policy section:not(:first-child) {
  margin-top: 80px;
}

.policy section:not(:first-child) h2 {
  margin-top: 60px;
}

.policy h4 {
  font-size: 17px;
  font-weight: 600;
  color: #0366d6;
  padding: 3px 0;
  margin: 20px 0 12px 0;
  border-left: 4px solid #0366d6;
  padding-left: 14px;
  background: linear-gradient(to right, rgba(3, 102, 214, 0.05), transparent);
}

/* Privacy Policy Page */
.privacy-policy h2 {
  font-size: 20px;
  font-weight: 600;
  color: #0366d6;
  margin: 32px 0 16px 0;
  text-align: left;
}

.privacy-policy ul {
  list-style-position: inside;
  padding-left: 0;
  margin-top: 10px;
}

.privacy-policy li {
  margin-bottom: 2px;
  line-height: 1.5;
}

.section-title-cyan {
  color: #00b8e6;
  border: 1px solid #00c8ff;
  padding: 5px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 18px;
}

.about-hero-image {
  width: 100vw;
  margin: 0 0 32px 0;
  overflow: hidden;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.about-hero-image img {
  /* 元画像の実サイズを超えて拡大しない設定:
     - 幅は自動（画像が小さい場合は拡大されない）
     - ただしコンテナより小さい場合は最大でも100%まで縮小して表示する
     - 高さは自動でアスペクト比を保持 */
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: none;
  object-position: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* モバイル: 780px 未満ではモバイル画像に差し替わり、幅100% 高さ自動で表示
   コンテナの高さは固定せず自動で画像に追従する */
@media (max-width: 780px) {
  .about-hero-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    display: block !important;
  }
  .about-hero-image {
    /* コンテナを通常のフロー幅に戻して画像の高さに追従させる */
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }
}

/* デスクトップ: 781px 以上ではコンテナ高さを固定して画像を cover 表示にする */
@media (min-width: 781px) {
  .about-hero-image {
    width: 100vw;
    margin: 0 0 32px 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 195px; /* 固定高さ */
    overflow: hidden; /* 上下を切る */
  }
  .about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

/* 超大型スクリーン: 横幅が 2266px を超えた時に画像をそれ以上拡大しない */
@media (min-width: 2266px) {
  .about-hero-image img {
    width: 100%;
    max-width: 2266px; /* これより拡大しない */
    height: 100%;
    object-fit: cover; /* 高さに合わせてトリミング */
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  /* 画像自体は中央寄せにする（コンテナはフル幅のまま） */
  .about-hero-image {
    text-align: center;
  }
}

.about-content-image {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: 8px;
}

.about-content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.policy-grid h3 {
  color: #023e67;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.company-table th {
  text-align: left;
  padding: 10px;
  background: #f1f8ff;
  width: 26%;
}

.company-table td {
  padding: 10px;
  border-bottom: 1px solid #eef6ff;
}

.map-section {
  margin-top: 24px;
}

.map-section h2,
.map-section p {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.map-section h2 {
  margin-bottom: 0;
  margin-top: 10px;
}

.map-section p {
  padding-top: 0;
  margin-top: 0;
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(3, 102, 214, 0.06);
  border: 1px solid rgba(3, 102, 214, 0.06);
  width: 1160px;
  max-width: 100%;
  margin: 0 auto;
}

.map-wrap iframe {
  width: 1160px;
  max-width: 100%;
  height: 420px;
  border: 0;
  display: block;
  margin: 0 auto;
}

/* ========================================
   Services Page (MUI Style)
   ======================================== */
.services-content {
  max-width: 900px;
  margin: 0 auto;
}

.services-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0366d6;
  margin: 48px 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #0366d6;
  letter-spacing: 0.02em;
}

.services-content h2:first-child {
  margin-top: 24px;
}

.service-item {
  background: #fafdff;
  border: 1.5px solid #b6c7e3;
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.service-item:hover {
  border-color: #0366d6;
  box-shadow: 0 4px 16px rgba(3, 102, 214, 0.08);
  /* transform: translateY(-2px); */
}

.service-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0366d6;
  margin: 0 0 16px 0;
  letter-spacing: 0.02em;
}

.service-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #24292f;
  margin: 0;
  letter-spacing: 0.01em;
}

@media (max-width: 700px) {
  .services-content {
    max-width: 100%;
  }

  .service-item {
    padding: 20px;
  }

  .services-content h2 {
    font-size: 20px;
    margin: 36px 0 18px 0;
  }

  .service-item h3 {
    font-size: 16px;
  }

  .service-item p {
    font-size: 14px;
  }
}

/* ========================================
   Contact Form (MUI Style)
   ======================================== */
.card-form-wrap {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 40px auto;
  display: flex;
  justify-content: center;
}

.mui-form {
  width: 800px;
  max-width: 100%;
  margin: 32px auto 0 auto;
  padding: 32px 28px 24px 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(3, 102, 214, 0.10);
  border: 1px solid #e3eaf5;
}

/* 確認画面（#confirm-view）を入力フォームと同じ横幅に合わせる */
.card-form-wrap #confirm-view{
  width: 800px;
  max-width: 100%;
  margin: 32px auto 0 auto;
  box-sizing: border-box;
}

.mui-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 23px;
}

.mui-form label {
  font-size: 15px;
  color: #0366d6;
  margin-bottom: 7px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mui-form input,
.mui-form textarea,
.mui-form select {
  font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid #b6c7e3;
  border-radius: 7px;
  background: #fafdff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  margin-bottom: 2px;
  resize: vertical;
  font-family: inherit;
}

.mui-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230366d6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"%3e%3cpolyline points="6 9 12 15 18 9"%3e%3c/polyline%3e%3c/svg%3e');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding: 16px 42px 16px 14px;
  min-height: 56px;
  height: 56px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.5;
}

.mui-form input:focus,
.mui-form textarea:focus,
.mui-form select:focus {
  border-color: #0366d6;
  box-shadow: 0 0 0 2px #0366d633;
}

.mui-form input[type="file"] {
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
}

.required-mark {
  color: #d85f52;
  font-weight: 400;
  font-size: 14px;
  margin-left: 10px;
}

.form-note {
  font-size: 13px;
  color: #999;
  margin-top: 5px;
  margin-bottom: 0;
}

.form-privacy {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 7px;
  margin-bottom: 20px;
  margin-top: 10px;
}

.form-privacy p {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  margin: 0;
}

.form-privacy a {
  color: #0366d6;
  text-decoration: none;
}

.form-privacy a:hover {
  text-decoration: underline;
}

.mui-btn {
  display: inline-block;
  background: #0366d6;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 7px;
  padding: 10px 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(3, 102, 214, 0.08);
  transition: background 0.18s, box-shadow 0.18s;
}

.mui-btn:hover,
.mui-btn:focus {
  background: #024fa2;
  box-shadow: 0 4px 16px rgba(3, 102, 214, 0.13);
}

.mui-btn:disabled {
  background: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

.mui-btn:disabled:hover {
  background: #d1d5db;
  box-shadow: none;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  background: #f6f9ff;
  padding: 27px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #0366d6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #024fa2;
  text-decoration: underline;
}

.footer-copy {
  color: #5b7a93;
}

/* ========================================
   Responsive Media Queries
   ======================================== */
@media (max-width: 1000px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    flex-direction: row;
  }

  .service-card .media {
    max-width: 40%;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .hero {
    height: 320px;
    padding: 20px;
  }

  .site-title {
    font-size: 36px;
    line-height: 1.05;
  }

  .lead {
    font-size: 15px;
  }

  .wrap {
    padding: 18px;
  }

  .service-card {
    min-height: 120px;
  }

  .service-card .content {
    padding-right: 18px;
  }

  .card-cta {
    position: static;
    display: inline-block;
    margin-top: 12px;
    align-self: flex-end;
    padding: 2px 12px;
  }
}

@media (max-width: 600px) {
  .map-wrap iframe {
    height: 300px;
  }
}

@media (max-width: 520px) {
  .service-card {
    flex-direction: column;
  }

  .service-card .media {
    max-width: 100%;
    height: 160px;
  }
}

/* ========================================
   Hamburger Menu & Drawer (Mobile <= 425px)
   ======================================== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #0b0b0b;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: #ffffff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  z-index: 1003;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 60px 20px 20px;
}

.drawer-menu.open {
  right: 0;
}

.drawer-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  color: #0b0b0b;
  padding: 0;
  width: 40px;
  height: 40px;
}

.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav li {
  border-bottom: 1px solid #e6eef8;
}

.drawer-nav a {
  display: block;
  padding: 16px 0;
  color: #0b0b0b;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.drawer-nav a:hover {
  color: #00c8ff;
}

.drawer-actions {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #e6eef8;
}

.drawer-facebook {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: #0b0b0b;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
}

.drawer-facebook img {
  height: 24px;
}

.drawer-contact {
  display: block;
  width: 100%;
  padding: 12px;
  background: #00c8ff;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s ease;
}

.drawer-contact:hover {
  background: #00a8d6;
}

/* Recruit Page Styles */
.recruit-intro {
  text-align: center;
  margin-bottom: 60px;
}

.recruit-intro h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.recruit-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

.job-positions {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

.job-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.job-card h3 {
  font-size: 28px;
  font-weight: 600;
  color: #00BCD4;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #00BCD4;
}

.job-description h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.job-description ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.job-description li {
  padding-left: 1.2em;
  text-indent: -1.2em;
  margin-bottom: 4px;
  line-height: 1.8;
  color: #555;
}

.job-description li:before {
  content: "・";
  margin-right: 0.5em;
}

.job-actions {
  margin-top: 30px;
  text-align: center;
}

.job-actions .btn-primary {
  display: inline-block;
  background: #0366d6;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: none;
  border-radius: 7px;
  padding: 10px 32px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(3, 102, 214, 0.08);
  transition: background 0.18s, box-shadow 0.18s;
  text-decoration: none;
}

.job-actions .btn-primary:hover,
.job-actions .btn-primary:focus {
  background: #024fa2;
  box-shadow: 0 4px 16px rgba(3, 102, 214, 0.13);
}

.recruit-benefits {
  background: #f8f9fa;
  padding: 37px 30px;
  border-radius: 8px;
  margin-bottom: 60px;
}

.recruit-benefits h3 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.benefit-item h4 {
  font-size: 18px;
  font-weight: 600;
  color: #00BCD4;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

.recruit-flow {
  margin-bottom: 60px;
}

.recruit-flow h3 {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 0;
  list-style: none;
  counter-reset: step-counter;
}

.flow-steps li {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 10px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  counter-increment: step-counter;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.flow-steps li:before {
  content: counter(step-counter);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin: 0 0 15px 0;
  background: #00BCD4;
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 600;
  flex-shrink: 0;
}

.flow-steps li:not(:last-child):after {
  content: "→";
  position: absolute;
  top: 0;
  right: -15px;
  color: #00BCD4;
  font-size: 24px;
  font-weight: 600;
  line-height: 50px;
}

.flow-steps li p {
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.flow-steps li p:first-of-type {
  margin-top: 0;
}

.flow-note {
  text-align: center;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.apply-section {
  text-align: center;
  background: linear-gradient(135deg, #00BCD4 0%, #0097A7 100%);
  padding: 60px 40px;
  border-radius: 8px;
  color: #fff;
}

.apply-section h3 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.apply-section p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

.apply-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.apply-buttons .btn-primary {
  background: #fff;
  color: #00BCD4;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.apply-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-steps {
    flex-direction: column;
    gap: 20px;
    align-items: center; /* 中央寄せを強制 */
  }

  .flow-steps li {
    width: 100%;
    max-width: 420px; /* 各ステップの横幅上限（調整可） */
    box-sizing: border-box;
  }

  .flow-steps li:not(:last-child):after {
    content: "↓";
    top: auto;
    bottom: -30px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 700px) {
  .job-card {
    padding: 30px 20px;
  }

  .recruit-benefits {
    padding: 40px 20px;
  }

  .apply-section {
    padding: 40px 20px;
  }

  .apply-buttons {
    flex-direction: column;
    align-items: center;
  }

  .apply-buttons .btn-primary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 525px) {
  .hamburger {
    display: flex;
  }

  .header-row-2 {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .recruit-intro h2,
  .recruit-benefits h3,
  .recruit-flow h3,
  .apply-section h3 {
    font-size: 24px;
  }

  .job-card h3 {
    font-size: 22px;
  }
}

/* ========================================
    add Css @Hexawork
   ======================================== */

   .note-text {
  display: block;
  margin-left: 1.5em;
  font-size: 0.95em;
  color: #555;
  margin-top: 4px;
}

.salary-category {
  margin-top: 32px;
  margin-bottom: 14px;

  font-size: 0.95rem;
  font-weight: 700;

  color: #333;

  border-left: 4px solid #444;
  padding-left: 10px;
}