:root {
  --blue: #0659c9;
  --deep-blue: #003a97;
  --sky: #eaf8ff;
  --line: #bfe0fb;
  --text: #111827;
  --green: #2faf55;
  --shadow: 0 18px 50px rgba(0, 70, 155, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
  background:
    linear-gradient(180deg, rgba(227, 247, 255, 0.1), #fff 34%),
    #fff;
  overflow-x: hidden;
}

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

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

.ui-icon {
  --icon-size: 58px;
  display: inline-block;
  flex: 0 0 auto;
  width: var(--icon-size);
  height: var(--icon-size);
  background-image: var(--icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) saturate(100%) invert(27%) sepia(91%) saturate(2333%) hue-rotate(203deg) brightness(96%) contrast(101%);
}

.icon-phone { --icon-url: url("assets/icons/phone.svg"); }
.icon-mail { --icon-url: url("assets/icons/mail.svg"); }
.icon-broom { --icon-url: url("assets/icons/broom.svg"); }
.icon-flower { --icon-url: url("assets/icons/flower.svg"); }
.icon-camera { --icon-url: url("assets/icons/camera.svg"); }
.icon-clipboard { --icon-url: url("assets/icons/clipboard.svg"); }
.icon-home { --icon-url: url("assets/icons/home.svg"); }
.icon-person { --icon-url: url("assets/icons/person.svg"); }
.icon-sprout { --icon-url: url("assets/icons/sprout.svg"); }
.icon-group { --icon-url: url("assets/icons/group.svg"); }
.icon-heart-hands { --icon-url: url("assets/icons/heart-hands.svg"); }
.icon-grass { --icon-url: url("assets/icons/grass.svg"); }
.icon-incense { --icon-url: url("assets/icons/incense.svg"); }
.icon-map { --icon-url: url("assets/icons/map.svg"); }
.icon-person-heart { --icon-url: url("assets/icons/person-heart.svg"); }
.icon-calendar { --icon-url: url("assets/icons/calendar.svg"); }
.icon-report { --icon-url: url("assets/icons/report.svg"); }
.icon-arrow { --icon-url: url("assets/icons/arrow.svg"); }

.contact-card-mail .ui-icon,
.footer-contact .ui-icon {
  filter: brightness(0) invert(1);
}

.ui-icon.green {
  filter: brightness(0) saturate(100%) invert(53%) sepia(55%) saturate(693%) hue-rotate(83deg) brightness(89%) contrast(86%);
}

.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.2) 38%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.95) 100%),
    url("assets/hero-okinawa-grave.jpg") center top / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 62%, #fff 100%);
  pointer-events: none;
}

.hero-contact {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 390px);
  gap: 16px;
  justify-content: end;
  width: min(1390px, calc(100% - 72px));
  margin: 22px auto 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 112px;
  gap: 16px;
  border-radius: 9px;
  box-shadow: 0 4px 18px rgba(0, 62, 150, 0.25);
}

.contact-card-phone {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.contact-card-mail {
  color: #fff;
  background: linear-gradient(180deg, #0865d8, #0049ac);
  border: 2px solid rgba(255, 255, 255, 0.88);
}

.contact-card span,
.footer-mail span {
  display: grid;
  min-width: 0;
  text-align: center;
  line-height: 1.25;
}

.contact-card small {
  color: #111;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.contact-card strong {
  font-size: 38px;
  letter-spacing: 1px;
  overflow-wrap: anywhere;
}

.contact-card-mail strong {
  font-size: 23px;
  letter-spacing: 0;
  white-space: normal;
}

.contact-card em,
.footer-contact em {
  font-style: normal;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.contact-icon {
  --icon-size: 48px;
  width: 48px;
  height: 48px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1390px, calc(100% - 72px));
  margin: 0 auto;
}

.hero-copy {
  width: min(670px, 55vw);
  padding-top: 38px;
  color: #003b98;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.95);
}

.hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: clamp(48px, 4.8vw, 78px);
  line-height: 1.24;
  letter-spacing: 0;
  font-weight: 800;
}

.hero-lead {
  margin: 34px 0 0;
  font-size: clamp(23px, 2vw, 31px);
  line-height: 1.5;
}

.hero-sub {
  margin: 26px 0 0;
  color: #003178;
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.85;
}

.hero-services {
  position: absolute;
  z-index: 4;
  left: max(58px, calc((100% - 1390px) / 2 + 40px));
  bottom: 6px;
  display: grid;
  grid-template-columns: repeat(4, 168px);
  gap: 28px;
}

.round-service {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  color: #005ed7;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(197, 224, 250, 0.95);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(0, 72, 160, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.round-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 72, 160, 0.22);
}

.round-service .ui-icon {
  --icon-size: 56px;
  width: 56px;
  height: 56px;
  margin-top: 8px;
}

.round-service span {
  color: #101010;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.content-wrap {
  position: relative;
  z-index: 5;
  width: min(1350px, calc(100% - 72px));
  margin: 0 auto 0;
}

.panel {
  position: relative;
  margin: 14px 0;
  padding: 22px 32px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(0, 91, 191, 0.05);
}

.worry-panel {
  margin-top: -4px;
}

.worry-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.worry-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d7e6f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 76, 158, 0.07);
}

