@charset "UTF-8";
/* =========================================================
   株式会社れんとケア 公式サイト  style.css
   イメージキャラクター「れんと」を主役にした、
   あたたかく親しみやすいデザイン / CSS変数で色を一元管理
   ========================================================= */

:root {
  /* 信頼感の青緑（構造・見出し・主ボタン）＝原色寄りのビビッドなティール */
  --color-primary: #0fae9b;
  --color-primary-dark: #0a7466;
  /* サブの緑（面・タグ） */
  --color-secondary: #d3f2ea;
  --color-secondary-strong: #b2e7da;
  /* ブランドのコーラルピンク（アクセント・ハート）＝鮮やかに */
  --color-pink: #ff6b81;
  --color-pink-dark: #d92c4a;
  --color-pink-soft: #ffe0e4;
  /* あたたかいクリーム */
  --color-cream: #fff1e2;
  --color-accent: #ff9226;
  --color-accent-dark: #ec6d0c;
  /* 背景・面・文字 */
  --color-background: #fffaf5;
  --color-surface: #ffffff;
  --color-text: #3a322f;
  --color-muted: #7c716b;
  --color-border: #f0dcdd;
  --color-danger: #d32f2f;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 3px 12px rgba(120, 90, 80, .07);
  --shadow: 0 12px 34px rgba(120, 90, 80, .14);
  --shadow-pink: 0 12px 30px rgba(255, 107, 129, .28);
  --container: 1120px;
  --header-h: 74px;

  --paw: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg fill='%23ff6b81'%3E%3Cellipse cx='16' cy='21' rx='7.5' ry='6'/%3E%3Ccircle cx='7.5' cy='13.5' r='3.4'/%3E%3Ccircle cx='13' cy='9' r='3.4'/%3E%3Ccircle cx='19' cy='9' r='3.4'/%3E%3Ccircle cx='24.5' cy='13.5' r='3.4'/%3E%3C/g%3E%3C/svg%3E");

  --font-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic",
    "YuGothic", "Meiryo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary-dark); }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

:focus-visible {
  outline: 3px solid var(--color-pink-dark);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--color-primary-dark); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-sm); z-index: 2000;
  transition: top .2s;
}
.skip-link:focus { top: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: 66px 0; position: relative; }
.section--tint { background: var(--color-secondary); }
.section--pink { background: var(--color-pink-soft); }
.section--cream { background: var(--color-cream); }
.section--soft { background: var(--color-surface); }
.section__head { text-align: center; max-width: 780px; margin: 0 auto 42px; }
.section__en {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-pink-dark);
  font: 700 13px/1 Arial, sans-serif; letter-spacing: .18em; margin-bottom: 12px;
}
.section__en::before, .section__en::after {
  content: ""; width: 20px; height: 20px; background: var(--paw); background-size: contain; background-repeat: no-repeat; opacity: .9;
}
.section__title { font-size: clamp(1.55rem, 4vw, 2.05rem); color: var(--color-primary-dark); }
.section__lead { color: var(--color-muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--color-border);
  transition: transform .3s ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1px solid var(--color-border);
  background: var(--color-surface); border-radius: var(--radius-sm);
  cursor: pointer; color: var(--color-primary-dark);
}
.nav-toggle .bar {
  display: block; width: 24px; height: 2px; background: currentColor;
  position: relative; transition: transform .25s, opacity .25s;
}
.nav-toggle .bar::before, .nav-toggle .bar::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px;
  background: currentColor; transition: transform .25s, opacity .25s;
}
.nav-toggle .bar::before { top: -7px; }
.nav-toggle .bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar::after { transform: translateY(-7px) rotate(-45deg); }

.global-nav { display: flex; align-items: center; }
.nav-list {
  display: flex; align-items: center; gap: 2px; list-style: none;
  margin: 0; padding: 0;
}
.nav-list > li { position: relative; }
.nav-list a.nav-link {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 11px; text-decoration: none; color: var(--color-text);
  border-radius: var(--radius-sm); font-weight: 600; white-space: nowrap;
}
.nav-link .en { font: 700 11px/1 Arial, sans-serif; letter-spacing: .06em; color: var(--color-primary-dark); }
.nav-link .ja { font-size: 12px; }
.nav-list a.nav-link:hover { background: var(--color-pink-soft); }
.nav-list a.nav-link[aria-current="page"] {
  background: var(--color-pink-soft);
  box-shadow: inset 0 -3px 0 var(--color-pink);
}

/* recruit submenu */
.has-sub > .submenu-toggle {
  font-family: inherit; cursor: pointer; border: none; background: none;
}
.submenu {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: 100%; right: 0; min-width: 262px;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: none; z-index: 20;
}
.has-sub.is-open > .submenu { display: block; }
.submenu a {
  display: block; padding: 10px 12px; border-radius: var(--radius-sm);
  text-decoration: none; color: var(--color-text); font-weight: 600; font-size: 14px;
}
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--color-pink-soft); }

