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

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6c727a;
  --line: #e3eaf2;
  --card: #fbfdff;
  --accent: rgb(35, 102, 223);
  --accent-dark: #184faf;
  --accent-pale: #e7f2ff;
  --shadow: 0 14px 34px rgba(25, 48, 76, 0.08);
  --radius: 18px;
  --container: 1260px;
}

.bleed-left { margin-left: calc(50% - 50vw); }
.bleed-right { margin-right: calc(50% - 50vw); }
.bleed-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.035em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid rgba(35, 102, 223, 0.45); outline-offset: 4px; border-radius: 8px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 3px 18px rgba(25, 48, 76, 0.05);
}
main { padding-top: 72px; }
.header-inner {
  width: min(calc(100% - 64px), var(--container));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.global-nav {
  display: flex;
  align-items: center;
  gap: 31px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.global-nav a { position: relative; transition: color .25s ease-out; white-space: nowrap; }
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease-out;
}
.global-nav a:hover::after, .global-nav a:focus-visible::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }
.global-nav a:hover { color: var(--accent); }
.instagram-link, .footer-meta a { display: inline-flex; align-items: center; gap: 8px; }
.instagram-link svg, .footer-meta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.instagram-link .instagram-dot, .footer-meta .instagram-dot { fill: currentColor; stroke: none; }
.header-actions { display: none; }
.menu-toggle { display: none; }
.section-heading h2, .contact h2, .detail-plan-card { scroll-margin-top: 130px; }

.hero { padding: 28px 0 118px; }
.hero-inner {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { padding-top: 18px; }
.hero h1 {
  margin: 0;
  font-size: clamp(44px, 4.2vw, 64px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.hero-lead {
  margin: 40px 0 0;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.72;
  font-weight: 500;
  letter-spacing: 0.035em;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.button {
  min-height: 68px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform .28s ease-out, box-shadow .28s ease-out, background-color .28s ease-out;
}
.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 26px rgba(35, 102, 223, .20);
}
.button-primary:hover { transform: translateY(-3px); background: var(--accent-dark); box-shadow: 0 16px 30px rgba(35, 102, 223, .25); }
.button-outline { border: 1.5px solid #111; background: #fff; }
.button-outline:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hero-media {
  width: calc(100% + max(0px, (100vw - var(--container)) / 2));
  margin: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1.33 / 1;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 22px 0 0 22px;
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
}
.section {
  padding: 154px 0;
  background: var(--bg);
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 62px;
  text-align: center;
}
.section-heading h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 3.1vw, 44px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.section-heading p {
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 400;
}
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .32s ease-out, box-shadow .32s ease-out, border-color .32s ease-out;
}
.card:hover, .price-card:hover, .portfolio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6e1ee; }

.concern-card {
  min-height: 386px;
  padding: 38px 40px 40px;
  text-align: center;
}
.concern-illustration {
  width: 122px;
  height: 104px;
  object-fit: contain;
  margin: 0 auto 28px;
  display: block;
}
.concern-card h3,
.service-card h3,
.reason-item h3,
.price-card h3,
.portfolio-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0;
}
.concern-card p {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.services { padding-top: 146px; }
.service-card {
  min-height: 300px;
  padding: 42px 40px 38px;
  text-align: center;
}
.service-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin: 0 auto 28px;
  display: block;
}
.service-card p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.reasons { padding-top: 156px; }
.reasons-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 54px;
  align-items: center;
}
.reasons-photo { margin: 0; }
.reasons-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.53 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
}
.reason-list { display: grid; gap: 32px; }
.reason-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.reason-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent-pale);
  display: grid;
  place-items: center;
}
.reason-icon-wrap img { width: 48px; height: 48px; object-fit: contain; }
.reason-item h3 { font-size: 19px; }
.reason-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.pricing { padding-top: 150px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.price-card {
  min-height: 300px;
  padding: 43px 44px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .32s ease-out, box-shadow .32s ease-out, border-color .32s ease-out;
}
.price-card h3 { font-size: 21px; }
.price-card .price {
  margin: 24px 0 16px;
  color: #111;
  font-size: 24px;
  font-weight: 700;
}
.price-card .price span { font-size: .72em; }
.price-description { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.price-detail-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--accent); font-size: 14px; font-weight: 700; }
.price-detail-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.pricing-note { margin: 28px 0 0; text-align: center; color: var(--muted); font-size: 14px; }