.worry-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.worry-card p {
  display: grid;
  align-content: center;
  min-height: 70px;
  margin: 0;
  padding: 10px 8px;
  color: var(--deep-blue);
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.55;
  text-align: center;
  overflow-wrap: anywhere;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin: 0 0 16px;
  color: var(--blue);
  text-align: center;
  font-size: clamp(24px, 2vw, 31px);
  line-height: 1.3;
  letter-spacing: 0;
}

.section-title::before,
.section-title::after {
  content: "";
  width: min(160px, 17vw);
  height: 10px;
  background: url("assets/decor/title-divider.svg") center / contain no-repeat;
}

.section-title::after {
  transform: scaleX(-1);
}

.section-title.compact {
  margin-bottom: 4px;
}

.icon-grid {
  display: grid;
  align-items: stretch;
}

.icon-grid.five {
  grid-template-columns: repeat(5, 1fr);
}

.icon-grid.six {
  grid-template-columns: repeat(6, 1fr);
}

.icon-item {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 98px;
  padding: 8px 16px 4px;
  text-align: center;
}

.icon-item + .icon-item {
  border-left: 1px solid #d7e6f4;
}

.icon-item .ui-icon {
  --icon-size: 52px;
  width: 52px;
  height: 52px;
  color: #0062dc;
}

.icon-item .green {
  color: var(--green);
}

.icon-item p {
  margin: 10px 0 0;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.service-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
  max-width: 100%;
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #d7e6f4;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 76, 158, 0.08);
}

.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 16px 16px 18px;
}

.service-card h3 {
  margin: 0 0 8px;
  color: var(--deep-blue);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.service-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.support-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.support-link-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #b9dcf7;
  border-radius: 8px;
  color: var(--deep-blue);
  background: #f8fcff;
  font-size: 14px;
  line-height: 1.35;
}