.nav-cta { display: flex; gap: 8px; margin-left: 8px; }

/* buttons */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 700;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-size: 15px; line-height: 1.2; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--color-pink); --btn-fg: #4a1a22; }
.btn--accent:hover { background: var(--color-pink-dark); --btn-fg: #fff; box-shadow: var(--shadow-pink); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--color-primary-dark); border-color: var(--color-primary); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--color-primary-dark); }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: 14px; }

/* ---------- breadcrumb ---------- */
.breadcrumb { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 6px; list-style: none;
  margin: 0; padding: 12px 0; font-size: 13px; color: var(--color-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "＞"; color: var(--color-border); }
.breadcrumb a { color: var(--color-primary-dark); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- page hero ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ffd9de 0%, #c7efe4 100%);
  color: var(--color-primary-dark); padding: 52px 0;
}
.page-hero::after {
  content: ""; position: absolute; right: -10px; bottom: -18px;
  width: 120px; height: 120px; background: var(--paw); background-size: contain;
  background-repeat: no-repeat; opacity: .18; transform: rotate(18deg);
}
.page-hero .en { display: block; font: 700 14px/1 Arial, sans-serif; letter-spacing: .22em; color: var(--color-pink-dark); margin-bottom: 10px; }
.page-hero h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin: 0 0 8px; color: var(--color-primary-dark); }
.page-hero p { margin: 0; color: var(--color-text); }

/* ---------- home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,107,129,.22), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(15,174,155,.18), transparent 45%),
    linear-gradient(135deg, #ffe0e4 0%, #cdf0e7 100%);
}
.hero__inner {
  display: grid; grid-template-columns: 1.18fr .82fr; gap: 40px;
  align-items: center; padding: 56px 0;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  background: #fff; color: var(--color-pink-dark); font-weight: 700; font-size: 14px;
  padding: 8px 18px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero__badge::before { content: ""; width: 20px; height: 20px; background: var(--paw); background-size: contain; background-repeat: no-repeat; }
.hero__title { font-size: clamp(1.9rem, 5.2vw, 3rem); color: var(--color-primary-dark); line-height: 1.4; }
.hero__title .accent { color: var(--color-pink-dark); }
.hero__lead { font-size: clamp(1rem, 2.4vw, 1.2rem); color: var(--color-text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* mascot stage (white sticker so PNG blends) */
.mascot-stage {
  position: relative; background: #fff;
  border: 3px dashed var(--color-pink); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow-pink); max-width: 330px; margin-inline: auto;
}
.mascot-stage img { width: 100%; border-radius: var(--radius); }
.speech {
  position: absolute; top: 8px; right: -6px; z-index: 2;
  background: var(--color-pink); color: #fff; font-weight: 700; font-size: 14px;
  padding: 8px 14px; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-sm);
}
.speech--left { right: auto; left: -6px; border-radius: 16px 16px 4px 16px; }

/* ---------- grid & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
  height: 100%;
}
.card h3 { color: var(--color-primary-dark); font-size: 1.15rem; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 14px;
  background: var(--color-pink-soft); color: var(--color-pink-dark);
  font-weight: 700; font-size: 20px;
}
.card__num {
  display: inline-block; font: 700 13px/1 Arial, sans-serif; letter-spacing: .1em;
  color: var(--color-pink-dark); margin-bottom: 8px;
}

a.card { text-decoration: none; color: inherit; transition: transform .15s, box-shadow .2s; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
a.card .more { color: var(--color-primary-dark); font-weight: 700; }

/* round mascot avatar (square-ish crops become cute avatars) */
.mascot-avatar {
  width: 150px; height: 150px; border-radius: 24px; background: var(--color-pink-soft);
  border: 3px solid #fff; box-shadow: var(--shadow-pink); object-fit: contain;
  object-position: center; padding: 8px;
}
.mascot-avatar--lg { width: 190px; height: 190px; }
.avatar-wrap { display: flex; justify-content: center; }

/* value / mvv cards */
.mvv { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.mvv .card { text-align: center; }
.mvv .label { display: block; font: 700 14px/1 Arial, sans-serif; letter-spacing: .16em; color: var(--color-pink-dark); margin-bottom: 6px; }
.mvv .label small { display: block; font-size: 12px; color: var(--color-muted); letter-spacing: .05em; margin-top: 4px; font-weight: 600; }
.mvv .msg { font-size: 1.15rem; font-weight: 700; color: var(--color-primary-dark); }
.value-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.value-list li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px dashed var(--color-border); }
.value-list li:last-child { border-bottom: none; }
.value-list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 22px; height: 22px; background: var(--paw); background-size: contain; background-repeat: no-repeat;
}

