:root {
  color-scheme: light;
  --green: #1d6b58;
  --deep: #17312c;
  --leaf: #d7eadf;
  --paper: #f8f6ef;
  --sun: #f2b84b;
  --coral: #e96f55;
  --mint: #48b28b;
  --sky: #5aa5d8;
  --violet: #8271d8;
  --rose: #e37da1;
  --blue: #27607d;
  --ink: #202927;
  --muted: #62706d;
  --line: #dfe6df;
  --white: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(242, 184, 75, 0.18), transparent 30rem),
    linear-gradient(180deg, #fffaf0 0%, var(--paper) 34%, #f4f8f3 100%);
  color: var(--ink);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(248, 246, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  background: linear-gradient(135deg, var(--green), #2d8b72);
  color: var(--white);
  border-radius: 14px 14px 14px 5px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(29, 107, 88, 0.22);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 18px;
  color: var(--deep);
  font-weight: 700;
  font-size: 14px;
}

.nav a {
  padding: 8px 0;
  border-bottom: 3px solid transparent;
}

.nav a:hover {
  color: var(--green);
  border-bottom-color: var(--sun);
}

.phone-link {
  padding: 11px 16px;
  background: linear-gradient(135deg, var(--deep), #244c43);
  color: var(--white);
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 22px rgba(23, 49, 44, 0.16);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 34, 30, 0.86) 0%, rgba(16, 34, 30, 0.58) 44%, rgba(16, 34, 30, 0.16) 100%),
    linear-gradient(0deg, rgba(16, 34, 30, 0.64) 0%, rgba(16, 34, 30, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(820px, calc(100% - 36px));
  margin: 0 clamp(18px, 6vw, 84px) 88px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f8d98b;
}

h1,
h2,
h3,
p {
  line-height: 1.65;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.22;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.35;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.45;
}

.lead {
  max-width: 700px;
  margin: 20px 0 0;
  font-size: 18px;
}

.hero-actions,
.support-actions,
.quick-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button,
.quick-contact a,
.quick-contact button,
.support-actions a,
.floating-actions a,
.floating-actions button,
.chat-input button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 22px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary {
  background: linear-gradient(135deg, var(--sun), #f5cb67);
  color: #2b230c;
  box-shadow: 0 16px 32px rgba(242, 184, 75, 0.28);
}

.secondary {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.button:hover,
.quick-contact a:hover,
.quick-contact button:hover,
.problem-card:hover,
.support-actions a:hover {
  transform: translateY(-2px);
}

.quick-contact {
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100% - 36px));
  margin: -42px auto 0;
}

.quick-contact a,
.quick-contact button {
  position: relative;
  flex: 1 1 240px;
  min-height: 112px;
  padding: 18px 20px 18px 76px;
  text-align: left;
  background: var(--white);
  border: 1px solid rgba(223, 230, 223, 0.9);
  box-shadow: 0 18px 44px rgba(29, 54, 48, 0.12);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.quick-contact a:hover,
.quick-contact button:hover {
  box-shadow: 0 22px 50px rgba(29, 54, 48, 0.16);
}

.contact-icon {
  position: absolute;
  left: 20px;
  top: 24px;
  width: 38px;
  height: 38px;
  padding: 8px;
  border-radius: 14px;
  background: #fff4d4;
  color: var(--deep);
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-contact span,
.quick-contact strong {
  display: block;
}

.quick-contact span {
  color: var(--muted);
  font-size: 14px;
}

.quick-contact strong {
  margin-top: 8px;
  color: var(--deep);
  font-size: 20px;
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 88px 0;
}

.muted {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1120px) / 2));
  background: #edf4ed;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-card,
.service-list article,
.activity-board article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.problem-card {
  position: relative;
  min-height: 268px;
  display: grid;
  align-content: start;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(31, 55, 50, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.problem-card:hover {
  box-shadow: 0 24px 44px rgba(31, 55, 50, 0.12);
}

.problem-card::after {
  content: "";
  position: absolute;
  right: -36px;
  top: -44px;
  width: 118px;
  height: 118px;
  border-radius: 40px;
  background: color-mix(in srgb, var(--theme) 18%, transparent);
  transform: rotate(18deg);
}

.icon {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  margin-bottom: 20px;
  background: color-mix(in srgb, var(--theme) 18%, white);
  color: var(--theme);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--theme) 22%, transparent);
}

.icon svg,
.problem-card a svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-card a svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.5;
  transition: transform 160ms ease;
}

.problem-card p,
.service-list p,
.activity-board p,
.split p,
.contact-section p {
  color: var(--muted);
}

.problem-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: auto;
  color: var(--theme);
  font-weight: 900;
  padding-top: 14px;
}

.problem-card a:hover svg {
  transform: translateX(3px);
}

.theme-consult {
  --theme: var(--coral);
}

.theme-ride {
  --theme: var(--sky);
}

.theme-money {
  --theme: var(--sun);
}

.theme-life {
  --theme: var(--mint);
}

.theme-place {
  --theme: var(--violet);
}

.theme-join {
  --theme: var(--rose);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.service-list article {
  min-height: 250px;
  display: grid;
  align-content: start;
  box-shadow: 0 12px 28px rgba(31, 55, 50, 0.07);
}

.service-more {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--green);
  font-weight: 900;
}

.mini-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--theme);
  background: color-mix(in srgb, var(--theme) 18%, white);
}