.text-link {
  color: var(--deep-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.plans-section {
  margin: 6px 0 16px;
}

.price-note {
  margin: 0 0 7px;
  color: #8b8b8b;
  text-align: center;
  font-size: 13px;
}

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

.price-card {
  overflow: hidden;
  min-height: 142px;
  text-align: center;
  background: #fff;
  border: 1px solid #aed4f4;
  border-radius: 7px;
  box-shadow: 0 5px 14px rgba(0, 70, 155, 0.07);
}

.price-card h3 {
  margin: 0;
  padding: 7px 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  background: linear-gradient(180deg, #075fcd, #0047a9);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 9px 0 6px;
  color: #111;
  font-size: 19px;
  line-height: 1;
}

.price span {
  color: var(--blue);
  font-size: 17px;
}

.price strong {
  font-size: clamp(30px, 2.55vw, 39px);
  letter-spacing: 0;
}

.price-card > p:not(.price) {
  margin: 0;
  padding: 0 10px 14px;
  font-size: 15px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.payment-panel {
  margin: 16px 0 16px;
  padding-top: 18px;
}

.payment-lead {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
  border: 1px solid #cbe3f8;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 83, 180, 0.07);
}

.payment-lead .ui-icon {
  justify-self: center;
  --icon-size: 50px;
  width: 58px;
  height: 58px;
  color: #0062dc;
}

.payment-lead h3 {
  margin: 0 0 5px;
  color: var(--deep-blue);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.35;
}

.payment-lead p {
  margin: 0;
  color: #244663;
  font-size: clamp(14px, 1.08vw, 17px);
  line-height: 1.75;
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.payment-steps article {
  position: relative;
  min-height: 116px;
  padding: 17px 16px 14px 54px;
  background: #fff;
  border: 1px solid #d7e6f4;
  border-radius: 8px;
  box-shadow: 0 5px 14px rgba(0, 70, 155, 0.06);
}

.payment-steps b {
  position: absolute;
  top: 18px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  background: linear-gradient(180deg, #1478ff, #004fb8);
  border-radius: 999px;
}

.payment-steps h3 {
  margin: 0 0 6px;
  color: var(--deep-blue);
  font-size: 17px;
  line-height: 1.35;
}

.payment-steps p {
  margin: 0;
  color: #263f58;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.seo-text-panel {
  padding-top: 18px;
}

.seo-text-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-text-grid p {
  margin: 0;
  color: #244663;
  font-size: clamp(14px, 1.08vw, 17px);
  line-height: 1.85;
}

.seo-text-grid strong {
  color: var(--deep-blue);
}

.local-panel {
  padding-top: 18px;
}

.local-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.local-columns > div + div {
  padding-left: 28px;
  border-left: 1px solid #d7e6f4;
}

.local-columns h3 {
  margin: 0 0 10px;
  color: var(--deep-blue);
  font-size: 19px;
  line-height: 1.45;
}

.local-columns p {
  margin: 0;
  color: #244663;
  font-size: 15px;
  line-height: 1.85;
}

.local-columns p + p {
  margin-top: 10px;
}

.area-line {
  color: #0659c9;
  font-weight: 700;
}

.area-more-link,
.area-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 10px 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  background: linear-gradient(180deg, #1478ff, #004fb8);
  border-radius: 7px;
  box-shadow: 0 8px 17px rgba(0, 83, 180, 0.18);
}

.local-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #244663;
  font-size: 15px;
  line-height: 1.75;
  list-style: none;
}

.local-list li {
  position: relative;
  padding-left: 20px;
}

.local-list li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 8px;
  height: 8px;
  background: #1484ff;
  border-radius: 50%;
  content: "";
}

.reason-panel {
  overflow: hidden;
  padding-top: 18px;
}

.reason-panel .section-title {
  position: relative;
  z-index: 2;
}

.reason-panel .icon-grid {
  position: relative;
  z-index: 2;
}

.flower-corner {
  position: absolute;
  z-index: 0;
  top: 4px;
  width: 108px;
  height: 78px;
  border-radius: 8px;
  opacity: 0.82;
  filter: saturate(1.05);
  pointer-events: none;
}

.flower-left {
  left: 2px;
  background: url("assets/decor/flower-left.svg") center / contain no-repeat;
}

.flower-right {
  right: 4px;
  background: url("assets/decor/flower-right.svg") center / contain no-repeat;
}

.flow-panel {
  margin-top: 14px;
}

.flow-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: stretch;
  gap: 10px;
}

.flow-step {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: center;
  min-width: 0;
  min-height: 252px;
  padding: 9px 9px 14px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border: 1px solid #d7e6f4;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 83, 180, 0.08);
  overflow: hidden;
}

.flow-step + .flow-step {
  border-left: 1px solid #d7e6f4;
}

.flow-step b {
  position: absolute;
  top: 12px;
  left: 13px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  background: linear-gradient(180deg, #1478ff, #004fb8);
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 4px 8px rgba(0, 72, 168, 0.2);
}

.flow-step img {
  display: block;
  justify-self: center;
  width: 100%;
  aspect-ratio: 640 / 420;
  object-fit: cover;
  margin-bottom: 10px;
  border-radius: 8px;
}

.flow-step h3 {
  width: 100%;
  margin: 0 0 6px;
  color: var(--deep-blue);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
}

.flow-step p {
  width: 100%;
  max-width: 17em;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: normal;
}

.flow-arrow {
  align-self: center;
  --icon-size: 28px;
  width: 28px;
  height: 28px;
  color: #0062dc;
}

.faq-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 14px 0 14px;
}

.faq-block {
  min-width: 0;
}

.faq-list {
  display: grid;
  gap: 7px;
}

details {
  background: #fff;
  border: 1px solid #d9e7f4;
  border-radius: 7px;
  box-shadow: 0 4px 13px rgba(0, 70, 155, 0.05);
}

summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 52px 8px 14px;
  color: #242424;
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  overflow-wrap: anywhere;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #fff;
  font-size: 14px;
  background: var(--blue);
  border-radius: 5px;
}

summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  color: var(--blue);
  font-size: 27px;
  line-height: 1;
  transform: translateY(-54%);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 18px 16px 50px;
  color: #35506c;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.7;
}

.contact-form-panel {
  margin-bottom: 18px;
  padding-bottom: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--deep-blue);
  font-size: 15px;
  line-height: 1.3;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #c5e1f8;
  border-radius: 7px;
  padding: 12px 13px;
  color: #111827;
  font: 700 16px/1.45 "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  background: #fff;
  box-shadow: inset 0 1px 3px rgba(0, 70, 155, 0.05);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(0, 102, 220, 0.16);
  border-color: #0062dc;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  padding-top: 2px;
}

