:root {
    --color-gray-base: #5c6266;
    --color-celeste: #81D8D0;
    --color-celeste-light: #E0F5F3;
    --color-deep-green-blue: #144955;
    --color-accent-warm: #E68A69;
    --color-bg-light: #F7FAFA;
    --color-bg-white: #ffffff;
    --color-text-main: #333C40;
    --font-body: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --line-height-base: 1.8;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    line-height: var(--line-height-base);
    font-size: clamp(16px, 1.2vw, 18px);
    overflow-x: hidden;
    letter-spacing: 0.05em;
  }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img { max-width: 100%; height: auto; display: block; }

  .section { padding-top: 10vw; padding-bottom: 10vw; position: relative; z-index: 2; }
  .container-dynamic { width: 100%; padding-left: 7vw; padding-right: 7vw; position: relative; max-width: 1400px; margin: 0 auto; }
  .container-dynamic.reverse { padding-left: 7vw; padding-right: 7vw; }

  /* セクションタイトル */
  .sec-title {
    font-size: clamp(28px, 3.5vw, 40px); color: var(--color-deep-green-blue); margin-bottom: 4rem; 
    font-weight: 800; position: relative; display: flex; flex-direction: column; align-items: center;
    letter-spacing: 0.1em; text-align: center;
  }
  .sec-title::after {
    content: ""; display: block; width: 40px; height: 3px; background-color: var(--color-accent-warm);
    margin-top: 25px; border-radius: 2px;
  }

  /* ボタン */
  .btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    padding: 0.6rem 0.6rem 0.6rem 2.5rem; background-color: var(--color-deep-green-blue);
    color: #fff; border-radius: 50px; font-weight: 700; font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 8px 20px rgba(20, 73, 85, 0.15);
    border: 2px solid var(--color-deep-green-blue); cursor: pointer; max-width: 100%;
    white-space: normal; text-align: center; line-height: 1.4; overflow: hidden; z-index: 1;
  }
  .btn::before {
    content: ""; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background-color: var(--color-celeste); transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1); z-index: -1;
  }
  .btn::after {
    content: "➔"; margin-left: 20px; display: inline-flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; background-color: #fff; color: var(--color-deep-green-blue); border-radius: 50%;
    font-family: var(--font-en); font-size: 1.2rem; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .btn:hover {
    color: var(--color-deep-green-blue); border-color: var(--color-celeste);
    box-shadow: 0 15px 25px rgba(129, 216, 208, 0.3); transform: translateY(-4px);
  }
  .btn:hover::before { width: 100%; }
  .btn:hover::after { background-color: var(--color-deep-green-blue); color: #fff; transform: translateX(3px); }

  .btn-outline {
    background-color: transparent; color: var(--color-deep-green-blue); border: 2px solid var(--color-deep-green-blue);
    box-shadow: none; padding: 0.4rem 0.4rem 0.4rem 1.5rem !important; 
  }
  .btn-outline::after { width: 32px; height: 32px; font-size: 1rem; margin-left: 10px; background-color: var(--color-deep-green-blue); color: #fff; }
  .btn-outline:hover { border-color: var(--color-deep-green-blue); color: #fff; }
  .btn-outline:hover::before { background-color: var(--color-deep-green-blue); }
  .btn-outline:hover::after { background-color: #fff; color: var(--color-deep-green-blue); }

  .btn-pdf {
    background-color: #fff; color: var(--color-deep-green-blue); border-color: var(--color-deep-green-blue);
    padding: 1rem 1rem 1rem 3rem; font-size: 1.15rem;
  }
  .btn-pdf::after {
    content: "↓"; font-family: var(--font-en); background-color: var(--color-deep-green-blue); color: #fff;
  }
  .btn-pdf:hover { color: #fff; }
  .btn-pdf:hover::after { background-color: #fff; color: var(--color-deep-green-blue); transform: translateY(3px); }

  /* ヘッダー */
  header.global-header {
    position: fixed; top: 20px; left: 2vw; right: 2vw; width: auto;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; padding: 10px 30px; 
    display: flex; justify-content: space-between; align-items: center; border-radius: 50px; box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  }
  .header-logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .header-logo { display: block; width: 50px; flex-shrink: 0; }
  .header-logo-text { display: flex; flex-direction: column; justify-content: center; }
  .header-logo-text .catch { font-size: 0.75rem; font-weight: 700; color: var(--color-celeste); letter-spacing: 0.05em; line-height: 1.2; margin-bottom: 2px; }
  .header-logo-text .name { font-size: 1.05rem; font-weight: 800; color: var(--color-deep-green-blue); font-family: var(--font-en); line-height: 1.1; }

  .global-nav ul { display: flex; gap: 2vw; align-items: center;}
  .global-nav a { font-size: 1.05rem; font-weight: 700; color: var(--color-gray-base); transition: color 0.3s; }
  .global-nav a:hover { color: var(--color-celeste); }
  .lang-switcher {
    margin-left: 2vw; font-family: var(--font-en); font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 12px; padding-left: 2vw; border-left: 1px solid rgba(0,0,0,0.1);
  }
  .lang-switcher a { color: var(--color-gray-base); transition: color 0.3s; }
  .lang-switcher a.active { color: var(--color-deep-green-blue); border-bottom: 2px solid var(--color-celeste); }
  .lang-switcher a:hover { color: var(--color-celeste); }

  /* ヒーローセクション */
  .page-hero {
    position: relative; height: 56vh; min-height: 500px;
    background: linear-gradient(135deg, rgba(20, 73, 85, 0.8), rgba(129, 216, 208, 0.7)), url('../images/DSC01250.jpg') 48% 34%/cover fixed;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: #fff; text-align: center; border-radius: 0 0 40px 40px; padding-top: 80px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }
  .page-hero h1 { font-family: var(--font-en); font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 800; letter-spacing: 0.1em; text-shadow: 0 4px 20px rgba(0,0,0,0.2); line-height: 1.1;}
  .page-hero p { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.2em; margin-top: 15px; opacity: 0.9;}

  /* 日本で暮らす人の学びを支える */
  .message-layout {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 120px;
    margin-top: 0;
  }
  .message-img-wrap {
    border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(20, 73, 85, 0.1); position: relative;
  }
  .message-img-wrap::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(20, 73, 85, 0.1), transparent); pointer-events: none;
  }
  .message-text-wrap h3 {
    font-size: 2.2rem; font-weight: 800; color: var(--color-deep-green-blue); margin-bottom: 30px; line-height: 1.4;
  }
  .message-text-wrap p {
    font-size: 1.15rem; line-height: 2; color: var(--color-text-main); font-weight: 500;
  }

  /* 数字で知るKLS */
  .numbers-section {
    margin-bottom: 120px;
  }
  .numbers-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; max-width: 1200px; margin: 0 auto;
  }
  .number-card {
    flex: 1 1 200px; max-width: 250px;
    background: #fff; border-radius: 20px; padding: 40px 15px; text-align: center;
    box-shadow: 0 15px 40px rgba(20, 73, 85, 0.05); border: 1px solid rgba(20, 73, 85, 0.05);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s;
  }
  .number-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(20, 73, 85, 0.08); }
  .number-title {
    font-size: 1.05rem; font-weight: 700; color: var(--color-gray-base); margin-bottom: 15px;
  }
  .number-value-wrap {
    display: flex; justify-content: center; align-items: baseline; color: var(--color-deep-green-blue);
  }
  .number-value {
    font-family: var(--font-en); font-size: 4rem; font-weight: 800; line-height: 1;
  }
  .number-unit {
    font-size: 1.2rem; font-weight: 700; margin-left: 5px;
  }

  /* 求める人物像 */
  .person-section {
    background-color: var(--color-bg-white); border-radius: 40px; padding: 8vw 5vw;
    box-shadow: 0 20px 60px rgba(20, 73, 85, 0.05); margin-bottom: 120px; border: 1px solid rgba(20, 73, 85, 0.05);
  }
  .person-list {
    display: flex; flex-direction: column; gap: 25px; max-width: 900px; margin: 0 auto;
  }
  .person-item {
    display: flex; align-items: center; gap: 30px; padding: 30px 40px;
    background: var(--color-bg-light); border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1), box-shadow 0.4s, background 0.4s, border-color 0.4s;
    border-left: 6px solid var(--color-celeste);
  }
  .person-item:hover { 
    transform: translateX(10px); background: #fff; box-shadow: 0 15px 40px rgba(20, 73, 85, 0.08); 
    border-left-color: var(--color-deep-green-blue);
  }
  .person-num {
    font-family: var(--font-en); font-size: 3.5rem; font-weight: 800; color: #d1dce0;
    line-height: 1; min-width: 70px; transition: color 0.4s;
  }
  .person-item:hover .person-num { color: var(--color-celeste); }
  .person-text { font-size: 1.15rem; font-weight: 700; color: var(--color-text-main); line-height: 1.6; }

  /* 講師インタビュー */
  .interview-section {
    margin-bottom: 120px;
  }
  .interview-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto;
  }
  .interview-card {
    background: #fff; border-radius: 24px; padding: 50px 30px;
    box-shadow: 0 20px 50px rgba(20, 73, 85, 0.08); border: 1px solid rgba(20, 73, 85, 0.05);
    position: relative; text-align: center;
    display: flex; flex-direction: column;
  }
  .interview-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--color-celeste), var(--color-deep-green-blue));
    border-radius: 24px 24px 0 0;
  }
  .interview-avatar {
    width: 100px; height: 100px; margin: 0 auto 20px; background: var(--color-bg-light); border-radius: 50%;
    border: 3px solid #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: flex; justify-content: center; align-items: center;
    color: var(--color-celeste);
  }
  .interview-avatar svg { width: 50px; height: 50px; }
  .interview-name {
    font-size: 1.3rem; font-weight: 800; color: var(--color-deep-green-blue); margin-bottom: 30px; letter-spacing: 0.05em;
  }
  .interview-text {
    font-size: 1.05rem; line-height: 1.9; color: var(--color-text-main); font-weight: 500; text-align: left;
    position: relative; padding: 0 15px; flex-grow: 1;
  }
  .interview-text::before, .interview-text::after {
    content: '"'; font-family: Georgia, serif; font-size: 4rem; color: var(--color-celeste-light);
    position: absolute; line-height: 1; z-index: -1;
  }
  .interview-text::before { top: -20px; left: -10px; }
  .interview-text::after { bottom: -30px; right: -10px; }

  /* 働く環境・福利厚生 */
  .env-section {
    background-color: var(--color-deep-green-blue); color: #fff;
    border-radius: 40px 40px 0 0; margin-top: -40px; padding-top: 8vw; padding-bottom: 8vw; position: relative; z-index: 9;
  }
  .env-section .sec-title { color: #fff; }
  .env-section .sec-title::after { background-color: var(--color-celeste); }
  
  .env-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 1000px; margin: 0 auto;
  }
  .env-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 35px 30px;
    transition: transform 0.3s, background 0.3s; display: flex; align-items: flex-start; gap: 20px; text-align: left;
  }
  .env-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.1); }
  .env-icon {
    width: 60px; height: 60px; flex-shrink: 0; background: rgba(129, 216, 208, 0.2); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; color: var(--color-celeste);
  }
  .env-icon svg { width: 28px; height: 28px; }
  .env-content { flex-grow: 1; }
  .env-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; letter-spacing: 0.05em; }
  .env-desc { font-size: 1rem; line-height: 1.7; opacity: 0.9; font-weight: 500; margin: 0;}

  /* オフィスギャラリー */
  .gallery-section {
    background-color: var(--color-bg-light); padding-top: 8vw; padding-bottom: 8vw; position: relative; z-index: 8;
  }

  .office-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.8vw, 24px);
    max-width: 1180px;
    margin: 20px auto 0;
  }

  .office-gallery-item {
    min-width: 0;
    height: clamp(210px, 22vw, 320px);
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: #eef4f3;
    box-shadow: 0 12px 30px rgba(20, 73, 85, 0.1);
  }

  .office-gallery-item:first-child {
    grid-column: span 2;
  }

  .office-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .office-gallery-item:hover img {
    transform: scale(1.035);
  }

  @media (max-width: 900px) {
    .office-gallery-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .office-gallery-item {
      height: clamp(190px, 34vw, 280px);
    }
  }

  @media (max-width: 600px) {
    .office-gallery-grid {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .office-gallery-item,
    .office-gallery-item:first-child {
      grid-column: auto;
      height: clamp(190px, 62vw, 260px);
      border-radius: 16px;
    }
  }

  /* 募集要項 */
  .req-section {
    background-color: var(--color-bg-white); border-radius: 40px 40px 0 0; margin-top: -40px; padding-top: 8vw; padding-bottom: 8vw; position: relative; z-index: 10;
  }
  .req-wrapper {
    background: linear-gradient(135deg, var(--color-bg-light) 0%, #ffffff 100%);
    max-width: 800px; margin: 0 auto; border-radius: 24px; padding: 60px 40px; text-align: center;
    box-shadow: 0 20px 50px rgba(20, 73, 85, 0.05); border: 1px dashed rgba(20, 73, 85, 0.2);
  }
  .req-icon {
    width: 80px; height: 80px; margin: 0 auto 20px; background: var(--color-celeste-light); border-radius: 20px;
    display: flex; justify-content: center; align-items: center; color: var(--color-deep-green-blue);
  }
  .req-icon svg { width: 40px; height: 40px; }
  .req-desc {
    font-size: 1.1rem; line-height: 1.8; color: var(--color-text-main); font-weight: 500; margin-bottom: 40px;
  }

  /* CTAセクション */
  .cta-section {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 14vw 4vw;
    background-image: url('../images/DSC00823.jpg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
  }

  body main > .recruitment-cta-section {
    background-color: #143f49 !important;
    background-image: url('../images/_W2P3048.jpg') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center 46% !important;
  }

  body main > .recruitment-cta-section::before {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg, rgba(12, 48, 57, 0.76) 0%, rgba(15, 65, 72, 0.61) 48%, rgba(20, 73, 85, 0.72) 100%) !important;
  }

  body main > .recruitment-cta-section::after {
    display: none !important;
  }

  body main > .recruitment-cta-section .cta-content {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  .cta-section::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(20, 73, 85, 0.95) 0%, rgba(129, 216, 208, 0.8) 100%);
    z-index: 1;
  }
  .cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
  .cta-content h2 {
    font-size: clamp(16px, 3.5vw, 40px); font-weight: 800; margin-bottom: 25px;
    letter-spacing: 0.05em; line-height: 1.4; text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    white-space: nowrap;
  }
  .cta-content p {
    margin-bottom: 50px; font-weight: 500; font-size: 1.15rem; color: rgba(255, 255, 255, 0.95); line-height: 1.6;
  }
  .btn-cta {
    background-color: #fff; color: var(--color-deep-green-blue); border-color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 1rem 1rem 1rem 3rem; font-size: 1.15rem;
  }
  .btn-cta::before { background-color: var(--color-accent-warm); }
  .btn-cta::after { background-color: var(--color-deep-green-blue); color: #fff; }
  .btn-cta:hover { color: #fff; border-color: var(--color-accent-warm); box-shadow: 0 15px 35px rgba(230, 138, 105, 0.4); }
  .btn-cta:hover::after { background-color: #fff; color: var(--color-accent-warm); }

  /* フッター */
  footer { background: #0F172A; color: #fff; padding: 80px 4vw 40px; overflow: hidden; }
  .footer-container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 50px; max-width: 1200px; margin: 0 auto; padding-bottom: 60px; }
  .footer-left { display: flex; flex-direction: column; align-items: flex-start; }
  .footer-right { display: flex; }
  .footer-logo-wrap { display: flex; align-items: center; gap: 25px; text-decoration: none; margin-bottom: 40px; }
  .footer-logo { display: block; width: 90px; flex-shrink: 0; }
  .footer-logo-text .catch { font-size: 0.95rem; font-weight: 700; color: var(--color-celeste); letter-spacing: 0.05em; line-height: 1.2; margin-bottom: 5px; }
  .footer-logo-text .name { font-size: 1.6rem; font-weight: 800; font-family: var(--font-en); line-height: 1.2; color: #fff; }
  .footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 60px; }
  .footer-nav ul { display: flex; flex-direction: column; gap: 15px; }
  .footer-nav a { font-weight: 500; opacity: 0.8; transition: opacity 0.3s; font-size: 1.05rem; }
  .footer-nav a:hover { opacity: 1; color: var(--color-celeste); }

  .floating-cta { position: fixed; bottom: 30px; right: 30px; z-index: 999; }
  .circle-btn {
    position: relative; display: flex; align-items: center; justify-content: center;
    width: 110px; height: 110px; border-radius: 50%;
    background: linear-gradient(135deg, #FF9E7D 0%, var(--color-accent-warm) 100%);
    color: #fff; text-decoration: none;
    box-shadow: 0 12px 25px rgba(230, 138, 105, 0.5), inset 0 4px 8px rgba(255, 255, 255, 0.5), inset 0 -4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }
  .circle-btn:hover {
    background: linear-gradient(135deg, #1A5A69 0%, var(--color-deep-green-blue) 100%);
    box-shadow: 0 15px 35px rgba(20, 73, 85, 0.4), inset 0 4px 8px rgba(255, 255, 255, 0.3), inset 0 -4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
  }
  .circle-text { position: absolute; top: 0; left: 0; width: 100%; height: 100%; animation: rotateText 12s linear infinite; }
  .circle-text svg { width: 100%; height: 100%; }
  .circle-text text { fill: #fff; font-size: 13px; font-weight: 700; }
  .circle-icon { font-size: 1.8rem; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); position: relative; z-index: 2; filter: drop-shadow(0 3px 5px rgba(0,0,0,0.25)); }
  .circle-btn:hover .circle-icon { transform: scale(1.15) rotate(-15deg); }

  @keyframes rotateText {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1),
                transform 1s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .i18n-elem {
    transition: opacity 0.3s ease;
  }

  @media (max-width: 992px) {
    header.global-header { top: 10px; left: 10px; right: 10px; padding: 10px 20px; border-radius: 30px;}
    .header-logo-wrap { gap: 8px; }
    .header-logo { width: 40px; } 
    .header-logo-text .catch { font-size: 0.6rem; }
    .header-logo-text .name { font-size: 0.85rem; }
    .global-nav { display: none; }

    .section {
      padding-top: 15vw;
      padding-bottom: 15vw;
    }

    .container-dynamic {
      padding-left: 5vw;
      padding-right: 5vw;
    }

    .container-dynamic.reverse {
      padding-left: 5vw;
      padding-right: 5vw;
    }

    .btn {
      padding: 0.5rem 0.5rem 0.5rem 1.8rem;
      font-size: 0.95rem;
    }

    .btn::after {
      width: 38px;
      height: 38px;
      margin-left: 15px;
      font-size: 1.1rem;
    }
    
    .message-layout {
      grid-template-columns: 1fr;
      gap: 40px;
      margin-bottom: 80px;
      margin-top: 20px;
    }
    
    .numbers-section {
      margin-bottom: 80px;
    }

    .numbers-grid {
      gap: 15px;
    }

    .number-card {
      flex: 1 1 150px;
      max-width: none;
      padding: 25px 10px;
    }

    .number-value {
      font-size: 2.8rem;
    }

    .number-unit {
      font-size: 1rem;
    }

    .person-section {
      padding: 40px 20px;
      margin-bottom: 80px;
    }

    .person-list {
      gap: 20px;
    }

    .person-item {
      flex-direction: column;
      text-align: center;
      gap: 15px;
      padding: 30px 20px;
      border-left: none;
      border-top: 6px solid var(--color-celeste);
    }

    .person-item:hover {
      transform: translateY(-5px);
      border-top-color: var(--color-deep-green-blue);
    }

    .person-num {
      min-width: auto;
      font-size: 3rem;
    }
    
    .interview-section {
      margin-bottom: 80px;
    }

    .interview-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }

    .interview-card {
      padding: 40px 25px;
    }

    .env-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .req-wrapper {
      padding: 40px 20px;
    }

    .btn-pdf {
      padding: 0.8rem 0.8rem 0.8rem 2rem;
      font-size: 1rem;
      width: 100%;
      display: flex;
    }

    .btn-cta {
      padding: 0.8rem 0.8rem 0.8rem 2rem;
      font-size: 1rem;
    }

    .cta-section {
      background-attachment: scroll;
    }

    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 50px;
    }

    .footer-left {
      align-items: center;
    }

    .footer-logo-wrap {
      flex-direction: column;
      text-align: center;
      gap: 15px;
      margin-bottom: 30px;
    }

    .footer-logo-text {
      text-align: center;
    }

    .footer-nav {
      grid-template-columns: 1fr;
      justify-content: center;
      text-align: center;
      gap: 40px;
    }

    .floating-cta {
      bottom: 20px;
      right: 20px;
    }

    .circle-btn {
      width: 90px;
      height: 90px;
    }

    .circle-text text {
      font-size: 10.5px;
    }

    .circle-icon {
      font-size: 1.5rem;
    }
  }

  /* Mobile layout hardening: 360–600px */
  @media (max-width: 600px) {
    *,
    *::before,
    *::after {
      min-width: 0;
    }

    html {
      font-size: 15px;
      overflow-x: hidden;
    }

    body {
      overflow-x: clip;
      overflow-wrap: anywhere;
    }

    header.global-header {
      top: 6px;
      left: 6px;
      right: 6px;
      padding: 8px 12px;
      border-radius: 24px;
      gap: 8px;
    }

    .header-logo-wrap {
      gap: 6px;
      flex: 1 1 auto;
      min-width: 0;
    }

    .header-logo {
      width: 32px;
    }

    .header-logo-text {
      min-width: 0;
    }

    .header-logo-text .catch {
      display: none;
    }

    .header-logo-text .name {
      display: block;
      max-width: 145px;
      font-size: 0.72rem;
      line-height: 1.15;
      white-space: normal;
      overflow-wrap: anywhere;
    }

    header.global-header > div:last-child {
      flex: 0 0 auto;
    }

    .lang-switcher {
      margin-left: 6px;
      padding-left: 8px;
      gap: 8px;
      font-size: 0.85rem;
    }

    .page-hero {
      height: auto;
      min-height: 360px;
      padding: 110px 16px 70px;
      border-radius: 0 0 24px 24px;
      background-attachment: scroll;
      background-position: 48% 34%;
    }

    .page-hero h1 {
      max-width: 100%;
      font-size: clamp(2rem, 11vw, 3rem);
      line-height: 1.08;
      letter-spacing: 0.04em;
      overflow-wrap: anywhere;
    }

    .page-hero p {
      font-size: 0.95rem;
      letter-spacing: 0.08em;
      line-height: 1.5;
    }

    .section {
      padding-top: 64px;
      padding-bottom: 64px;
    }

    .container-dynamic,
    .container-dynamic.reverse {
      padding-left: 16px;
      padding-right: 16px;
    }

    .sec-title {
      display: block;
      max-width: 100%;
      margin-bottom: 40px;
      font-size: clamp(1.55rem, 8vw, 2rem);
      line-height: 1.35;
      letter-spacing: 0.04em;
      overflow-wrap: anywhere;
    }

    .btn {
      width: 100%;
      max-width: 100%;
      min-height: 48px;
      justify-content: space-between;
      padding: 8px 8px 8px 18px;
      font-size: 0.95rem;
      line-height: 1.35;
    }

    .btn::after {
      flex: 0 0 34px;
      width: 34px;
      height: 34px;
      margin-left: 10px;
    }

    .btn-outline {
      padding: 8px 8px 8px 16px !important;
    }

    footer {
      padding: 60px 16px 28px;
    }

    .footer-container {
      width: 100%;
      padding-bottom: 42px;
      gap: 36px;
    }

    .footer-left,
    .footer-right {
      width: 100%;
      align-items: center;
      justify-content: center;
    }

    .footer-logo {
      width: 72px;
    }

    .footer-logo-text .name {
      font-size: 1.15rem;
      overflow-wrap: anywhere;
    }

    .footer-nav {
      width: 100%;
      gap: 26px;
    }

    .floating-cta {
      right: 12px;
      bottom: 12px;
    }

    .circle-btn {
      width: 76px;
      height: 76px;
    }

    .circle-text text {
      font-size: 9.5px;
    }

    .circle-icon {
      font-size: 1.25rem;
    }
  }

  @media (max-width: 600px) {
    .message-layout {
      gap: 26px;
      margin-bottom: 64px;
    }

    .message-text-wrap h3 {
      font-size: 1.55rem;
      line-height: 1.45;
    }

    .message-text-wrap p {
      font-size: 1rem;
      line-height: 1.9;
    }

    .req-wrapper {
      padding: 30px 16px;
      border-radius: 20px;
    }

    .btn-pdf,
    .btn-cta {
      width: 100%;
      padding: 8px 8px 8px 16px;
    }

    .cta-section {
      padding: 88px 16px;
    }

    .cta-content h2 {
      white-space: normal;
      font-size: 1.55rem;
      line-height: 1.5;
    }

    .cta-content p {
      margin-bottom: 34px;
      font-size: 1rem;
    }
  }

  /* 左右幅の統一 */
  html,
  body {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .container-dynamic,
  .container-dynamic.reverse {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 7vw, 112px);
    padding-right: clamp(16px, 7vw, 112px);
  }

  @media (max-width: 992px) {
    .container-dynamic,
    .container-dynamic.reverse {
      padding-left: 5vw;
      padding-right: 5vw;
    }
  }

  @media (max-width: 600px) {
    .container-dynamic,
    .container-dynamic.reverse {
      padding-left: 16px;
      padding-right: 16px;
    }
  }

/* =========================================================
   Clean Backgrounds for Recruitment Page
========================================================= */

/* Message Section */
.container-dynamic:has(.message-layout),
.message-section {
  background-color: var(--color-bg-base);
}

.message-layout {
  background: #FFFFFF;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(20, 73, 85, 0.08);
  box-shadow: 0 8px 24px rgba(20, 73, 85, 0.05);
}

/* Gallery Section */
.gallery-section {
  background-color: var(--color-bg-warm) !important;
}

/* スマホの大見出しは2行、本文側の同文は1行、施設紹介文は指定位置で2行。 */
@media (max-width: 600px) {
  html:lang(ja) .recruit-message-section [data-i18n="sec-message"] {
    display: block;
    white-space: normal;
    word-break: normal;
    text-wrap: wrap;
    line-height: 1.5;
  }

  html:lang(ja) .recruit-message-section [data-i18n="sec-message"]::after {
    margin-inline: auto;
  }

  html:lang(ja) .message-text-wrap {
    container-type: inline-size;
  }

  html:lang(ja) .message-text-wrap [data-i18n-html="msg-title"] {
    font-size: min(24px, 6.2cqi);
    letter-spacing: 0;
    white-space: nowrap;
  }

  html:lang(ja) [data-i18n="gallery-desc"] {
    white-space: normal;
    word-break: normal;
    text-wrap: wrap;
  }
}

/* Requirements Section */
.req-section {
  background-color: var(--color-bg-base) !important;
}

.req-wrapper {
  background: #FFFFFF !important;
  border: 1px solid rgba(20, 73, 85, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 20px rgba(20, 73, 85, 0.04) !important;
}

