/* GINATOUR mobile series > course directory, 2026-11-11. */
.gm-directory, .gm-company { display: none; }
@media (max-width: 767px) {
  body.gm-enabled { margin: 0; background: #f5f7f4; min-width: 0; }
  .gm-enabled .gina-header { position: relative !important; top: auto !important; margin: 0 !important; padding: 0 !important; width: 100%; }
  .gm-enabled .gina-brand-row { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px !important; min-height: 68px; width: 100%; box-sizing: border-box; }
  .gm-enabled .gina-brand { flex: 0 1 128px; min-width: 80px; }
  .gm-enabled .gina-brand img { display: block; width: 128px !important; max-width: 100%; height: auto !important; max-height: 44px; object-fit: contain; }
  .gm-enabled .gina-header-actions { display: flex !important; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 8px; font-size: 12px !important; min-width: 0; }
  .gm-enabled .gina-header-actions > a:not(.gina-primary-link) { display: none !important; }
  .gm-enabled .gina-primary-link { font-size: 12px !important; line-height: 1.3; padding: 9px 10px !important; min-height: 38px; display: inline-flex; align-items: center; box-sizing: border-box; }
  .gm-enabled .gina-language-switch { display: flex; gap: 8px; padding: 0 !important; }
  .gm-enabled .gina-language-switch a { font-size: 12px !important; padding: 7px 2px !important; line-height: 1.3; }
  .gm-enabled .gina-global-nav, .gm-enabled .gina-page-nav, .gm-enabled .gina-breadcrumb, .gm-enabled .gina-breadcrumbs { display: none !important; }
  .gm-enabled [data-gm-original] { display: none !important; }
  .gm-enabled.gm-show-original [data-gm-original] { display: block !important; }
  .gm-directory, .gm-directory * { box-sizing: border-box; }
  .gm-directory { display: block; width: 100%; max-width: 620px; margin: 0 auto; padding: 22px 16px 30px; color: #193d3d; font-family: system-ui, -apple-system, 'Segoe UI', 'Noto Sans JP', sans-serif; letter-spacing: normal; line-height: 1.6; text-align: left; }
  .gm-directory .gm-eyebrow { display: block; margin: 0 0 5px; font-size: 10px; font-weight: 600; color: #47716c; letter-spacing: .16em; line-height: 1.4; }
  .gm-directory h1 { margin: 0 0 9px !important; font-family: inherit; font-size: 25px !important; font-weight: 650; line-height: 1.35 !important; letter-spacing: -.03em; color: #164d4c !important; overflow-wrap: anywhere; }
  .gm-directory .gm-lead { margin: 0 0 10px; font-size: 13px; line-height: 1.65; color: #526866; }
  .gm-directory .gm-note { margin: 0 0 18px; font-size: 11px; line-height: 1.6; color: #62716f; }
  .gm-directory .gm-back { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0 6px; color: #075d61; text-decoration: none; font-size: 13px; }
  .gm-directory .gm-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
  .gm-directory .gm-card { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 10px 13px; padding: 13px; color: inherit; text-decoration: none; background: #fff; border: 1px solid #e0e7e2; border-radius: 12px; box-shadow: 0 3px 9px rgba(25,61,61,.025); -webkit-tap-highlight-color: rgba(8,94,99,.12); }
  .gm-directory .gm-card:focus-visible { outline: 3px solid #0b797d; outline-offset: 3px; }
  .gm-directory .gm-card:active { background: #f0f7f3; }
  .gm-directory .gm-thumb { width: 96px !important; height: 88px !important; margin: 0; display: block; object-fit: cover; border-radius: 7px; }
  .gm-directory .gm-card-heading { align-self: center; min-width: 0; }
  .gm-directory .gm-meta { display: block; margin-bottom: 4px; color: #617572; font-size: 10px; line-height: 1.4; }
  .gm-directory h2 { margin: 0 !important; color: #193d3d !important; font-family: inherit; font-size: 17px !important; font-weight: 650; line-height: 1.5 !important; letter-spacing: 0; overflow-wrap: anywhere; }
  .gm-directory.gm-courses h2 { font-size: 15px !important; line-height: 1.55 !important; }
  .gm-directory .gm-description { grid-column: 1 / -1; margin: 0 !important; font-size: 13px !important; font-weight: 400; line-height: 1.75 !important; color: #526462; overflow-wrap: anywhere; }
  .gm-directory .gm-card-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 9px; padding-top: 10px; border-top: 1px solid #edf0eb; }
  .gm-directory .gm-price-label { display: block; color: #65716d; font-size: 10px; line-height: 1.4; }
  .gm-directory .gm-price { display: block; color: #d64b2a !important; font-size: 18px !important; font-weight: 650; line-height: 1.5; white-space: nowrap; letter-spacing: -.02em; }
  .gm-directory .gm-price small { font-size: 11px; font-weight: 500; }
  .gm-directory .gm-price.is-inquiry { font-size: 15px !important; white-space: normal; }
  .gm-directory .gm-price-note { display: block; color: #6b726c; font-size: 10px; line-height: 1.4; }
  .gm-directory .gm-cta { color: #075d61; font-size: 12px; font-weight: 600; line-height: 1.5; padding-bottom: 3px; white-space: nowrap; }
  .gm-directory .gm-tools { margin: 0 0 16px; }
  .gm-directory .gm-tools label { display: block; margin: 0 0 5px; font-size: 12px; }
  .gm-directory .gm-tools select { display: block; width: 100%; min-height: 44px; height: auto; margin: 0; padding: 10px 32px 10px 12px; border: 1px solid #b6cac2; border-radius: 7px; color: #193d3d; background-color: #fff; font: inherit; font-size: 16px; }
  .gm-directory .gm-extra { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
  .gm-directory .gm-extra a, .gm-directory .gm-extra button { flex: 1 1 140px; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 12px; background: #fff; border: 1px solid #becfc6; border-radius: 7px; color: #075d61; font-family: inherit; font-size: 12px; line-height: 1.6; font-weight: 400; text-decoration: none; text-align: center; cursor: pointer; }
  .gm-directory [hidden] { display: none !important; }
  .gm-enabled .gina-review-footer { width: 100%; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
  .gm-enabled > footer:not(.gm-company), .gm-enabled > .gina-review-footer { display: none !important; }
  .gm-company, .gm-company * { box-sizing: border-box; }
  .gm-company { display: block; padding: 28px 18px 24px; margin: 0; width: 100%; max-width: 100%; background: #eaf0eb; color: #284b48; font: 13px/1.8 system-ui, -apple-system, 'Segoe UI', 'Noto Sans JP', sans-serif; letter-spacing: normal; text-align: left; overflow-wrap: anywhere; }
  .gm-company-inner { max-width: 584px; margin: auto; }
  .gm-company h2 { margin: 0 0 16px; font: 600 22px/1.5 inherit; font-size: 22px; color: #164d4c; }
  .gm-company h3 { margin: 16px 0 4px; font-size: 14px; line-height: 1.6; }
  .gm-company p { margin: 0 0 12px; font-size: 13px; line-height: 1.8; }
  .gm-company .gm-company-name { font-size: 16px; font-weight: 600; line-height: 1.7; }
  .gm-company .gm-company-name span { display: block; font-size: 12px; font-weight: 400; }
  .gm-company address { margin: 0 0 10px; font-style: normal; font-size: 13px; line-height: 1.8; }
  .gm-company a { color: #075d61; text-underline-offset: 3px; }
  .gm-company .gm-phone { display: inline-block; font-size: 22px; line-height: 1.7; font-weight: 600; text-decoration: none; padding: 3px 0; }
  .gm-company iframe { display: block; width: 100%; max-width: 100%; height: 210px; margin: 12px 0 0; border: 1px solid #d0dcd2; border-radius: 8px; background: #fff; }
  .gm-company .gm-map-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; }
  .gm-company details { margin: 10px 0; padding: 10px 0; border-top: 1px solid #cddbcf; }
  .gm-company summary { min-height: 36px; padding: 6px 0; cursor: pointer; font-size: 13px; font-weight: 600; }
  .gm-company .gm-footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #cddbcf; }
  .gm-company .gm-footer-links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 12px; }
  @media (max-width: 359px) {
    .gm-directory { padding-right: 12px; padding-left: 12px; }
    .gm-directory .gm-card { grid-template-columns: 80px minmax(0,1fr); gap: 10px; padding: 11px; }
    .gm-directory .gm-thumb { width: 80px !important; height: 82px !important; }
    .gm-directory .gm-price { font-size: 17px !important; }
    .gm-enabled .gina-brand-row { padding: 10px 12px !important; }
    .gm-enabled .gina-brand { flex-basis: 104px; }
  }
}
