@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&display=swap');

:root {
  color-scheme: light;
  --base: #ffffff;
  --paper: #fbfbf8;
  --ink: #102033;
  --muted: #5c6875;
  --soft: #edf4f7;
  --line: #dfe8ee;
  --blue: #2563eb;
  --sky: #38bdf8;
  --green: #0f766e;
  --shadow: 0 24px 70px rgba(16, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

section[id],
#price {
  scroll-margin-top: 80px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(223, 232, 238, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.hero-proof,
.check-list {
  display: flex;
}

.brand {
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border: 2px solid white;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.14);
}

.nav {
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.header-cta,
.button {
  border-radius: 8px;
  font-weight: 800;
}

.header-cta {
  padding: 10px 16px;
  background: var(--ink);
  color: white;
  font-size: 14px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  padding: clamp(64px, 8vw, 116px) clamp(20px, 6vw, 88px) 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.22), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.role,
.tag {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.25;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.35;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
}

.button.primary {
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 28px rgba(16, 32, 51, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}

.hero-proof {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-proof div {
  min-width: 170px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.hero-proof dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.hero-proof dd {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 800;
}

.profile-card,
.profile-panel,
.contact-box,
.seminar-box,
.service-main,
.problem-list article,
.example-grid article,
.service-grid article,
.case-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.07);
}

.profile-card {
  padding: 28px;
  box-shadow: var(--shadow);
}

.profile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 18%;
}

.profile-card h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.profile-card p:not(.role),
.profile-panel p,
.problem-list p,
.example-grid p,
.service-main p,
.service-grid p,
.case-grid p,
.seminar-box p,
.contact-box p {
  color: var(--muted);
}

.section {
  padding: 86px clamp(20px, 6vw, 88px);
}

.visual-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
  padding: 34px clamp(20px, 6vw, 88px);
  background: var(--ink);
}

.visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 280px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: white;
}

.visual-copy .eyebrow {
  color: #7dd3fc;
}

.visual-copy h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.visual-photo {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 8px;
  color: white;
}

.visual-photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.visual-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(16, 32, 51, 0.86) 100%);
  content: "";
}

.visual-photo div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
}

.visual-card {
  position: relative;
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 8px;
  color: white;
  isolation: isolate;
}

.visual-card::before,
.visual-card::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
}

.visual-card::after {
  background: linear-gradient(180deg, transparent 25%, rgba(16, 32, 51, 0.88) 100%);
}

.note-card {
  background: #ccfbf1;
}

.note-card::before {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.95) 0 42px, transparent 43px),
    linear-gradient(135deg, transparent 0 18%, rgba(255, 255, 255, 0.94) 18% 64%, transparent 64%),
    repeating-linear-gradient(0deg, rgba(15, 118, 110, 0.16) 0 2px, transparent 2px 32px);
  transform: rotate(3deg) scale(1.12);
}

.site-card {
  grid-column: 1 / -1;
  min-height: 210px;
  background: #e0f2fe;
}

.site-card::before {
  background:
    linear-gradient(180deg, rgba(16, 32, 51, 0.85) 0 20%, transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0 34%, transparent 34% 38%, rgba(255, 255, 255, 0.9) 38% 100%),
    repeating-linear-gradient(0deg, rgba(37, 99, 235, 0.14) 0 2px, transparent 2px 36px);
  transform: rotate(1deg) scale(1.08);
}

.visual-card span,
.visual-photo span {
  color: #bae6fd;
  font-size: 13px;
  font-weight: 900;
}

.visual-card strong,
.visual-photo strong {
  display: block;
  font-size: 24px;
  line-height: 1.25;
}

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

.problems,
.cases {
  background: var(--paper);
}

.problem-list,
.example-grid,
.service-grid,
.case-grid {
  display: grid;
  gap: 16px;
}

.problem-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.problem-list article,
.example-grid article,
.service-grid article,
.case-grid article {
  padding: 26px;
}

.example-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.example-grid h3 {
  font-size: 19px;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.problem-list span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.service-main {
  padding: 32px;
  background: var(--ink);
  color: white;
}

.service-main p {
  color: #cbd5e1;
}

.service-main a {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 900;
  color: #7dd3fc;
}

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

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.25;
}

.profile-panel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: clamp(26px, 5vw, 48px);
  background: linear-gradient(135deg, #ffffff, var(--soft));
}

.profile-large {
  width: 220px;
  height: 220px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 18%;
}

.check-list {
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 800;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
}

.seminar {
  background: linear-gradient(180deg, #ffffff 0%, var(--soft) 100%);
}

.seminar-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 5vw, 44px);
}

.seminar-box > div {
  max-width: 760px;
}

.contact {
  padding: 90px clamp(20px, 6vw, 88px);
  background: var(--ink);
}

.contact-box {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 58px);
  text-align: center;
}

