@charset "UTF-8";

:root {
  --green: #55bce8;
  --green-dark: #247fb8;
  --green-soft: #edf9ff;
  --sky-pale: #dff4ff;
  --sky-line: #b6e3f7;
  --orange: #f7931e;
  --orange-soft: #fff4e6;
  --text: #26333c;
  --muted: #61717c;
  --bg: #fbfdff;
  --white: #fff;
  --border: #dceaf1;
  --shadow: 0 12px 28px rgba(39, 126, 180, .10);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "M PLUS 1c", "BIZ UDPGothic", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--bg);
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 14px rgba(0,0,0,.06);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-dark);
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
  font-size: 25px;
}

.logo strong {
  display: block;
  font-size: 26px;
  letter-spacing: .08em;
  line-height: 1.1;
}

.logo small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .03em;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  font-size: 14px;
}

.global-nav > a:not(.nav-tel) {
  position: relative;
}

.global-nav > a:not(.nav-tel)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 3px;
  border-radius: 99px;
  background: var(--green);
  transition: right .2s ease;
}

.global-nav > a:not(.nav-tel):hover::after { right: 0; }

.nav-tel {
  color: var(--white);
  background: linear-gradient(135deg, #ffa32f, var(--orange));
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 6px 15px rgba(247,147,30,.18);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--green-dark);
  margin: 6px auto;
}


.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.hero-design-preview {
  aspect-ratio: 1792 / 840;
  background: url("../images/magoya-hp-top.png") center center / cover no-repeat;
}

.hero-design-link {
  position: absolute;
  left: 35.5%;
  top: 72.5%;
  width: 29%;
  height: 23%;
  border-radius: 26px;
  z-index: 2;
}

.hero-design-link:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -7px;
}

.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;
}

.section {
  padding: 84px 0;
}

.section-title {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto 42px;
  padding: 15px 34px 17px;
  text-align: center;
  background: linear-gradient(135deg, #70c9ef 0%, #42addd 100%);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(39, 126, 180, .14);
  overflow: hidden;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 54px;
  height: 2px;
  background: rgba(255,255,255,.55);
}

.section-title::before { left: 18px; }
.section-title::after { right: 18px; }

.section-title p {
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .18em;
  margin: 0 0 1px;
}

.section-title h2,
.campaign h2,
.area h2,
.contact h2 {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--green-dark);
  margin: 6px 0 0;
  line-height: 1.35;
}

.section-title h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(25px, 3.4vw, 34px);
  letter-spacing: .04em;
  text-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.notice-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.notice-list article {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sky-line);
  border-radius: 16px;
  padding: 22px 24px 22px 34px;
  box-shadow: 0 8px 22px rgba(39,126,180,.08);
}

.notice-list article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 6px;
  border-radius: 0 6px 6px 0;
  background: var(--green);
}

.notice-list time {
  display: inline-block;
  color: var(--green-dark);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 800;
  font-size: 13px;
}

.notice-list h3 {
  margin: 4px 0 6px;
}