/* ---------- feature / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.lead-box { background: var(--color-surface); border-left: 6px solid var(--color-pink); border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-sm); }

/* ---------- promise (れんとのおやくそく) ---------- */
.promise {
  background: #fff; border: 2px solid var(--color-pink-soft); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.promise h3 {
  display: inline-block; background: var(--color-pink); color: #fff;
  padding: 8px 22px; border-radius: 999px; font-size: 1.05rem; margin-bottom: 18px;
}
.promise ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.promise li { position: relative; padding-left: 40px; font-weight: 600; font-size: 1.05rem; }
.promise li::before {
  content: "✓"; position: absolute; left: 0; top: -2px; width: 28px; height: 28px;
  border-radius: 8px; background: var(--color-pink-soft); color: var(--color-pink-dark);
  display: grid; place-items: center; font-weight: 800;
}

/* ---------- steps ---------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 18px 20px;
}
.steps .no {
  width: 46px; height: 46px; border-radius: 50%; background: var(--color-pink);
  color: #fff; display: grid; place-items: center; font: 700 15px/1 Arial, sans-serif;
}
.steps h3 { margin: 0 0 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--color-muted); }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--color-border); }
table.data { border-collapse: collapse; width: 100%; background: var(--color-surface); min-width: 520px; }
table.data th, table.data td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; }
table.data th {
  width: 34%; background: var(--color-secondary); color: var(--color-primary-dark);
  font-weight: 700; white-space: nowrap;
}
table.data tr:last-child th, table.data tr:last-child td { border-bottom: none; }

.badge {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px;
  font-weight: 700; background: var(--color-secondary); color: var(--color-primary-dark);
}
.badge--pending { background: var(--color-pink-soft); color: var(--color-pink-dark); }

.note {
  background: #fff8ee; border: 1px solid #f0dcbc; color: #7a5a24;
  border-radius: var(--radius); padding: 15px 20px; font-size: 14px;
}
.note strong { color: var(--color-accent-dark); }

/* ---------- recruit sub nav ---------- */
.recruit-nav { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.recruit-nav ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 12px 0; }
.recruit-nav a {
  display: inline-block; padding: 8px 15px; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 13px;
  color: var(--color-primary-dark); border: 1px solid var(--color-border); background: var(--color-surface);
}
.recruit-nav a:hover { background: var(--color-pink-soft); }
.recruit-nav a[aria-current="page"] { background: var(--color-pink); color: #fff; border-color: var(--color-pink); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a7c6f 0%, #08564d 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 50px 32px; text-align: center;
}
.cta::before, .cta::after {
  content: ""; position: absolute; width: 140px; height: 140px;
  background: var(--paw); background-size: contain; background-repeat: no-repeat; opacity: .12;
}
.cta::before { top: -20px; left: -18px; transform: rotate(-18deg); }
.cta::after { bottom: -26px; right: -12px; transform: rotate(22deg); }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 4vw, 2rem); position: relative; }
.cta p { opacity: .96; position: relative; }
.cta .btn--outline { color: #fff; border-color: #fff; }
.cta .btn--outline:hover { background: rgba(255,255,255,.14); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; position: relative; }

/* ---------- forms ---------- */
.form { max-width: 760px; margin: 0 auto; }
.form-field { margin-bottom: 22px; }
.form-field > label, .fieldset-legend {
  display: block; font-weight: 700; margin-bottom: 8px; color: var(--color-text);
}
.req { color: #fff; background: var(--color-danger); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.opt { color: var(--color-muted); font-size: 12px; font-weight: 600; margin-left: 8px; }
.form-control {
  width: 100%; font: inherit; color: var(--color-text);
  padding: 14px 16px; border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); background: var(--color-surface); min-height: 52px;
}
textarea.form-control { min-height: 150px; resize: vertical; }
.form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(63,143,134,.15); outline: none; }
.form-control[aria-invalid="true"] { border-color: var(--color-danger); background: #fff7f6; }
.choice-list { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.choice {
  display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-surface); cursor: pointer; min-height: 48px;
}
.choice input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--color-pink-dark); flex: 0 0 auto; }
.choice:hover { background: var(--color-pink-soft); }
fieldset { border: 0; padding: 0; margin: 0; }
.field-error { color: var(--color-danger); font-size: 13px; font-weight: 700; margin-top: 6px; min-height: 0; }
.field-error:empty { display: none; }
.form-note { font-size: 13px; color: var(--color-muted); }
.form-result {
  margin-top: 20px; padding: 20px 22px; border-radius: var(--radius);
  border: 2px solid var(--color-pink); background: var(--color-pink-soft);
  color: #7a3b3b; font-weight: 600;
}
.form-result[hidden] { display: none; }
.form-summary-error {
  margin-bottom: 20px; padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid var(--color-danger); background: #fff3f2; color: var(--color-danger);
  font-weight: 700;
}
.form-summary-error[hidden] { display: none; }

