@charset "UTF-8";

/* こころいK（kokoroik.com）と同じティール×ブラウンの配色 */
:root {
  --teal: #37bdc6;
  --teal-dark: #2a9aa3;
  --teal-soft: #d7f1f2;
  --teal-pale: #eef9fa;
  --mint: #63c3c2;
  --green: #7bc143;
  --green-soft: #e3f3d0;
  --brown: #625852;
  --brown-dark: #50433b;
  --tan: #cd9f78;
  --pink: #e88aa5;
  --yellow: #f5b335;
  --text: #333;
  --text-soft: #666;
  --line: #e2ebeb;
  --footer-bg: #e8f6f8;
  --radius: 18px;
  --shadow: 0 6px 20px rgba(40, 90, 95, 0.09);
  --font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--teal-soft);
  color: var(--brown-dark);
  font-size: 0.78rem;
  line-height: 1.6;
}

.topbar .wrap {
  padding-top: 6px;
  padding-bottom: 6px;
}

/* ---------- Header ---------- */
.site-header {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  height: 58px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-round);
  line-height: 1.3;
}

.logo-text small {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.1em;
}

.logo-text strong {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--teal-dark);
  letter-spacing: 0.06em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.office-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.office-nav li {
  border-left: 1px solid #d9d4d0;
}

.office-nav li:last-child {
  border-right: 1px solid #d9d4d0;
}

.office-nav a {
  display: block;
  writing-mode: vertical-rl;
  padding: 2px 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  color: var(--brown-dark);
  transition: color 0.2s;
}

.office-nav a:hover {
  color: var(--teal-dark);
}

.header-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 230px;
}

.btn-contact {
  display: block;
  width: 100%;
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--mint);
  color: #fff;
  text-align: center;
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}

.btn-contact:hover {
  background: var(--teal-dark);
}

.header-tel {
  margin-top: 6px;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--brown-dark);
}

.header-tel span {
  margin-right: 6px;
  font-size: 0.9rem;
}

.header-addr {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.header-mail {
  font-size: 0.78rem;
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Global nav ---------- */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(40, 90, 95, 0.05);
}

.gnav ul {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
}

.gnav li {
  flex: 1;
  border-left: 1px solid var(--line);
}

.gnav li:last-child {
  border-right: 1px solid var(--line);
}

.gnav a {
  position: relative;
  display: block;
  padding: 15px 4px;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-round);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brown-dark);
  transition: background 0.2s, color 0.2s;
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--teal);
  transform: translateX(-50%);
  transition: width 0.25s;
}

.gnav a:hover,
.gnav a.active {
  color: var(--teal-dark);
  background: var(--teal-pale);
}

.gnav a:hover::after,
.gnav a.active::after {
  width: 40%;
}

.nav-btn {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  padding: 24px 20px 0;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  height: 500px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(123, 193, 67, 0.22), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(55, 189, 198, 0.26), transparent 28%),
    radial-gradient(circle at 82% 78%, rgba(245, 179, 53, 0.2), transparent 30%),
    radial-gradient(circle at 18% 80%, rgba(232, 138, 165, 0.16), transparent 28%),
    linear-gradient(160deg, #f2fbf9 0%, #e9f6f7 55%, #fbf5ec 100%);
}

.hero-bokeh span {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.hero-copy {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 580px;
  height: 420px;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-round);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95) 60%, rgba(255, 255, 255, 0.6) 82%, rgba(255, 255, 255, 0) 100%);
}

.hero-area {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 18px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #5b8f2b;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-catch {
  margin: 0;
  font-size: 2.9rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.1em;
}

.c-pink {
  color: var(--pink);
}

.c-brown {
  color: var(--brown);
}

.hero-sub {
  margin: 12px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brown);
}

.hero-town {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(640px, 92%);
  transform: translateX(-50%);
}

/* ---------- Intro ---------- */
.intro {
  padding: 56px 20px 16px;
  text-align: center;
}

.intro p {
  max-width: 780px;
  margin: 0 auto 28px;
}