.form-actions a,
.form-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border-radius: 8px;
  font: 800 18px/1.2 "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.form-phone {
  min-width: 245px;
  padding: 10px 20px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #b8dcf8;
}

.form-actions button {
  min-width: 260px;
  padding: 10px 24px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(180deg, #0865d8, #0049ac);
  border: 2px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 73, 172, 0.22);
}

.form-actions button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-actions .ui-icon {
  --icon-size: 28px;
  width: 28px;
  height: 28px;
}

.form-actions button .ui-icon {
  filter: brightness(0) invert(1);
}

.form-privacy {
  margin: -4px 0 0;
  color: #35506c;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
}

.form-privacy a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

.form-status strong {
  font-size: 17px;
}

.form-status-success {
  color: #075728;
  background: #ecfff4;
  border: 1px solid #9ee6ba;
}

.form-status-error {
  color: #8a1a1a;
  background: #fff2f2;
  border: 1px solid #f2b6b6;
}

.image-cta {
  min-height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 32px 38px;
  border-radius: 10px;
  border: 1px solid #c5e1f8;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 52%, rgba(255, 255, 255, 0.08) 100%),
    url("assets/cta-okinawa-flowers.jpg") center / cover no-repeat;
  box-shadow: 0 12px 30px rgba(0, 70, 155, 0.11);
}

.image-cta h2 {
  margin: 0 0 22px;
  color: var(--blue);
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.45;
}

.image-cta p {
  margin: 0;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.5;
}

.footer-contact {
  position: relative;
  overflow: hidden;
  padding: 12px 0 14px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 61, 163, 0.92), rgba(0, 108, 207, 0.95), rgba(0, 61, 163, 0.92)),
    url("assets/cta-okinawa-flowers.jpg") center 82% / cover no-repeat;
}

.footer-contact::before,
.footer-contact::after {
  content: "";
  position: absolute;
  bottom: -34px;
  width: 265px;
  height: 158px;
  background: url("assets/cta-okinawa-flowers.jpg") bottom left / 620px auto no-repeat;
  opacity: 0.96;
}

.footer-contact::before {
  left: -20px;
}

.footer-contact::after {
  right: -20px;
  transform: scaleX(-1);
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(340px, 520px);
  gap: 28px;
  align-items: center;
  justify-content: center;
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-phone,
.footer-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 17px;
}

.footer-phone .ui-icon,
.footer-mail .ui-icon {
  --icon-size: 58px;
  width: 58px;
  height: 58px;
}

.footer-phone small {
  font-size: 15px;
}

.footer-phone strong {
  font-size: 38px;
  letter-spacing: 1px;
}

.footer-mail {
  min-height: 76px;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  background: rgba(0, 67, 167, 0.55);
}

.footer-mail strong {
  font-size: 23px;
}

.legal-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  width: min(1120px, calc(100% - 32px));
  margin: 14px auto 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
}

.legal-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.area-page {
  min-height: 100vh;
  color: #172a42;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.98) 320px),
    url("assets/hero-okinawa-grave.jpg") center top / cover no-repeat fixed;
}

