:root {
  --ink: #193139;
  --ink-soft: #526a70;
  --green: #3f9d8b;
  --green-deep: #2f7e70;
  --green-light: #eaf7f2;
  --blue: #4e8fb3;
  --blue-light: #eef7fb;
  --accent: #b8d86b;
  --white: #ffffff;
  --line: #dce9e6;
  --shadow: 0 22px 55px rgba(35, 73, 79, .12);
  --shadow-soft: 0 10px 30px rgba(35, 73, 79, .08);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.9;
  letter-spacing: .015em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; line-height: 1.4; letter-spacing: .01em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
h3 { font-size: 1.1rem; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 48px), 880px); margin-inline: auto; }
.section { padding: 112px 0; }
.section-soft { background: linear-gradient(135deg, #f8fcfb 0%, #f5fbfd 100%); }
.section-mint { background: linear-gradient(180deg, #f4fbf8 0%, #eef8f5 100%); }
.section-blue { background: linear-gradient(145deg, #eef7fb 0%, #f8fbfc 55%, #eef8f5 100%); }
.section-kicker { margin: 0 0 12px; color: var(--green-deep); font-size: .78rem; font-weight: 700; letter-spacing: .18em; }
.section-heading { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading > p:not(.section-kicker) { margin-top: 16px; color: var(--ink-soft); }
.sp-only { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220,233,230,.75);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; background: linear-gradient(135deg, var(--green), var(--blue)); box-shadow: 0 8px 20px rgba(63,157,139,.2); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font-size: 1rem; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; color: var(--ink-soft); font-size: .68rem; }
.nav { display: flex; gap: 24px; color: #456168; font-size: .87rem; font-weight: 600; }
.nav a { transition: color .2s ease; }
.nav a:hover { color: var(--green-deep); }
.header-cta { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .84rem; font-weight: 700; }

.hero { position: relative; overflow: hidden; padding: 92px 0 108px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 58px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7; }
.hero-blob-a { width: 460px; height: 460px; right: -150px; top: -120px; background: radial-gradient(circle at 30% 30%, rgba(184,216,107,.35), rgba(78,143,179,.08) 70%); }
.hero-blob-b { width: 350px; height: 350px; left: -170px; bottom: -180px; background: radial-gradient(circle at 50% 50%, rgba(63,157,139,.22), rgba(63,157,139,0) 72%); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; color: var(--green-deep); font-weight: 700; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--green); }
.eyebrow span { letter-spacing: .12em; }
.hero h1 { font-size: clamp(2.7rem, 3.4vw, 3.2rem); letter-spacing: -.03em; line-height: 1.32; }
.hero h1 em { white-space: nowrap; }
.hero h1 em { color: var(--green-deep); font-style: normal; background: linear-gradient(transparent 74%, rgba(184,216,107,.35) 74%); }
.hero-role { margin-top: 26px; color: var(--ink-soft); font-size: .98rem; }
.hero-role strong { margin-left: 10px; color: var(--ink); font-size: 1.02rem; }
.hero-lead { margin-top: 30px; font-size: 1.03rem; font-weight: 600; }
.hero-sub { max-width: 620px; color: var(--ink-soft); font-size: 1rem; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 15px 24px; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 28px rgba(47,126,112,.18); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--green-deep), var(--green)); }
.btn-primary span { font-size: 1.2rem; }
.btn-large { padding: 17px 30px; }
.text-link { color: var(--green-deep); font-size: .9rem; font-weight: 700; border-bottom: 1px solid rgba(47,126,112,.35); }
.hero-points { display: flex; gap: 18px; padding: 0; margin: 30px 0 0; list-style: none; flex-wrap: wrap; }
.hero-points li { position: relative; padding-left: 20px; color: var(--ink-soft); font-size: .78rem; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green-deep); font-weight: 800; }
.hero-visual { position: relative; }
.image-card { overflow: hidden; border: 10px solid rgba(255,255,255,.8); border-radius: 32px; box-shadow: var(--shadow); background: #fff; transform: rotate(1deg); }
.image-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.float-card { position: absolute; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 10px; padding: 14px 18px; min-width: 210px; background: rgba(255,255,255,.95); border: 1px solid rgba(220,233,230,.9); border-radius: 18px; box-shadow: var(--shadow-soft); }
.float-card .mini-icon { grid-row: 1 / 3; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--green), var(--blue)); font-weight: 800; }
.float-card strong { font-size: .84rem; }
.float-card small { color: var(--ink-soft); font-size: .68rem; }
.float-card-a { left: -40px; bottom: 18px; }
.float-card-b { right: -24px; top: 28px; }

.about-copy { margin-top: 34px; display: grid; gap: 12px; color: var(--ink-soft); font-size: 1rem; }
.about-copy p { padding: 18px 24px; margin: 0; border-left: 3px solid #b8d86b; background: #fbfdfc; border-radius: 0 14px 14px 0; }
.message-box { margin-top: 34px; padding: 34px 38px; border-radius: var(--radius); background: linear-gradient(135deg, var(--green-deep), #3f8da0); color: #fff; box-shadow: var(--shadow-soft); }
.message-box p { font-size: 1rem; line-height: 1.9; }
.message-box p:last-child { margin-bottom: 0; }
.message-box strong { color: var(--green-deep); }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.problem-item { min-height: 170px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid #dcebe6; box-shadow: var(--shadow-soft); }
.problem-item span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-bottom: 22px; border-radius: 50%; background: var(--green-light); color: var(--green-deep); font-size: .72rem; font-weight: 800; }
.problem-item p { margin: 0; font-weight: 600; line-height: 1.7; }
.center-note { max-width: 840px; margin: 44px auto 0; text-align: center; color: var(--ink-soft); }
.center-note p:last-child { margin-bottom: 0; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid #e2ecea; box-shadow: var(--shadow-soft); }
.service-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; background: linear-gradient(135deg, #e7f6f0, #edf6fb); color: var(--green-deep); font-size: .78rem; font-weight: 800; }
.service-card h3 { margin-bottom: 12px; font-size: 1.08rem; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.service-card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 46px 1fr; gap: 18px; background: linear-gradient(135deg, #f4fbf8, #f6fbfd); }
.service-card-wide .service-icon { margin: 0; }

.works-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.work-card { padding: 36px; border-radius: 28px; background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-soft); }
.work-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; align-items: center; }
.case { color: var(--green-deep); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.status { padding: 5px 11px; border-radius: 999px; background: var(--green-light); color: var(--green-deep); font-size: .72rem; font-weight: 700; }
.work-card h3 { margin-bottom: 20px; font-size: 1.34rem; }
.work-card p { color: var(--ink-soft); }
.work-highlight { margin: 22px 0; padding: 20px 22px; border-radius: 18px; background: #f4f9f7; border-left: 4px solid var(--accent); color: #37575e; font-weight: 600; }

.flow-list { position: relative; display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.flow-list::before { content: ""; position: absolute; left: 30px; top: 50px; bottom: 50px; width: 2px; background: linear-gradient(var(--green), #bdded5); }
.flow-list article { position: relative; display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: start; padding: 24px 28px 24px 0; border-radius: 22px; background: #fff; border: 1px solid #e5eeec; }
.flow-list article > span { position: relative; z-index: 2; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--green-deep); color: #fff; font-weight: 800; box-shadow: 0 8px 20px rgba(47,126,112,.18); }
.flow-list h3 { margin-bottom: 8px; }
.flow-list p { margin: 0; color: var(--ink-soft); }

.improve-grid, .two-col { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.improve-grid h3, .two-col h3 { margin-top: 20px; color: var(--green-deep); font-size: 1.2rem; }
.improve-copy { padding: 34px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.improve-copy blockquote { margin: 26px 0; padding: 20px 24px; border-left: 4px solid var(--accent); background: #f8fbf9; color: var(--green-deep); font-size: 1.08rem; font-weight: 700; }
.prose-card { padding: 40px; border-radius: var(--radius); background: #f7faf9; border: 1px solid #e5efec; }
.prose-card.light { background: rgba(255,255,255,.9); }
.prose-card p:last-child { margin-bottom: 0; }

.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tech-grid article { min-height: 230px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid #e3ecea; box-shadow: var(--shadow-soft); }
.tech-grid h3 { margin-bottom: 14px; font-size: 1.05rem; }
.tech-grid p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.skill-bands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.skill-bands > div { padding: 24px 26px; border-radius: 20px; background: linear-gradient(135deg, #f3faf7, #f2f8fb); }
.skill-bands strong { color: var(--green-deep); }
.skill-bands p { margin: 8px 0 0; color: var(--ink-soft); font-size: .9rem; }

.check-list { display: grid; gap: 14px; padding: 0; margin: 42px 0 0; list-style: none; }
.check-list li { position: relative; padding: 18px 22px 18px 54px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; font-size: .72rem; }
.strong-note { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.72); }

.hours-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 840px; margin: 0 auto 34px; }
.hours-row div { padding: 24px 28px; border-radius: 20px; background: #f6faf9; border: 1px solid #e2ece9; }
.hours-row span, .price-grid span { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: .82rem; }
.hours-row strong { font-size: 1.18rem; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 840px; margin: 0 auto; }
.price-grid article { padding: 34px; border-radius: 24px; background: linear-gradient(135deg, var(--green-deep), #3d8a96); color: #fff; box-shadow: var(--shadow-soft); }
.price-grid article:last-child { background: linear-gradient(135deg, #3a7998, #4e8fb3); }
.price-grid span { color: rgba(255,255,255,.78); }
.price-grid strong { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 2rem; }
.price-note { max-width: 840px; margin: 30px auto 0; color: var(--ink-soft); font-size: .92rem; }
.price-note .free { margin: 24px 0; color: var(--green-deep); font-size: 1.18rem; font-weight: 800; }

.contact-grid { display: grid; grid-template-columns: 1fr 300px; gap: 70px; align-items: center; }
.contact h2 { margin-bottom: 24px; }
.contact p { color: var(--ink-soft); }
.contact .btn { margin-top: 18px; }
.contact-note { display: block; margin-top: 10px; color: var(--ink-soft); }
.qr-card { padding: 26px; text-align: center; border-radius: 26px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.qr-placeholder { width: 190px; aspect-ratio: 1; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 16px; background:
  linear-gradient(90deg, #193139 10px, transparent 10px) 0 0/38px 38px,
  linear-gradient(#193139 10px, transparent 10px) 0 0/38px 38px,
  #fff;
  border: 12px solid #fff;
  box-shadow: inset 0 0 0 1px #e0e9e7;
  opacity: .15;
}
.qr-card strong, .qr-card small { display: block; }
.qr-card small { color: var(--ink-soft); }

.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 70px; align-items: center; }
.profile-photo { text-align: center; }
.photo-placeholder { aspect-ratio: 1; display: grid; place-items: center; border-radius: 34px; background: linear-gradient(135deg, #dff1eb, #dbeef7); border: 8px solid #fff; box-shadow: var(--shadow); }
.photo-placeholder span { color: rgba(25,49,57,.38); font-size: .82rem; font-weight: 800; letter-spacing: .15em; line-height: 1.5; }
.profile-photo small { display: block; margin-top: 12px; color: var(--ink-soft); font-size: .72rem; }
.profile-copy h2 { font-size: 2.02rem; }
.profile-copy h2 small { color: var(--ink-soft); font-size: .9rem; font-weight: 500; }
.profile-copy .role { margin: 12px 0 26px; color: var(--green-deep); font-weight: 700; }
.profile-copy p { color: var(--ink-soft); }

.site-footer { padding: 44px 0; background: #163238; color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.footer-inner strong { font-family: "Zen Kaku Gothic New", sans-serif; font-size: 1.05rem; }
.footer-inner p { margin: 6px 0 0; color: rgba(255,255,255,.68); font-size: .82rem; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-visual { max-width: 760px; margin-inline: auto; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-wide { grid-column: 1 / -1; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid article:last-child { grid-column: 1 / -1; min-height: auto; }
  .contact-grid { grid-template-columns: 1fr 260px; gap: 40px; }
}

@media (max-width: 760px) {
  body { font-size: 15px; line-height: 1.82; }
  .container, .narrow { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 78px 0; }
  .sp-only { display: inline; }
  .header-inner { min-height: 66px; }
  .header-cta { padding: 9px 13px; font-size: .76rem; }
  .brand-copy small { display: none; }
  .hero { padding: 68px 0 84px; }
  .hero-grid { gap: 42px; }
  .hero h1 { font-size: clamp(2.2rem, 8.5vw, 3rem); }
  .hero h1 em { white-space: normal; }
  h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .work-card h3 { font-size: 1.22rem; }
  .profile-copy h2 { font-size: 1.84rem; }
  .hero-role strong { display: inline-block; margin-left: 8px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .btn { width: 100%; }
  .text-link { align-self: center; }
  .hero-points { gap: 10px 16px; }
  .float-card { display: none; }
  .image-card { border-width: 6px; border-radius: 24px; transform: none; }
  .problem-grid, .service-grid, .works-grid, .skill-bands, .hours-row, .price-grid { grid-template-columns: 1fr; }
  .service-card-wide { grid-template-columns: 46px 1fr; }
  .problem-item { min-height: auto; }
  .work-card { padding: 28px 24px; }
  .flow-list article { grid-template-columns: 52px 1fr; gap: 16px; padding-right: 18px; }
  .flow-list article > span { width: 52px; height: 52px; }
  .flow-list::before { left: 25px; }
  .improve-grid, .two-col, .contact-grid, .profile-grid { grid-template-columns: 1fr; gap: 36px; }
  .prose-card, .improve-copy { padding: 28px 24px; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-grid article, .tech-grid article:last-child { min-height: auto; grid-column: auto; }
  .qr-card { max-width: 290px; width: 100%; margin-inline: auto; }
  .profile-photo { max-width: 280px; margin-inline: auto; }
  .profile-copy h2 { font-size: 2rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 430px) {
  .header-cta { display: none; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 2.15rem; }
  h2 { font-size: 1.62rem; }
  .service-card h3, .flow-step h3 { font-size: 1rem; }
  .hero-lead { font-size: 1rem; }
  .hero-points { display: grid; }
  .section-heading { margin-bottom: 38px; }
  .service-card { padding: 24px; }
  .service-card-wide { grid-template-columns: 1fr; }
  .message-box { padding: 28px 24px; }
}


/* --- typography and balance tuning (revision 3) --- */
h2 {
  font-size: clamp(1.85rem, 3vw, 2.7rem);
  line-height: 1.42;
}
h3 {
  font-size: 1.1rem;
  line-height: 1.5;
}
.hero-role {
  font-size: .98rem;
}
.hero-role strong {
  font-size: 1.02rem;
}
.hero-lead {
  font-size: 1.03rem;
}
.hero-sub {
  font-size: 1rem;
}
.service-card h3 {
  font-size: 1.08rem;
}
.service-card p,
.flow-step p,
.tech-grid p,
.contact-copy p,
.price-box p,
.work-card p,
.profile-copy p {
  font-size: .96rem;
}
.work-card h3 {
  font-size: 1.34rem;
}
.profile-copy h2 {
  font-size: 2.02rem;
}

/* --- softer about section --- */
.about-copy {
  margin-top: 34px;
  gap: 12px;
  font-size: 1rem;
}
.about-copy p {
  padding: 18px 24px;
  margin: 0;
  border-left: 3px solid rgba(184, 216, 107, .9);
  background: linear-gradient(90deg, #fbfdfc 0%, #f7fbfa 100%);
  border-radius: 0 14px 14px 0;
  color: #5a7379;
}
.message-box {
  margin-top: 34px;
  padding: 34px 38px;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef9f4 0%, #eef7fb 100%);
  color: var(--ink);
  border: 1px solid #d7ebe8;
  box-shadow: 0 14px 34px rgba(35, 73, 79, .07);
}
.message-box p {
  font-size: 1rem;
  line-height: 1.9;
}
.message-box strong {
  color: var(--green-deep);
}

@media (max-width: 760px) {
  h2 {
    font-size: clamp(1.7rem, 6vw, 2.2rem);
  }
  .work-card h3 {
    font-size: 1.22rem;
  }
  .profile-copy h2 {
    font-size: 1.84rem;
  }
}

@media (max-width: 430px) {
  h2 {
    font-size: 1.62rem;
  }
  .service-card h3,
  .flow-step h3 {
    font-size: 1rem;
  }
}



/* --- Global heading size adjustment --- */
h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.45;
}

h3 {
  font-size: 1.02rem;
  line-height: 1.55;
}

.service-card h3,
.flow-step h3 {
  font-size: 1rem;
}

.work-card h3 {
  font-size: 1.18rem;
}

.profile-copy h2 {
  font-size: 1.82rem;
}

@media (max-width: 760px) {
  h2 {
    font-size: clamp(1.5rem, 5.2vw, 1.9rem);
  }

  h3 {
    font-size: .98rem;
  }

  .work-card h3 {
    font-size: 1.12rem;
  }

  .profile-copy h2 {
    font-size: 1.68rem;
  }
}

@media (max-width: 430px) {
  h2 {
    font-size: 1.45rem;
  }

  h3,
  .service-card h3,
  .flow-step h3 {
    font-size: .95rem;
  }
}


/* --- line qr / profile no-photo update --- */
.qr-box {
  width: 220px;
  aspect-ratio: auto;
  background: #fff;
  border-radius: 24px;
  padding: 14px;
  border: 1px solid #dce9e6;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-box img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.profile-card--no-photo,
.profile-grid {
  grid-template-columns: 1fr;
}
.profile-copy {
  max-width: 760px;
}
.profile-photo {
  display: none !important;
}
@media (max-width: 760px) {
  .qr-box {
    width: min(220px, 100%);
    margin-inline: auto;
  }
}


/* --- hero role removed adjustment --- */
.hero-copy .hero-lead {
  margin-top: 18px;
}


/* --- LINE QR actual image --- */
.line-qr-image {
  width: 190px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
  border-radius: 14px;
  background: #fff;
}