/* ---------- tabs / accordion (job description) ---------- */
.tabs { margin-top: 24px; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--color-border); margin-bottom: 0; padding: 0; list-style: none; }
.tablist button {
  font: inherit; font-weight: 700; cursor: pointer; border: none; background: none;
  padding: 12px 16px; color: var(--color-muted); border-bottom: 3px solid transparent;
  margin-bottom: -2px; border-radius: var(--radius-sm) var(--radius-sm) 0 0; min-height: 48px;
}
.tablist button[aria-selected="true"] { color: var(--color-primary-dark); border-bottom-color: var(--color-pink); background: var(--color-pink-soft); }
.tabpanel { padding: 28px 4px; }

.def-grid { display: grid; grid-template-columns: 180px 1fr; gap: 0; border-top: 1px solid var(--color-border); }
.def-grid dt { font-weight: 700; color: var(--color-primary-dark); padding: 12px 12px; background: var(--color-secondary); border-bottom: 1px solid var(--color-border); }
.def-grid dd { margin: 0; padding: 12px 12px; border-bottom: 1px solid var(--color-border); }
.def-grid dd ul { margin: 0; }

/* ---------- misc ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; background: var(--paw); background-size: contain; background-repeat: no-repeat; }

.phone-link { color: var(--color-primary-dark); font-weight: 700; text-decoration: none; }
.phone-link:hover { text-decoration: underline; }

.portrait { max-width: 320px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin: 0 auto; }
.signature { text-align: right; font-weight: 700; color: var(--color-primary-dark); margin-top: 24px; }
.signature small { display: block; font-weight: 600; color: var(--color-muted); }

.mascot-inline { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.mascot-tip {
  background: var(--color-cream); border: 1px dashed var(--color-pink);
  border-radius: 18px 18px 18px 4px; padding: 14px 18px; font-weight: 600;
  color: #6a4a3a; max-width: 420px;
}

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%; border: none;
  background: var(--color-pink); color: #fff; font-size: 20px; cursor: pointer;
  box-shadow: var(--shadow-pink); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); background: var(--color-pink-dark); }

/* ---------- footer ---------- */
.site-footer { background: var(--color-primary-dark); color: #e2f1ec; padding: 50px 0 24px; margin-top: 66px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h2 { color: #fff; font-size: 1.1rem; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer a { color: #e2f1ec; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; color: #fff; }
.footer-brand { background: #fff; padding: 12px 16px; border-radius: var(--radius); display: inline-block; }
.footer-brand img { height: 64px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 32px; padding-top: 18px; text-align: center; font-size: 13px; color: #c7e2da; }

/* =========================================================
   Responsive
   ========================================================= */

/* tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid--3, .grid--4, .mvv { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { gap: 26px; }
}

/* smartphone */
@media (max-width: 767px) {
  body { font-size: 15.5px; }
  .section { padding: 46px 0; }
  .site-footer { margin-top: 46px; }

  .brand img { height: 44px; }

  .nav-toggle { display: inline-flex; }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    background: var(--color-surface);
    transform: translateX(100%); transition: transform .28s ease;
    overflow-y: auto; display: block; padding: 12px 20px 40px;
    border-top: 1px solid var(--color-border);
  }
  .global-nav.is-open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a.nav-link { flex-direction: row; justify-content: flex-start; gap: 10px; padding: 14px 12px; border-bottom: 1px solid var(--color-border); border-radius: 0; }
  .nav-list a.nav-link[aria-current="page"] { box-shadow: inset 4px 0 0 var(--color-pink); }
  .nav-link .en { min-width: 92px; }
  .has-sub .submenu-toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; }
  .submenu {
    position: static; display: none; box-shadow: none; border: none;
    min-width: 0; background: var(--color-background); border-radius: var(--radius-sm);
    margin: 4px 0 8px;
  }
  .has-sub.is-open > .submenu { display: block; }
  .nav-cta { margin: 16px 0 0; flex-direction: column; }
  .nav-cta .btn { width: 100%; }

  .hero__inner { grid-template-columns: 1fr; padding: 30px 0; gap: 22px; }
  .hero__media { order: 0; }
  .mascot-stage { max-width: 230px; padding: 12px; }
  .hero__actions { justify-content: center; }
  .hero__body { text-align: center; }
  .grid--2, .grid--3, .grid--4, .mvv, .split, .footer-grid, .def-grid { grid-template-columns: 1fr; }
  .def-grid dt { border-bottom: none; }
  .split { gap: 26px; }
  table.data th { width: 42%; white-space: normal; }
  .cta { padding: 38px 20px; }
}

/* PC */
@media (min-width: 1024px) {
  .nav-cta .btn { padding: 10px 18px; }
}