.area-hero,
.area-main {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.area-hero {
  display: grid;
  align-items: end;
  min-height: 430px;
  padding: 32px 0 44px;
}

.area-hero > div {
  max-width: 760px;
}

.area-eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.area-hero h1 {
  margin: 0 0 16px;
  color: var(--deep-blue);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.22;
}

.area-hero p {
  max-width: 720px;
  margin: 0;
  color: #173b61;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.8;
}

.area-main {
  display: grid;
  gap: 24px;
  padding: 0 0 56px;
}

.area-card-grid,
.area-detail-grid {
  display: grid;
  gap: 18px;
}

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

.area-card-grid article,
.area-detail-grid section,
.area-note {
  padding: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7e6f4;
  border-radius: 9px;
  box-shadow: 0 10px 25px rgba(0, 70, 155, 0.08);
}

.area-card-grid h3,
.area-detail-grid h2,
.area-note h2 {
  margin: 0 0 10px;
  color: var(--deep-blue);
  font-size: 21px;
  line-height: 1.45;
}

.area-card-grid p,
.area-note p {
  margin: 0;
  color: #244663;
  font-size: 15px;
  line-height: 1.85;
}

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

.area-note {
  text-align: center;
}

.area-note p {
  max-width: 760px;
  margin: 0 auto;
}

.policy-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(240, 249, 255, 0.95), rgba(255, 255, 255, 0.98)),
    url("assets/hero-okinawa-grave.jpg") center top / cover fixed no-repeat;
}

.policy-main {
  width: calc(100% - 28px);
  max-width: 980px;
  margin: 0 auto;
  padding: 34px 0 46px;
}

.policy-back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 14px;
  padding: 8px 14px;
  color: var(--blue);
  font-weight: 800;
  background: #fff;
  border: 1px solid #cbe3f8;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 70, 155, 0.08);
}

.policy-document {
  width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  padding: 30px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #cbe3f8;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 70, 155, 0.12);
}

.policy-document h1 {
  margin: 0 0 22px;
  color: var(--deep-blue);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.35;
}

.policy-document h2 {
  margin: 26px 0 10px;
  color: var(--deep-blue);
  font-size: 22px;
  line-height: 1.4;
}

.policy-document p {
  margin: 0 0 18px;
  color: #244663;
  font-size: 15px;
  line-height: 1.85;
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  overflow-wrap: anywhere;
}

.policy-table th,
.policy-table td {
  padding: 14px 16px;
  vertical-align: top;
  border: 1px solid #d7e6f4;
}

.policy-table th {
  width: 28%;
  color: var(--deep-blue);
  text-align: left;
  background: #f2f9ff;
}

.policy-table td {
  color: #263f58;
  background: #fff;
}

.policy-note {
  margin-top: 18px;
}