.portfolio { padding-top: 154px; }
.portfolio-pending {
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 1px solid #e6e9ed;
  border-radius: 16px;
  background: #f4f5f7;
}
.portfolio-pending p { margin: 0; color: #777e87; font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.portfolio-card {
  min-height: 360px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform .32s ease-out, box-shadow .32s ease-out, border-color .32s ease-out;
}
.portfolio-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 2.62 / 1;
  object-fit: cover;
}
.portfolio-card:nth-child(1) > img { object-position: 50% 54%; }
.portfolio-card:nth-child(2) > img { object-position: 52% 50%; }
.portfolio-card:nth-child(3) > img { object-position: 53% 48%; }
.portfolio-body { padding: 28px 28px 30px; }
.portfolio-card h3 { font-size: 19px; }
.portfolio-card p { margin: 12px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.portfolio-card a { color: var(--accent); font-size: 14px; font-weight: 700; }

.contact {
  padding: 182px 0 198px;
  text-align: center;
}
.contact-inner { max-width: 820px; }
.contact h2 { font-size: clamp(38px, 3.2vw, 50px); }
.contact p { margin: 24px 0 0; font-size: 16px; font-weight: 500; }
.contact-button { min-width: 390px; min-height: 76px; margin-top: 54px; }

.site-footer { padding: 0 0 68px; }
.footer-inner {
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.footer-brand { margin: 0; font-size: 19px; font-weight: 700; }
.footer-tagline { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.footer-meta { display: flex; align-items: center; gap: 18px; color: #565c63; font-size: 12px; }
.footer-meta a { font-weight: 700; }
.footer-meta a:hover { color: var(--accent); }

.detail-eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.detail-back { margin: 30px 0 0; text-align: center; }
.detail-back-link { color: var(--accent); font-size: 14px; font-weight: 700; }
.detail-back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.detail-plans { padding-top: 58px; }
.detail-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.detail-plan-card { padding: 48px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); }
.detail-plan-number { margin: 0 0 10px; color: var(--accent); font-size: 14px; font-weight: 700; }
.detail-plan-card h3 { margin: 0; font-size: 26px; line-height: 1.5; }
.detail-plan-price { margin: 14px 0 26px; font-size: 26px; font-weight: 700; }
.detail-plan-intro { margin: 0 0 32px; color: var(--muted); font-size: 16px; }
.detail-plan-card h4 { margin: 0 0 16px; font-size: 17px; }
.detail-plan-card ul, .detail-support ul { margin: 0; padding-left: 1.4em; }
.detail-plan-card li + li, .detail-support li + li { margin-top: 12px; }
.detail-plan-card li::marker, .detail-support li::marker { color: var(--accent); }
.detail-price-note { margin: 28px 0 0; color: var(--muted); text-align: center; font-size: 14px; }
.detail-support { background: #f5f9ff; }
.detail-support-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.detail-support h2, .detail-contact h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.4; }
.detail-support p:not(.detail-eyebrow) { margin: 24px 0 0; color: var(--muted); }
.detail-support ul { padding: 36px 36px 36px 58px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.detail-contact { text-align: center; }
.detail-contact p { margin: 18px 0 36px; color: var(--muted); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .36s ease-out, transform .36s ease-out; }

@media (max-width: 1180px) {
  .header-inner, .container, .footer-inner, .hero-inner { width: min(calc(100% - 48px), 1040px); }
  .hero-inner { grid-template-columns: .78fr 1.22fr; gap: 42px; }
  .hero h1 { font-size: clamp(36px, 3.8vw, 48px); }
  .hero-media { width: calc(100% + 24px); }
  .global-nav { gap: 22px; font-size: 13px; }
}

@media (max-width: 900px) {
  .header-inner { height: 60px; }
  main { padding-top: 60px; }
  .section-heading h2, .contact h2, .detail-plan-card { scroll-margin-top: 96px; }
  .header-actions { display: flex; align-items: center; gap: 8px; }
  .header-contact { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 15px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .header-contact:hover { background: var(--accent-dark); }
  .menu-open .header-contact { visibility: hidden; }
  .menu-toggle {
    position: relative;
    z-index: 60;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    place-content: center;
    gap: 5px;
  }
  .menu-toggle span { display: block; width: 23px; height: 2px; background: #111; border-radius: 2px; transition: transform .25s ease-out, opacity .25s ease-out; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 88vw);
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 90px 28px 48px;
    background: #fff;
    box-shadow: -18px 0 40px rgba(17, 17, 17, 0.08);
    font-size: 20px;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s ease-out, visibility .28s ease-out;
  }
  .global-nav.is-open { transform: translateX(0); visibility: visible; }
  .hero { padding: 34px 0 92px; }
  .hero-inner { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { order: 1; padding-top: 0; }
  .hero-media { order: 2; width: 100%; margin-right: 0; }
  .hero-media img { border-radius: 18px; aspect-ratio: 3 / 2; }
  .hero h1 { font-size: clamp(40px, 7.3vw, 56px); }
  .section { padding: 104px 0; }
  .card-grid-3, .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons-layout { grid-template-columns: 1fr; gap: 48px; }
  .reasons-photo { order: 2; }
  .reason-list { order: 1; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact { padding: 122px 0 136px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .detail-plan-grid, .detail-support-inner { grid-template-columns: 1fr; }
  .detail-plans { padding-top: 36px; }
  .detail-support-inner { gap: 36px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .header-inner, .container, .footer-inner, .hero-inner { width: calc(100% - 36px); }
  .brand { font-size: 20px; }
  .hero { padding: 24px 0 82px; }
  .hero h1 { font-size: clamp(38px, 11.3vw, 48px); }
  .hero-lead { margin-top: 30px; font-size: 18px; line-height: 1.78; }
  .hero-actions { margin-top: 30px; flex-direction: column; align-items: stretch; gap: 12px; }
  .button { width: 100%; max-width: 360px; min-height: 52px; }
  .section { padding: 88px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .contact h2 { font-size: clamp(30px, 8.5vw, 40px); white-space: nowrap; }
  .section-heading p { margin-top: 14px; font-size: 16px; line-height: 1.8; }
  .card-grid-3, .portfolio-grid { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-card { min-height: 0; }
  .portfolio-pending { min-height: 220px; }
  .portfolio-pending p { font-size: 21px; }
  .portfolio-card > img { aspect-ratio: 1.7 / 1; }
  .concern-card, .service-card { min-height: auto; padding: 30px 28px 32px; }
  .concern-card h3, .service-card h3, .price-card h3, .portfolio-card h3 { font-size: 19px; }
  .concern-card p, .service-card p { font-size: 16px; }
  .service-icon { width: 68px; height: 68px; }
  .reasons-layout { gap: 34px; }
  .reason-list { gap: 28px; }
  .reason-item { grid-template-columns: 68px minmax(0, 1fr); gap: 16px; }
  .reason-icon-wrap { width: 64px; height: 64px; }
  .reason-icon-wrap img { width: 42px; height: 42px; }
  .reason-item h3 { font-size: 18px; }
  .reason-item p { font-size: 16px; line-height: 1.78; }
  .price-card { min-height: auto; padding: 32px 28px; }
  .price-card .price { font-size: 22px; }
  .price-description, .pricing-note, .portfolio-card p, .portfolio-card a { font-size: 16px; }
  .portfolio-body { padding: 26px 26px 30px; }
  .contact { padding: 104px 0 122px; }
  .contact p { font-size: 16px; }
  .contact-button { min-width: 0; margin-top: 40px; }
  .site-footer { padding-bottom: 44px; }
  .footer-meta { flex-wrap: wrap; gap: 12px; }
  .footer-tagline, .footer-meta { font-size: 12px; }
  .detail-plan-card { padding: 30px 26px; }
  .detail-plan-card h3 { font-size: 22px; }
  .detail-plan-price { font-size: 23px; }
  .detail-support ul { padding: 28px 24px 28px 44px; }
  .detail-contact .button { margin: 0 auto; }
}

@media (max-width: 400px) {
  .header-inner { gap: 8px; }
  .brand { font-size: 18px; }
  .header-actions { gap: 4px; }
  .header-contact { min-height: 34px; padding: 0 11px; font-size: 12px; }
  .menu-toggle { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