/* ---------- Buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 999px;
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary {
  background: var(--mint);
  color: #fff;
  box-shadow: 0 6px 16px rgba(55, 189, 198, 0.28);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: #fff;
  color: var(--teal-dark);
  border: 2px solid var(--mint);
}

.btn-ghost:hover {
  background: var(--teal-pale);
  transform: translateY(-2px);
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 30px;
  border: 1px solid var(--tan);
  border-radius: 4px;
  background: #fff;
  color: var(--brown);
  font-family: var(--font-round);
  font-weight: 700;
  transition: background 0.2s;
}

.btn-line::after {
  content: "→";
}

.btn-line:hover {
  background: #fbf5ef;
}

.center {
  margin-top: 44px;
  text-align: center;
}

/* ---------- Sections ---------- */
.section {
  padding: 80px 0;
}

.section.tint {
  background: var(--teal-pale);
}

.sec-head {
  margin-bottom: 48px;
  text-align: center;
}

.sec-head .en {
  display: block;
  font-family: var(--font-round);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--teal);
}

.sec-head .en::before,
.sec-head .en::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 10px;
  vertical-align: middle;
  background: currentColor;
}

.sec-head h2 {
  margin: 6px 0 0;
  font-family: var(--font-round);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: var(--brown);
}

.sec-head p {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--text-soft);
}

.h-line {
  position: relative;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--teal-soft);
  font-family: var(--font-round);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
}

.h-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 80px;
  height: 3px;
  background: var(--teal);
}

/* ---------- Numbered feature cards ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature {
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.feature > img {
  width: 190px;
  margin: 0 auto 10px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--teal-pale);
}

.feature-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--teal-dark);
}

.feature-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--teal-soft);
  font-family: var(--font-round);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--brown-dark);
}

.feature p {
  margin: 0;
}

.num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mint);
  color: #fff;
  font-family: var(--font-round);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--teal-soft);
}

/* ---------- Info box ---------- */
.info-box {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 34px 32px 20px;
  border: 2px solid var(--mint);
  border-radius: 4px;
  background: #fff;
}

.info-box h3 {
  position: absolute;
  top: -0.95em;
  left: 20px;
  margin: 0;
  padding: 0 12px;
  background: #fff;
  font-family: var(--font-round);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.town {
  width: min(520px, 100%);
  margin: 0 auto 48px;
}

/* ---------- Flow ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.flow-step {
  position: relative;
  padding: 28px 20px 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  border: 8px solid transparent;
  border-left: 10px solid var(--mint);
  transform: translateY(-50%);
}

.flow-step .num {
  margin-bottom: 14px;
}

.flow-step h4 {
  margin: 0 0 8px;
  font-family: var(--font-round);
  font-size: 1.05rem;
  color: var(--brown-dark);
}

.flow-step p {
  margin: 0;
  font-size: 0.9rem;
  text-align: left;
  color: var(--text-soft);
}

/* ---------- Link tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}

.tile {
  display: flex;
  align-items: center;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid #d9e3e3;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tile:hover {
  border-color: var(--mint);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tile-icon {
  flex: none;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  background: var(--teal-soft);
}

.tile:nth-child(4n + 2) .tile-icon {
  background: var(--green-soft);
}

.tile:nth-child(4n + 3) .tile-icon {
  background: #fdf0d6;
}

.tile:nth-child(4n + 4) .tile-icon {
  background: #fbe4ea;
}

.tile-icon svg {
  width: 38px;
  height: 38px;
  stroke: var(--brown-dark);
}

.tile span {
  flex: 1;
  padding: 0 12px;
  text-align: center;
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--brown-dark);
}

/* ---------- Offices band ---------- */
.band-wrap {
  padding: 0 20px 80px;
}

.band {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 60px;
  border-radius: 28px;
  background: var(--teal);
}

.band .sec-head .en,
.band .sec-head h2 {
  color: #fff;
}

.band .sec-head p {
  color: rgba(255, 255, 255, 0.92);
}

.offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

.office {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.office h3 {
  margin: 0;
  padding: 10px;
  background: var(--tan);
  color: #fff;
  text-align: center;
  font-family: var(--font-round);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.office dl {
  flex: 1;
  margin: 0;
  padding: 20px 22px;
  font-size: 0.92rem;
}

.office dt {
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.office dt:first-child {
  margin-top: 0;
}

.office dd {
  margin: 0;
  line-height: 1.7;
}

.office dd a {
  font-weight: 700;
  color: var(--brown-dark);
}

.office .more {
  display: block;
  margin: 0 22px 22px;
  padding: 6px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-dark);
  transition: background 0.2s;
}

.office .more:hover {
  background: var(--teal-pale);
}

/* ---------- CTA ---------- */
.cta {
  max-width: 1000px;
  margin: 0 auto;
  padding: 44px 24px;
  border: 2px solid var(--teal-soft);
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-family: var(--font-round);
  font-size: 1.6rem;
  color: var(--brown);
}

.cta-tel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  margin: 18px 0 26px;
  font-family: var(--font-round);
}

.cta-tel a {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--teal-dark);
}

.cta-tel small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
}