.service {
  background:
    radial-gradient(circle at 8% 20%, rgba(85,188,232,.12), transparent 22%),
    linear-gradient(180deg, #f4fbff 0%, #eaf7fd 100%);
  border-top: 1px solid #d8eef8;
  border-bottom: 1px solid #d8eef8;
}

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

.service-card {
  position: relative;
  background: rgba(255,255,255,.96);
  padding: 28px;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(39,126,180,.09);
  border: 1px solid #cce9f6;
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(39,126,180,.14);
}

.service-card.wide {
  grid-column: span 3;
}

.icon {
  display: inline-grid;
  place-items: center;
  min-width: 68px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6dc8ee, #46addb);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 12px;
  box-shadow: 0 6px 14px rgba(39,126,180,.15);
}

.service-card h3 {
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--green-dark);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.campaign {
  background: linear-gradient(135deg, #dff4ff 0%, #c8ecfb 100%);
  color: var(--text);
  border-top: 1px solid #bfe5f6;
  border-bottom: 1px solid #bfe5f6;
}

.campaign h2 {
  color: var(--green-dark);
}

.campaign-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.campaign-box p {
  max-width: 720px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #ffa32f, var(--orange));
  box-shadow: 0 8px 18px rgba(247,147,30,.22);
}

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

.strength {
  background: #fff;
}

.point-grid article {
  position: relative;
  background: var(--white);
  border-radius: 22px;
  padding: 30px;
  border: 1px solid #d7edf7;
  border-top: 5px solid var(--green);
  box-shadow: 0 10px 24px rgba(39,126,180,.08);
}

.point-grid span {
  color: var(--green);
  font-size: 32px;
  font-weight: 900;
}

.point-grid h3 {
  margin: 8px 0;
  color: var(--green-dark);
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
}

.area {
  background: linear-gradient(180deg, #f6fcff, #eaf7fd);
}

.area-card {
  background: var(--white);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.area-card strong {
  color: var(--green-dark);
  font-size: 26px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 220px;
  color: var(--green-dark);
  background: #edf8fd;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.contact {
  background: linear-gradient(135deg, #55bce8 0%, #2f8ec2 100%);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  color: var(--white);
}

.contact-box {
  max-width: 780px;
}

.tel-big {
  display: inline-block;
  font-size: clamp(34px, 7vw, 58px);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--white);
  margin: 18px 0 4px;
}

.note {
  font-size: 14px;
  opacity: .85;
}

.site-footer {
  background: #205f83;
  color: var(--white);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}

.footer-inner p {
  margin: 6px 0 0;
  color: rgba(255,255,255,.78);
}

.fixed-tel {
  display: none;
}

@media (max-width: 900px) {
  .header-inner {
    height: 68px;
  }

  .global-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .global-nav.active {
    display: flex;
  }

  .global-nav a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: block;
  }

  .hero-design-preview {
    aspect-ratio: 1792 / 840;
  }


  .service-grid,
  .point-grid,
  .two-column {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: span 1;
  }

  .campaign-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .company-table th {
    padding-bottom: 8px;
  }

  .company-table td {
    padding-top: 8px;
  }

  /* スマホ下部の固定「電話する」CTAは非表示 */
  .fixed-tel {
    display: none;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 520px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .logo small {
    display: none;
  }

  .logo strong {
    font-size: 22px;
  }

  .section {
    padding: 62px 0;
  }

  .hero-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .hero-design-preview {
    aspect-ratio: 9 / 12;
    background-size: auto 100%;
    background-position: center top;
  }

  .hero-design-link {
    left: 18%;
    top: 75%;
    width: 64%;
    height: 17%;
  }
}

@media (max-width: 520px) {
  .section-title {
    padding: 13px 20px 15px;
    border-radius: 14px;
    margin-bottom: 30px;
  }
  .section-title::before, .section-title::after { width: 24px; }
  .section-title::before { left: 10px; }
  .section-title::after { right: 10px; }
  .section-title h2 { font-size: 24px; }
  .section-title p { font-size: 10px; }
}

/* ===== Service detail prototype ===== */
html { scroll-behavior: smooth; }

.breadcrumb-wrap { background: #fff; border-bottom: 1px solid var(--border); }
.breadcrumb { min-height: 48px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--green-dark); font-weight: 700; }

.service-page-head { padding: 58px 0 44px; background: linear-gradient(180deg,#f7fcff 0%,#eef9fe 100%); }
.service-page-title { margin-bottom: 18px; }
.service-page-title h1 { margin: 0; color: #fff; font-size: clamp(25px,3.4vw,34px); line-height: 1.35; }
.service-page-lead { text-align: center; margin: 0 0 30px; font-size: 18px; font-weight: 700; }

.service-jump { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; max-width: 980px; margin: 0 auto; }
.service-jump a { display: grid; place-items: center; min-height: 54px; padding: 8px 10px; border: 1px solid #bde3f5; border-radius: 12px; background: #fff; color: var(--green-dark); font-weight: 800; text-align: center; font-size: 14px; box-shadow: 0 4px 12px rgba(39,126,180,.05); }
.service-jump a:hover,.service-jump a.active { color: #fff; background: var(--green); border-color: var(--green); }

.service-detail { background: #fff; scroll-margin-top: 88px; }
.service-detail-heading { margin-bottom: 30px; text-align: center; }
.service-detail-kicker { display: inline-block; margin-bottom: 5px; color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.service-detail-heading h2 { position: relative; display: inline-block; margin: 0; padding: 0 56px; color: var(--text); font-size: clamp(32px,5vw,46px); line-height: 1.35; }
.service-detail-heading h2::before,.service-detail-heading h2::after { content:""; position:absolute; top:50%; width:36px; height:3px; border-radius:99px; background:var(--green); }
.service-detail-heading h2::before { left:0; }
.service-detail-heading h2::after { right:0; }

.service-detail-main { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; max-width: 1000px; margin: 0 auto; }
.service-detail-photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.service-detail-copy h3 { margin: 0 0 18px; color: var(--green-dark); font-size: clamp(23px,3vw,31px); line-height: 1.55; }
.service-detail-copy p { margin: 0; color: var(--muted); }
.service-mini-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.service-mini-points span { padding: 7px 13px; border-radius: 999px; color: var(--green-dark); background: var(--green-soft); border: 1px solid #c9e9f7; font-size: 13px; font-weight: 800; }

.service-subsection { max-width: 1000px; margin: 72px auto 0; }
.simple-heading { display: flex; align-items: center; gap: 14px; margin: 0 0 28px; color: var(--text); font-size: clamp(23px,3vw,30px); }
.simple-heading::before { content:""; width: 8px; height: 32px; border-radius: 99px; background: var(--green); flex: 0 0 auto; }

.worry-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.worry-grid div { position: relative; padding: 20px 20px 20px 48px; border-radius: 16px; background: #f4fbff; border: 1px solid #d7edf7; font-weight: 700; }
.worry-grid div::before { content:"✓"; position:absolute; left:20px; top:18px; color:var(--green-dark); font-weight:900; font-size:18px; }

.service-action-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.service-action-grid article { padding: 24px 18px; text-align:center; background:#fff; border:1px solid #d7edf7; border-radius:18px; box-shadow:0 7px 18px rgba(39,126,180,.06); }
.service-action-grid strong { display:block; margin-bottom:8px; color:var(--green-dark); font-size:17px; }
.service-action-grid p { margin:0; color:var(--muted); font-size:14px; line-height:1.7; }

.service-cta-panel { max-width: 1000px; margin: 72px auto 0; padding: 28px 34px; display:flex; align-items:center; justify-content:space-between; gap:28px; border-radius:22px; background:linear-gradient(135deg,#f4fbff,#e4f6fd); border:1px solid #c8e9f7; }
.service-cta-panel span { color:var(--green-dark); font-size:13px; font-weight:900; }
.service-cta-panel h3 { margin:4px 0; font-size:25px; }
.service-cta-panel p { margin:0; color:var(--muted); }
.service-cta-panel > a { min-width:300px; padding:14px 22px; border-radius:18px; color:#fff; background:linear-gradient(135deg,#ffa32f,var(--orange)); text-align:center; font-size:30px; font-weight:900; line-height:1.25; box-shadow:0 8px 18px rgba(247,147,30,.2); }
.service-cta-panel > a small { display:block; font-size:12px; font-weight:800; }

.service-placeholder-wrap { padding: 0 0 80px; background:#fff; }
.prototype-note { max-width:1000px; margin:0 auto 18px; padding:12px 16px; border-radius:12px; background:#fff8ed; color:#8a5b19; font-size:13px; text-align:center; }
.prototype-sections { max-width:1000px; margin:0 auto; display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
.prototype-sections div { scroll-margin-top:88px; padding:22px; border-radius:14px; border:1px dashed #b8dff0; color:var(--green-dark); background:#f8fcff; font-weight:800; text-align:center; }

@media (max-width: 900px) {
  .service-jump { grid-template-columns: repeat(2,1fr); }
  .service-detail-main { grid-template-columns: 1fr; gap: 28px; }
  .service-action-grid { grid-template-columns: repeat(2,1fr); }
  .service-cta-panel { flex-direction:column; align-items:stretch; text-align:center; }
  .service-cta-panel > a { min-width:0; width:100%; }
}

@media (max-width: 520px) {
  .service-page-head { padding: 38px 0 32px; }
  .service-page-lead { font-size:15px; }
  .service-jump { gap:8px; }
  .service-jump a { min-height:48px; font-size:12px; }
  .service-detail-heading h2 { padding:0 40px; }
  .service-detail-heading h2::before,.service-detail-heading h2::after { width:28px; }
  .worry-grid,.service-action-grid,.prototype-sections { grid-template-columns:1fr; }
  .service-subsection { margin-top:52px; }
  .service-cta-panel { margin-top:52px; padding:24px 18px; }
  .service-cta-panel > a { font-size:25px; }
}

/* ===== Simple service detail (temporary publish version) ===== */
.service-simple-block {
  padding: 54px 0 66px;
  background: #f7f9fb;
  scroll-margin-top: 88px;
}

.service-simple-block .container {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}

.service-simple-title {
  padding: 14px 26px;
  color: #fff;
  background: linear-gradient(135deg, #54b9e6 0%, #3aa8da 100%);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
}

.service-simple-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 34px;
  align-items: center;
  padding: 38px 42px 44px;
}

.service-simple-copy h2 {
  margin: 0 0 18px;
  color: #111;
  font-size: clamp(27px, 3.7vw, 42px);
  line-height: 1.35;
  letter-spacing: .01em;
}

.service-simple-copy .price-label,
.service-simple-copy .price-unit {
  font-size: .72em;
  font-weight: 900;
}

.service-simple-copy .price {
  display: inline-block;
  margin: 0 4px;
  color: #f20d0d;
  font-size: 1.42em;
  font-weight: 900;
  line-height: 1;
}

.service-simple-copy p {
  margin: 0 0 14px;
  color: #1d1d1d;
  font-size: 16px;
  line-height: 1.85;
}

.service-simple-copy .service-simple-lead {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
}

.service-simple-visual {
  justify-self: end;
  width: min(220px, 100%);
}

.service-simple-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(38, 69, 87, .10);
}

@media (max-width: 760px) {
  .service-simple-block { padding: 34px 0 46px; }
  .service-simple-body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 22px 32px;
  }
  .service-simple-title { padding: 12px 18px; }
  .service-simple-visual {
    justify-self: start;
    width: 170px;
  }
  .service-simple-copy h2 { font-size: clamp(25px, 8vw, 34px); }
  .service-simple-copy p { font-size: 15px; }
  .service-simple-copy .service-simple-lead { font-size: 16px; }
}

/* ===== Simple service detail extensions ===== */
.service-simple-list {
  margin: 0 0 18px;
  padding-left: 1.3em;
  color: #1d1d1d;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
}
.service-simple-list li + li { margin-top: 5px; }
.price-text { color: #f20d0d; font-weight: 900; }
.service-simple-visual-icon img {
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}
.service-simple-block + .service-simple-block { padding-top: 12px; }
.service-bottom-cta { padding: 30px 0 80px; background: #f7f9fb; }
.service-bottom-cta .container {
  padding: 28px 24px;
  text-align: center;
  border-radius: 18px;
  background: linear-gradient(135deg,#fff7ec,#fff1dc);
  border: 1px solid #ffd7a6;
}
.service-bottom-cta p { margin: 0 0 5px; color: #555; font-weight: 800; }
.service-bottom-cta h2 { margin: 0 0 12px; font-size: clamp(22px,3vw,30px); }
.service-bottom-cta a {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  color: #fff;
  background: #f7931e;
  font-size: clamp(26px,4vw,38px);
  font-weight: 900;
  letter-spacing: .02em;
}
@media (max-width:760px){
  .service-simple-visual-icon { width: 150px; justify-self: center; }
  .service-simple-list { font-size: 14px; }
  .service-bottom-cta { padding-bottom: 100px; }
}

/* Service card detail links */
.service-card .service-more {
  margin-top: 14px;
}
.service-card .service-more .btn {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

/* Keep anchored service headings visible below the header */
.service-simple-block {
  scroll-margin-top: 96px;
}

/* Illustrator service cards: PC 4 columns / tablet 2 columns / mobile 2 columns */
.service-image-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.service-image-card {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  line-height: 0;
  transition: transform .2s ease, filter .2s ease;
}
.service-image-card img {
  display: block;
  width: 100%;
  height: auto;
}
.service-image-card:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 10px 14px rgba(39,126,180,.14));
}
.service-image-card:focus-visible {
  outline: 3px solid #2f7dbd;
  outline-offset: 4px;
}
@media (max-width: 960px) {
  .service-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .service-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .service-image-card {
    border-radius: 12px;
  }
}


/* ===== Magoya 6 points with photos ===== */
.point-photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.point-photo-card {
  overflow: hidden;
  padding: 0 !important;
  border-top: 0 !important;
  border: 1px solid #d7edf7 !important;
  border-radius: 20px !important;
  background: #fff;
  box-shadow: 0 10px 24px rgba(39,126,180,.08);
}

.point-photo-card > img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #f7fbfd;
}

.point-photo-copy {
  padding: 22px 24px 26px;
}

.point-photo-copy span {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.point-photo-copy h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 22px;
  line-height: 1.45;
}

.point-photo-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

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

@media (max-width: 620px) {
  .point-photo-grid { grid-template-columns: 1fr; gap: 18px; }
  .point-photo-copy { padding: 18px 20px 22px; }
  .point-photo-copy h3 { font-size: 20px; }
  .point-photo-copy p { font-size: 13px; }
}



/* ===== About Magoya ===== */
.about-magoya {
  background: #fff;
}
.about-magoya-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}
.about-magoya-image {
  width: min(900px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #f7fbfd;
  box-shadow: var(--shadow);
}
.about-magoya-image img {
  width: 100%;
  height: auto;
  display: block;
}
.about-magoya-copy {
  min-width: 0;
}
.about-magoya-lead {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.55;
  font-weight: 900;
}
.about-magoya-copy p:not(.about-magoya-lead) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}
.about-area-list {
  margin: 22px 0 8px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #f7fcff;
  border: 1px solid var(--sky-line);
}
.about-area-list p {
  margin: 0 0 12px !important;
  color: var(--muted);
  font-size: 14px !important;
  line-height: 1.9 !important;
}
.about-area-list p:last-child { margin-bottom: 0 !important; }
.about-area-list strong {
  color: #149fd7;
  font-weight: 900;
}

.about-magoya-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.about-magoya-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--sky-line);
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 820px) {
  .about-magoya-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-magoya-image {
    width: min(680px, 100%);
    margin: 0 auto;
  }
}
@media (max-width: 620px) {
  .about-magoya-grid { gap: 20px; }
  .about-magoya-image { border-radius: 18px; }
  .about-magoya-lead { margin-bottom: 14px; font-size: 21px; }
  .about-magoya-copy p:not(.about-magoya-lead) { font-size: 13px; line-height: 1.85; }
  .about-magoya-tags { gap: 7px; margin-top: 18px; }
  .about-magoya-tags span { font-size: 12px; padding: 5px 10px; }
}

/* ===== Web coupon ===== */
.web-coupon {
  background: #f7fcff;
}
.web-coupon-title {
  margin-bottom: 26px;
}
.web-coupon-image-wrap {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}
.web-coupon-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}
.web-coupon-note {
  margin: 18px 0 0;
  text-align: center;
  color: #444;
  font-size: 16px;
  font-weight: 800;
}
@media (max-width: 640px) {
  .web-coupon-title { margin-bottom: 18px; }
  .web-coupon-image-wrap img { border-radius: 16px; }
  .web-coupon-note { margin-top: 12px; font-size: 13px; }
}

/* Kanto area visual banner */
.area-banner-section {
  padding-top: 18px;
  padding-bottom: 46px;
  background: #fff;
}
.area-banner-wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.area-banner-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
@media (max-width: 768px) {
  .area-banner-section {
    padding-top: 8px;
    padding-bottom: 28px;
  }
  .area-banner-wrap img {
    border-radius: 16px;
  }
}

/* ===== Responsive hero image: PC / smartphone ===== */
@media (max-width: 700px) {
  .hero-design-preview {
    aspect-ratio: 1080 / 1440;
    background-image: url("../images/magoya-hp-phone.png");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero-design-link {
    left: 17%;
    top: 86.5%;
    width: 66%;
    height: 10.5%;
    border-radius: 18px;
  }
}

/* ===== Bottom contact CTA ===== */
.bottom-contact-cta {
  padding: 54px 0;
  background: linear-gradient(135deg, #5bc0eb 0%, #2f9ed8 100%);
}
.bottom-contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.bottom-contact-cta-copy {
  color: #fff;
}
.bottom-contact-cta-copy .eyebrow {
  margin: 0 0 6px;
  color: rgba(255,255,255,.88);
  font-weight: 900;
  letter-spacing: .12em;
}
.bottom-contact-cta-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.25;
}
.bottom-contact-cta-copy p {
  margin: 0;
  line-height: 1.8;
  font-weight: 700;
}
.bottom-contact-meta {
  margin-top: 8px !important;
  font-size: 14px;
}
.bottom-contact-tel {
  flex: 0 0 auto;
  min-width: 380px;
  padding: 16px 30px 18px;
  border-radius: 22px;
  background: #f7931e;
  color: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  border: 3px solid rgba(255,255,255,.92);
}
.bottom-contact-tel span {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 900;
}
.bottom-contact-tel strong {
  display: block;
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: .02em;
}
.bottom-contact-tel:hover {
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .bottom-contact-cta {
    padding: 42px 0 46px;
  }
  .bottom-contact-cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    text-align: center;
  }
  .bottom-contact-tel {
    min-width: 0;
    width: 100%;
    padding: 16px 14px 18px;
    border-radius: 18px;
  }
  .bottom-contact-tel strong {
    font-size: clamp(27px, 8.5vw, 36px);
  }
}

/* ===== Works / blog ===== */
.works-latest-card {
  display: grid;
  grid-template-columns: 220px minmax(0,1fr);
  gap: 22px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--sky-line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(39,126,180,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.works-latest-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(39,126,180,.12); }
.works-latest-card > img { width:100%; height:150px; object-fit:cover; border-radius:14px; }
.works-latest-card time { display:inline-block; color:var(--green-dark); font-weight:900; font-size:13px; margin-right:8px; }
.works-category { display:inline-block; padding:3px 10px; border-radius:999px; color:var(--green-dark); background:var(--green-soft); font-size:12px; font-weight:800; }
.works-latest-card h3 { margin:7px 0 5px; line-height:1.5; }
.works-latest-card p { margin:0; color:var(--muted); }
.works-more-wrap { margin-top:24px; text-align:center; }
.works-more-btn { color:#fff; background:linear-gradient(135deg,#70c9ef,#42addd); box-shadow:0 8px 18px rgba(39,126,180,.18); }

.works-archive-head { padding-bottom:38px; background:linear-gradient(180deg,#f7fcff,#eef9fe); }
.works-archive-head .section-title h1 { margin:0; color:#fff; font-size:clamp(25px,3.4vw,34px); line-height:1.35; }
.works-archive-lead { max-width:760px; margin:0 auto 26px; text-align:center; color:var(--muted); }
.works-filter-row { display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap; }
.works-filter-row span { font-weight:900; color:var(--green-dark); }
.works-filter-row a { padding:7px 14px; border-radius:999px; background:#fff; border:1px solid var(--sky-line); color:var(--green-dark); font-weight:800; }
.works-archive { background:#fff; }
.works-month-title { margin:0 0 24px; padding-left:16px; border-left:7px solid var(--green); color:var(--green-dark); }
.works-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.works-card { overflow:hidden; border:1px solid var(--border); border-radius:20px; background:#fff; box-shadow:var(--shadow); transition:transform .2s ease; }
.works-card:hover { transform:translateY(-3px); }
.works-card > img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.works-card-body { padding:20px; }
.works-card-body time { color:var(--green-dark); font-weight:900; font-size:13px; }
.works-card-body span { display:inline-block; margin-left:8px; padding:2px 9px; border-radius:999px; background:var(--green-soft); color:var(--green-dark); font-weight:800; font-size:11px; }
.works-card-body h3 { margin:8px 0; line-height:1.5; }
.works-card-body p { margin:0; color:var(--muted); font-size:14px; }

.work-article { background:#fff; }
.work-article-head { padding:58px 0 42px; background:linear-gradient(180deg,#f7fcff,#eef9fe); border-bottom:1px solid #d8eef8; }
.work-article-head-inner { max-width:920px; }
.work-meta { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:13px; }
.work-meta time,.work-meta span { padding:5px 11px; border-radius:999px; font-size:12px; font-weight:900; color:var(--green-dark); background:#fff; border:1px solid #cae9f7; }
.work-article-head h1 { margin:0 0 16px; color:var(--text); font-size:clamp(28px,4vw,44px); line-height:1.45; }
.work-article-head p { margin:0; color:var(--muted); font-size:17px; }
.work-article-body { max-width:920px; padding-top:50px; padding-bottom:80px; }
.work-hero-photo { margin:0 0 54px; }
.work-hero-photo img { width:100%; max-height:620px; object-fit:cover; border-radius:22px; box-shadow:var(--shadow); }
.work-hero-photo figcaption { margin-top:8px; color:var(--muted); font-size:13px; text-align:center; }
.work-article-body section { margin:0 0 58px; }
.work-article-body section > h2 { margin:0 0 20px; padding:11px 18px; border-left:7px solid var(--green); background:#f1faff; color:var(--green-dark); font-size:clamp(23px,3vw,30px); line-height:1.45; }
.work-article-body p { margin:0 0 18px; }
.work-photo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:26px; }
.work-photo-grid img { width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:16px; border:1px solid var(--border); }
.after-grid { grid-template-columns:repeat(3,1fr); }
.work-step-list { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:24px 0; }
.work-step-list > div { padding:20px; border-radius:16px; background:#f7fcff; border:1px solid #d7edf7; }
.work-step-list strong { display:block; color:var(--green-dark); font-size:20px; margin-bottom:8px; }
.work-step-list p { margin:0; color:var(--muted); font-size:14px; }
.customer-voice { padding:26px; border-radius:20px; background:#fff9ef; border:1px solid #ffe0b6; }
.customer-voice > h2 { background:transparent !important; border-left-color:var(--orange) !important; color:#9a5a08 !important; padding-top:0 !important; }
.work-summary-box { padding:30px; border-radius:22px; background:linear-gradient(135deg,#eaf7fd,#f8fcff); border:1px solid #c8e9f7; }
.work-summary-box ul { padding-left:1.4em; margin:0 0 20px; }
.work-summary-box .btn { margin-top:6px; }
.work-back { padding-top:10px; border-top:1px solid var(--border); }
.work-back a { color:var(--green-dark); font-weight:900; }

@media (max-width: 760px) {
  .works-latest-card { grid-template-columns:1fr; gap:14px; }
  .works-latest-card > img { height:auto; aspect-ratio:16/10; }
  .works-grid { grid-template-columns:1fr; }
  .work-photo-grid,.after-grid,.work-step-list { grid-template-columns:1fr; }
  .work-article-head { padding:40px 0 30px; }
  .work-article-head p { font-size:15px; }
  .work-article-body { padding-top:34px; padding-bottom:70px; }
  .work-hero-photo { margin-bottom:40px; }
}


/* ===== Contact page ===== */
.contact-page-head{background:linear-gradient(180deg,#f7fcff,#eef9fe);padding-bottom:34px}.contact-page-head .section-title h1{margin:0;color:#fff;font-size:clamp(25px,3.4vw,34px)}.contact-lead{max-width:760px;margin:24px auto 0;text-align:center;color:var(--muted);line-height:1.9}.contact-page{background:#fff}.contact-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.8fr);gap:34px;align-items:start}.contact-form-card,.contact-side-box,.contact-side-note{background:#fff;border:1px solid #d7edf7;border-radius:22px;box-shadow:var(--shadow)}.contact-form-card{padding:34px}.form-row{margin:0 0 26px;border:0;padding:0}.form-row>label,.form-row>legend{display:block;margin-bottom:9px;font-weight:900;color:var(--text)}.required,.optional{display:inline-block;margin-left:7px;padding:2px 8px;border-radius:999px;font-size:11px}.required{background:#fff0df;color:#a95d00}.optional{background:#edf7fb;color:#5d7681}.contact-form input[type=text],.contact-form input[type=tel],.contact-form input[type=email],.contact-form textarea{width:100%;box-sizing:border-box;border:1px solid #c9dfe8;border-radius:12px;padding:14px 15px;font:inherit;background:#fbfeff;outline:none}.contact-form input:focus,.contact-form textarea:focus{border-color:#55b9e4;box-shadow:0 0 0 3px rgba(85,185,228,.12)}.check-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.check-grid label{display:flex;align-items:center;gap:7px;padding:11px 12px;background:#f5fbfe;border-radius:10px;font-weight:700}.privacy-check{display:flex;gap:9px;align-items:flex-start;margin:8px 0 22px;font-size:14px}.contact-submit{width:100%;border:0;border-radius:999px;padding:17px 24px;background:linear-gradient(135deg,#70c9ef,#42addd);color:#fff;font-size:17px;font-weight:900;cursor:pointer;box-shadow:0 8px 18px rgba(39,126,180,.18)}.form-note{text-align:center;color:var(--muted);font-size:13px}.hp-field{position:absolute!important;left:-9999px!important}.contact-side{display:grid;gap:20px;position:sticky;top:100px}.contact-side-box,.contact-side-note{padding:26px}.contact-side-box h2{margin:5px 0 8px}.contact-phone{display:block;margin-top:18px;padding:17px;border-radius:16px;text-align:center;background:#eaf8fd;border:1px solid #c7eaf7}.contact-phone small,.contact-phone strong{display:block}.contact-phone strong{font-size:25px;color:var(--green-dark)}.contact-side-note strong{color:var(--green-dark)}.contact-side-note p{margin-bottom:0;color:var(--muted)}.thanks-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(180deg,#f7fcff,#eaf7fd)}.thanks-card{max-width:650px;padding:48px 36px;text-align:center;background:#fff;border-radius:24px;box-shadow:var(--shadow)}.thanks-mark{width:64px;height:64px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;background:#e8f8ef;font-size:34px}.thanks-card h1{font-size:clamp(25px,4vw,34px)}.thanks-card p{color:var(--muted)}.thanks-card .btn{display:inline-block;margin-top:15px}.global-nav a[href="contact.html"]{font-weight:900}
@media(max-width:760px){.contact-layout{grid-template-columns:1fr}.contact-form-card{padding:22px 18px}.check-grid{grid-template-columns:1fr}.contact-side{position:static}.contact-page-head{padding-top:40px}.contact-lead br{display:none}}

/* ===== Contact page v2 additions ===== */
.form-guidance{margin:0 0 30px;padding:22px 24px;border-radius:18px;background:#eef9fe;border:1px solid #cceaf7}.form-guidance h2,.privacy-summary h2{margin:0 0 12px;color:var(--green-dark);font-size:20px}.form-guidance p{margin:0 0 10px;font-weight:800}.form-guidance ul{margin:0;padding-left:1.4em;color:var(--muted);line-height:1.85;font-size:14px}.form-guidance strong{color:var(--green-dark)}.field-note{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}.form-row>legend small{font-size:12px;color:var(--muted);font-weight:700}.check-grid-items{grid-template-columns:repeat(3,1fr)}.check-grid-layout{grid-template-columns:repeat(3,1fr)}.privacy-summary{margin:8px 0 18px;padding:22px 24px;border-radius:18px;background:#f8fcff;border:1px solid #d7edf7}.privacy-summary p{margin:0 0 10px;color:var(--muted);font-size:13px;line-height:1.9}.privacy-summary p:last-child{margin-bottom:0}
@media(max-width:900px){.check-grid-items,.check-grid-layout{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.form-guidance,.privacy-summary{padding:18px 16px}.form-guidance ul{font-size:13px}.check-grid-items,.check-grid-layout{grid-template-columns:1fr}}