.mini-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 68px 0 44px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 38px;
  align-items: center;
}

.service-mark {
  display: grid;
  width: 168px;
  height: 168px;
  place-items: center;
  border-radius: 42px;
  color: var(--theme);
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.95), transparent 34%),
    color-mix(in srgb, var(--theme) 18%, white);
  box-shadow:
    inset 0 0 0 2px color-mix(in srgb, var(--theme) 24%, transparent),
    0 24px 48px rgba(31, 55, 50, 0.12);
}

.service-mark svg {
  width: 92px;
  height: 92px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-hero h1 {
  color: var(--deep);
}

.service-kana {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--theme) 17%, white);
  color: var(--theme);
  font-weight: 900;
}

.service-body {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.info-panel,
.flow-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(31, 55, 50, 0.08);
}

.info-panel h2,
.flow-panel h2 {
  font-size: 26px;
}

.simple-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.simple-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--theme) 9%, white);
}

.simple-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme);
}

.flow-steps {
  counter-reset: step;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.flow-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.flow-steps li::before {
  content: counter(step);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--theme);
  color: var(--white);
  font-weight: 900;
}

.related-grid {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 88px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-grid a {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 900;
}

.activity-board {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.date {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff0cf;
  color: #7d5613;
  font-weight: 900;
  font-size: 13px;
}

.split,
.contact-section {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 42px;
  align-items: center;
}

.support-actions a {
  width: 100%;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--deep), #24594c);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(23, 49, 44, 0.16);
}

.contact-section {
  margin-bottom: 80px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(242, 184, 75, 0.2), rgba(72, 178, 139, 0.16)),
    var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 8px;
}

.floating-actions a,
.floating-actions button {
  padding: 12px 14px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(23, 49, 44, 0.18);
}

.panel {
  width: min(460px, calc(100% - 24px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(14, 26, 23, 0.28);
}

.panel::backdrop {
  background: rgba(10, 18, 16, 0.34);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: var(--deep);
  color: var(--white);
}

.panel-head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 22px;
}

.chat-body {
  max-height: 320px;
  overflow: auto;
  padding: 18px;
  background: #fbfaf5;
}

.bot,
.user {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
}

.bot {
  background: var(--white);
  border: 1px solid var(--line);
}

.user {
  margin-left: auto;
  background: var(--green);
  color: var(--white);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}

.chips button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 8px 10px;
  cursor: pointer;
}

.chat-input {
  display: grid;
  grid-template-columns: 1fr 82px;
  gap: 8px;
  padding: 14px 18px 18px;
}

.chat-input input,
.mail-form input,
.mail-form select,
.mail-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--white);
}

.chat-input button {
  background: var(--sun);
}

.mail-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.mail-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .phone-link {
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    margin: 0 18px 74px;
  }

  .problem-grid,
  .service-list,
  .activity-board,
  .split,
  .contact-section,
  .service-hero,
  .service-body,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .service-mark {
    width: 128px;
    height: 128px;
    border-radius: 32px;
  }

  .service-mark svg {
    width: 72px;
    height: 72px;
  }

  .floating-actions {
    right: 10px;
    left: 10px;
  }

  .floating-actions a,
  .floating-actions button {
    flex: 1;
  }
}