/* ---------- Sub page title ---------- */
.page-title {
  padding: 24px 20px 0;
}

.page-title-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 10% 30%, rgba(123, 193, 67, 0.2), transparent 28%),
    radial-gradient(circle at 90% 70%, rgba(55, 189, 198, 0.24), transparent 30%),
    linear-gradient(160deg, #f2fbf9 0%, #e9f6f7 60%, #fbf5ec 100%);
}

.page-title .en {
  font-family: var(--font-round);
  font-style: italic;
  letter-spacing: 0.14em;
  color: var(--teal);
}

.page-title h1 {
  margin: 4px 0 0;
  font-family: var(--font-round);
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: var(--brown);
}

.page-title p {
  margin: 10px 0 0;
  color: var(--text-soft);
}

.breadcrumb {
  max-width: 1100px;
  margin: 14px auto 0;
  padding: 0 20px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.breadcrumb a {
  color: var(--teal-dark);
}

/* ---------- About / misc ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.two-col.rev > :first-child {
  order: 2;
}

.illust {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.quote {
  margin: 0;
  text-align: center;
  font-family: var(--font-round);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.1em;
  color: var(--brown);
}

.info-table {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  border-collapse: collapse;
  border-top: 1px solid #d9e3e3;
  background: #fff;
}

.info-table th,
.info-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #d9e3e3;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  width: 28%;
  background: var(--teal-pale);
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--teal-dark);
}

.info-table a {
  font-weight: 700;
  color: var(--teal-dark);
}

.map-frame {
  display: block;
  width: 100%;
  max-width: 880px;
  height: 340px;
  margin: 28px auto 0;
  border: 0;
  border-radius: var(--radius);
}

.jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.jump a {
  padding: 8px 26px;
  border: 1px solid var(--mint);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--teal-dark);
  transition: background 0.2s;
}

.jump a:hover {
  background: var(--teal-pale);
}

/* ---------- Staff ---------- */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.staff-card {
  padding: 30px 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.staff-card img {
  width: 120px;
  margin: 0 auto 16px;
}

.staff-card h3 {
  margin: 0;
  font-family: var(--font-round);
  font-size: 1.1rem;
  color: var(--brown-dark);
}

.staff-card .role {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 2px 14px;
  border-radius: 999px;
  background: var(--tan);
  color: #fff;
  font-size: 0.8rem;
}

.staff-card p {
  margin: 0;
  text-align: left;
  font-size: 0.92rem;
}

/* ---------- Contact form ---------- */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 22px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--brown-dark);
}

.req {
  display: inline-block;
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--pink);
  color: #fff;
  font-size: 0.7rem;
  vertical-align: middle;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cfdcdc;
  border-radius: 8px;
  background: #fbfefe;
  font: inherit;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 3px solid var(--teal-soft);
  border-color: var(--mint);
}

.contact-form .btn {
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: 56px;
  background: var(--footer-bg);
  color: var(--brown-dark);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand small {
  display: block;
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--teal-dark);
}

.footer-brand strong {
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-round);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
}

.footer-office {
  margin-bottom: 14px;
  line-height: 1.75;
}

.footer-office b {
  display: block;
}

.footer-office a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu li {
  border-bottom: 1px solid #cfe5e8;
}

.footer-menu a {
  position: relative;
  display: block;
  padding: 10px 6px 10px 22px;
  transition: background 0.2s;
}

.footer-menu a::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  border: 4px solid transparent;
  border-left: 6px solid var(--mint);
  transform: translateY(-50%);
}

.footer-menu a:hover {
  background: rgba(255, 255, 255, 0.6);
}

.footer-side .btn-contact {
  margin-bottom: 12px;
  padding: 12px;
  font-size: 1rem;
}

.btn-mail {
  display: block;
  padding: 10px;
  border: 1px solid var(--mint);
  border-radius: 6px;
  background: #fff;
  text-align: center;
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--teal-dark);
}