@media (max-width: 1120px) {
  .hero {
    min-height: 820px;
    background-position: 56% top;
  }

  .hero-contact {
    grid-template-columns: minmax(0, 390px);
    width: min(940px, calc(100% - 36px));
  }

  .contact-card strong {
    font-size: 30px;
  }

  .contact-card-mail strong {
    font-size: 19px;
  }

  .hero-inner,
  .content-wrap {
    width: min(940px, calc(100% - 36px));
  }

  .hero-copy {
    width: min(620px, 62%);
  }

  .hero-services {
    left: 28px;
    bottom: 10px;
    grid-template-columns: repeat(4, 140px);
    gap: 18px;
  }

  .round-service {
    width: 140px;
    height: 140px;
  }

  .round-service .ui-icon {
    --icon-size: 46px;
    width: 46px;
    height: 46px;
  }

  .icon-grid.six {
    grid-template-columns: repeat(3, 1fr);
  }

  .icon-grid.six .icon-item:nth-child(4) {
    border-left: 0;
  }

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

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

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

  .payment-steps {
    grid-template-columns: 1fr;
  }

  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    justify-self: center;
    transform: rotate(90deg);
  }

  .flow-step {
    min-height: auto;
    padding: 12px 12px 20px;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: auto;
    padding-bottom: 32px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.52) 42%, rgba(255, 255, 255, 0.92) 100%),
    url("assets/hero-okinawa-grave.jpg") 64% top / cover no-repeat;
  }

  .hero-contact {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .contact-card {
    min-height: 82px;
    gap: 10px;
  }

  .contact-icon {
    --icon-size: 36px;
    width: 36px;
    height: 36px;
  }

  .contact-card small {
    font-size: 12px;
  }

  .contact-card strong {
    font-size: 27px;
  }

  .contact-card-mail strong {
    font-size: 18px;
  }

  .contact-card em {
    font-size: 12px;
  }

  .hero-inner,
  .content-wrap {
    width: calc(100% - 24px);
  }

  .hero-copy {
    width: 100%;
    padding-top: 32px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 22px;
  }

  .hero-sub {
    margin-top: 16px;
    font-size: 17px;
  }

  .hero-services {
    position: relative;
    left: auto;
    bottom: auto;
    width: calc(100% - 24px);
    margin: 250px auto 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .round-service {
    width: 100%;
    height: auto;
    min-height: 126px;
    border-radius: 12px;
  }

  .panel {
    margin: 18px 0;
    padding: 24px 12px 18px;
    border-radius: 9px;
  }

  .reason-panel {
    padding-top: 54px;
  }

  .reason-panel .section-title {
    margin-bottom: 16px;
  }

  .flower-corner {
    top: 8px;
    width: 74px;
    height: 54px;
    opacity: 0.78;
  }

  .seo-text-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .local-columns {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .local-columns > div + div {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid #d7e6f4;
    border-left: 0;
  }

  .area-page {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.91), rgba(255, 255, 255, 0.98) 260px),
      url("assets/hero-okinawa-grave.jpg") center top / auto 330px no-repeat;
  }

  .area-hero,
  .area-main {
    width: min(100% - 28px, 980px);
  }

  .area-hero {
    min-height: 360px;
    padding: 22px 0 30px;
  }

  .area-card-grid,
  .area-detail-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    gap: 10px;
    margin-bottom: 18px;
    font-size: 22px;
  }

  .worry-panel .section-title {
    gap: 6px;
    font-size: 20px;
    white-space: nowrap;
  }

  .section-title::before,
  .section-title::after {
    width: 42px;
  }

  .worry-panel .section-title::before,
  .worry-panel .section-title::after {
    width: 24px;
  }

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

  .icon-item {
    min-height: 112px;
    padding: 8px;
  }

  .icon-item:nth-child(odd) {
    border-left: 0;
  }

  .icon-item p {
    font-size: 14px;
  }

  .worry-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 330px);
    max-width: 100%;
    margin: 0 auto;
    gap: 8px;
  }

  .worry-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    min-height: 0;
  }

  .worry-card img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .worry-card p {
    min-height: 58px;
    padding: 8px 6px;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
  }

  .service-photo-grid {
    grid-template-columns: 1fr;
    width: calc(100vw - 52px);
    max-width: 100%;
    margin: 0 auto;
    gap: 10px;
  }

  .service-card {
    grid-template-columns: 38% minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 132px;
  }

  .service-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .service-card div {
    align-self: center;
    padding: 10px 11px;
  }

  .service-card h3 {
    margin-bottom: 5px;
    font-size: 15px;
  }

  .service-card p {
    font-size: 12px;
    line-height: 1.65;
  }

  .support-link-row {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 330px);
    margin: 14px auto 0;
    gap: 8px;
  }

  .support-link-row a {
    min-height: 40px;
    font-size: 13px;
  }

  .price-grid,
  .faq-cta-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-lead {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    padding: 16px 14px;
    text-align: center;
  }

  .payment-steps article {
    min-height: 0;
    padding: 15px 14px 14px 52px;
  }

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

  .price-card {
    min-height: auto;
  }

  .image-cta {
    min-height: 240px;
    padding: 30px 22px;
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.46)),
      url("assets/cta-okinawa-flowers.jpg") 58% center / cover no-repeat;
  }

  .footer-inner {
    width: calc(100% - 24px);
    gap: 12px;
  }

  .form-actions a,
  .form-actions button {
    width: 100%;
    min-width: 0;
  }

  .footer-phone strong {
    font-size: 32px;
  }

  .footer-phone .ui-icon,
  .footer-mail .ui-icon {
    --icon-size: 44px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .policy-main {
    width: 360px;
    max-width: calc(100% - 20px);
    margin-right: 10px;
    margin-left: 10px;
    padding: 20px 0 34px;
  }

  .policy-document {
    padding: 20px 14px;
  }

  .policy-table,
  .policy-table tbody,
  .policy-table tr,
  .policy-table th,
  .policy-table td {
    display: block;
    width: 100%;
  }

  .policy-table tr {
    border: 1px solid #d7e6f4;
  }

  .policy-table tr + tr {
    border-top: 0;
  }

  .policy-table th,
  .policy-table td {
    border: 0;
  }

  .policy-table th {
    padding-bottom: 6px;
  }

  .policy-table td {
    padding-top: 6px;
  }
}