.contact-box .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .hero,
  .service-layout,
  .profile-panel,
  .visual-band {
    grid-template-columns: 1fr;
  }

  .problem-list,
  .example-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

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

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

  .site-card {
    grid-column: auto;
  }

  .profile-large {
    width: 180px;
    height: 180px;
  }

  .seminar-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .section,
  .contact,
  .visual-band {
    padding: 56px 20px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-proof div {
    width: 100%;
  }

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

/* ===== 料金目安 ===== */

.price-note {
  margin-top: 48px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.price-note-label {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.price-item strong {
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

.price-item span {
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.price-sub {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 980px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== FAQ ===== */

.faq {
  background: var(--paper);
}

.faq-list {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid var(--line);
}

/* ===== フッター ===== */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px clamp(20px, 6vw, 88px) 40px;
  text-align: center;
}

.footer-brand {
  font-weight: 800;
  font-size: 15px;
  color: white;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 13px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}

.footer-nav a:hover {
  color: white;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== Works セクション ===== */

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.07);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(16, 32, 51, 0.14);
}

.work-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.work-thumb-restaurant {
  background:
    radial-gradient(circle at 75% 30%, rgba(176, 58, 46, 0.45), transparent 50%),
    linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
}

.work-thumb-restaurant .work-thumb-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #b03a2e;
  color: #f7f3e8;
  border-radius: 50%;
  font-family: "Hiragino Mincho ProN", serif;
  font-size: 28px;
  font-weight: 700;
}

.work-thumb-restaurant .work-thumb-line {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: rgba(184, 146, 74, 0.55);
}

.work-thumb-clinic {
  background:
    radial-gradient(circle at 25% 80%, rgba(58, 95, 75, 0.4), transparent 50%),
    radial-gradient(circle at 85% 25%, rgba(243, 216, 201, 0.7), transparent 55%),
    linear-gradient(160deg, #f7f3ec 0%, #efe8db 100%);
}

.work-thumb-clinic .work-thumb-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.8) 0 8px, transparent 9px),
    linear-gradient(160deg, #f3d8c9 0%, #c98a5c 100%);
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(58, 95, 75, 0.25);
}

.work-thumb-school {
  background:
    radial-gradient(circle at 12% 86%, rgba(79, 195, 247, 0.45), transparent 45%),
    radial-gradient(circle at 88% 14%, rgba(255, 213, 79, 0.55), transparent 45%),
    linear-gradient(160deg, #f0f7ff 0%, #ffffff 60%);
}

.work-thumb-school .work-thumb-shape {
  position: absolute;
  border-radius: 50%;
}

.work-thumb-school .work-thumb-shape-1 {
  top: 22%;
  left: 18%;
  width: 56px;
  height: 56px;
  background: #ffd54f;
  box-shadow: 0 12px 26px rgba(255, 213, 79, 0.5);
}

.work-thumb-school .work-thumb-shape-2 {
  top: 48%;
  right: 22%;
  width: 44px;
  height: 44px;
  background: #4fc3f7;
  border-radius: 12px;
  transform: rotate(18deg);
  box-shadow: 0 10px 22px rgba(79, 195, 247, 0.45);
}

.work-thumb-school .work-thumb-shape-3 {
  bottom: 18%;
  left: 42%;
  width: 38px;
  height: 38px;
  background: #ff8a65;
  border-radius: 14px;
  transform: rotate(-12deg);
  box-shadow: 0 10px 22px rgba(255, 138, 101, 0.45);
}

.work-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 26px;
}

.work-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.work-body h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.work-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.work-link {
  margin-top: 4px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== v2 追加スタイル ===== */

/* セクション内の注記 */
.section-note,
.steps-note,
.contact-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
}

.section-note {
  margin-bottom: 0;
}

.steps-note {
  margin-top: 22px;
  text-align: center;
}

.contact-note {
  margin-top: 18px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* 「想定」タグ */
.case-tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: rgba(15, 118, 110, 0.12);
  border-radius: 999px;
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

/* 進め方ステップ */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.07);
}

.step-grid p {
  color: var(--muted);
}

.step-num {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-weight: 900;
}

/* hover / transition */
.button,
.header-cta,
.example-grid article,
.service-grid article,
.case-grid article,
.step-grid article {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.button:hover,
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(16, 32, 51, 0.22);
}

.example-grid article:hover,
.service-grid article:hover,
.case-grid article:hover,
.step-grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(16, 32, 51, 0.12);
}

.service-main a:hover {
  text-decoration: underline;
}

/* アイコンラッパー */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: var(--soft);
  border-radius: 10px;
  color: var(--blue);
}

.service-main .card-icon {
  background: rgba(255, 255, 255, 0.14);
  color: #7dd3fc;
}

/* スクロールフェードイン */
.js-animate .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-animate .reveal.visible {
  opacity: 1;
  transform: none;
}

/* aria-disabled なボタンの見た目 */
.button[aria-disabled="true"] {
  opacity: 0.7;
  cursor: not-allowed;
}

.button[aria-disabled="true"]:hover {
  transform: none;
}

/* モバイル固定フッターCTA */
.mobile-cta {
  display: none;
}

@media (max-width: 980px) {
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .step-grid {
    grid-template-columns: 1fr;
  }

  .mobile-cta {
    position: fixed;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 18px;
    background: var(--ink);
    border-radius: 8px;
    color: white;
    font-weight: 800;
    box-shadow: 0 18px 36px rgba(16, 32, 51, 0.32);
  }

  body {
    padding-bottom: 84px;
  }
}