.related-title {
  margin: 26px 0 10px;
  font-family: var(--font-round);
  font-weight: 700;
  color: var(--brown);
}

.related {
  display: block;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-left: 5px solid var(--teal);
  border-radius: 10px;
  background: #fff;
  line-height: 1.5;
  transition: box-shadow 0.2s, transform 0.2s;
}

.related small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-soft);
}

.related b {
  font-family: var(--font-round);
  font-size: 1.05rem;
  color: var(--teal-dark);
}

.related.home {
  border-left-color: #f39a2b;
}

.related.home b {
  color: #e08218;
}

.related:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.copyright {
  margin-top: 48px;
  padding: 14px 20px;
  background: var(--teal);
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
}

/* ---------- Floating buttons ---------- */
.side-contact {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 120;
  padding: 22px 12px;
  border-radius: 10px 0 0 10px;
  background: var(--yellow);
  color: #fff;
  writing-mode: vertical-rl;
  font-family: var(--font-round);
  font-weight: 700;
  letter-spacing: 0.3em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
  transition: background 0.2s;
}

.side-contact:hover {
  background: #e9a21c;
}

.pagetop {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--mint);
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: var(--shadow);
}

.pagetop::before {
  content: "";
  width: 10px;
  height: 10px;
  margin: 6px 0 2px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.sp-bar {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .office-nav {
    display: none;
  }

  .features,
  .offices,
  .staff-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-step:nth-child(2)::after {
    display: none;
  }

  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-col.rev > :first-child {
    order: 0;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
    padding-bottom: 50px;
  }

  .wrap {
    padding: 0 16px;
  }

  .topbar {
    font-size: 0.7rem;
  }

  .header-inner {
    justify-content: center;
    padding: 14px 16px;
  }

  .logo {
    gap: 10px;
  }

  .logo img {
    height: 34px;
  }

  .logo-text strong {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .logo-text small {
    font-size: 0.68rem;
  }

  .header-right {
    display: none;
  }

  .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    font-family: var(--font-round);
    font-weight: 700;
    color: var(--brown-dark);
    cursor: pointer;
  }

  .nav-btn::before {
    content: "";
    width: 20px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .gnav ul {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 0 12px 12px;
  }

  .nav-toggle:checked ~ .gnav ul {
    display: grid;
  }

  .gnav li,
  .gnav li:last-child {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }

  .gnav a {
    padding: 10px 4px;
    font-size: 0.88rem;
  }

  .hero {
    padding: 12px 12px 0;
  }

  .hero-inner {
    height: 420px;
    border-radius: 20px;
  }

  .hero-copy {
    top: 40%;
    width: 100%;
    height: 320px;
  }

  .hero-area {
    font-size: 0.76rem;
  }

  .hero-catch {
    font-size: 2rem;
    letter-spacing: 0.06em;
  }

  .hero-sub {
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }

  .intro {
    padding: 40px 16px 8px;
    text-align: left;
  }

  .section {
    padding: 56px 0;
  }

  .sec-head h2 {
    font-size: 1.4rem;
  }

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

  .flow-step::after {
    display: none;
  }

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

  .band-wrap {
    padding: 0 12px 56px;
  }

  .band {
    padding: 44px 16px;
    border-radius: 20px;
  }

  .page-title {
    padding: 12px 12px 0;
  }

  .page-title-inner {
    padding: 40px 16px;
    border-radius: 20px;
  }

  .page-title h1 {
    font-size: 1.55rem;
  }

  .quote {
    font-size: 1.15rem;
  }

  .info-box {
    padding: 30px 18px 16px;
  }

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

  .info-table th {
    padding: 10px 16px;
  }

  .info-table td {
    padding: 12px 16px 18px;
  }

  .map-frame {
    height: 260px;
  }

  .contact-form {
    padding: 28px 18px;
  }

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

  .side-contact {
    display: none;
  }

  .sp-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .sp-bar a {
    padding: 12px 6px;
    text-align: center;
    font-family: var(--font-round);
    font-weight: 700;
    color: #fff;
  }

  .sp-bar .tel {
    background: var(--mint);
  }

  .sp-bar .mail {
    background: var(--yellow);
  }

  .pagetop {
    right: 12px;
    bottom: 64px;
    width: 46px;
    height: 46px;
  }
}
