/* ==================================================
  Base
================================================== */
:root {
  --color-text: #3f3a35;
  --color-muted: #786f67;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f2ec;
  --color-bg-pale: #fbf8f3;
  --color-green: #4f9367;
  --color-green-dark: #24573a;
  --color-orange: #c77a4e;
  --color-border: #e8ded3;
  --container: 980px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: var(--color-bg);
}

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

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

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

h2 {
  margin-bottom: 24px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
  text-align: center;
}

h3 {
  line-height: 1.6;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ==================================================
  Layout Common
================================================== */
.section-inner {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
  padding: 84px 0;
}

.section-inner-narrow {
  width: min(calc(100% - 40px), 760px);
}

.section-lead {
  margin-bottom: 32px;
  text-align: center;
  font-weight: 700;
}

.section-label {
  margin-bottom: 14px;
  color: var(--color-green);
  font-size: 14px;
  font-weight: 700;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 4px;
  color: #ffffff;
  font-weight: 700;
  background: var(--color-orange);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.primary-button:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

/* ==================================================
  Header
================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #f0ebe5;
}

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

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.nav-tel {
  color: var(--color-green-dark);
}

.nav-button {
  padding: 8px 14px;
  border-radius: 4px;
  color: #ffffff;
  background: var(--color-orange);
}

/* ==================================================
  Hero
================================================== */
.hero {
  background: var(--color-bg-soft);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.0fr 1.0fr;
  gap: 10px;
  align-items: stretch;
  width: min(calc(100% - 40px), var(--container));
  min-height: 720px;
  margin: 0 auto;
  padding: 56px 0;
}

.hero-copy h1 {
  margin-bottom: 50px;
  font-size: clamp(34px, 4vw, 40px);
  line-height: 1.45;
  letter-spacing: 0;
}

.hero-message {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-bottom: 32px;
}

.hero-copy p {
  margin: 0;
  color: var(--color-muted);
  font-weight: 700;
}

.hero-copy {
  color: var(--color-text);
}

.hero-lead {
  margin-bottom: 28px;
}

.hero-description {
  margin-bottom: 28px;
}

.hero-description:last-of-type {
  margin-bottom: 60px;
}

.hero-action{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.hero-notes {
  display: grid;
  width:fit-content;
  gap: 8px;
  margin-top: 48px;
  font-size: 13px;
  font-weight: 700;
}

.hero-notes li {
  margin-bottom: 12px;
}

.hero-image {
  min-height: auto;
  height:auto;
  border-radius: 2px;
  background-image: url("./images/hero.jpg");
  background-size: cover;
  background-position: 10% center;
}

/* ==================================================
  Worries
================================================== */
.worries {
  background: #ffffff;
}

.worry-list {
  display: grid;
  gap: 12px;
  margin: 34px auto 64px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(232, 222, 211, 0.8);
}

.worry-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 16px 24px;
  font-weight: 700;
  background: var(--color-bg-pale);
}

.worry-list li::before {
  position: static;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  content: "✔︎";
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
  border-radius: 50%;

  flex-shrink: 0;
}

.worry-list li span {
  width: 420px;
  text-align: left;
}

.small-message {
  color: var(--color-green);
  font-weight: 700;
  text-align: center;
}

/* ==================================================
  Reason
================================================== */
.reason {
  background: var(--color-bg-soft);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.reason-card {
  min-height: 280px;
  padding: 40px 30px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.reason-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.reason-header h3 {
  margin: 0;
}

.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  background: #88b99a;
  border-radius: 50%;
  flex-shrink: 0;
}

.reason-card h3 {
  margin-bottom: 24px;
  font-size: 17px;
}

.reason-card p {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 2.1;
}

/* ==================================================
  Works
================================================== */
.works {
  background: #ffffff;
}

.works .section-inner-narrow {
  width: min(calc(100% - 40px), 920px);
}

.work-card {
  margin-top: 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(63, 58, 53, 0.06);
}

.work-title {
  margin: 0;
  padding: 10px 36px;
  font-size: 18px;
  line-height: 1.5;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px 30px 18px;
}

.before-after-label {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  color: #44403b;
  font-weight: 700;
  background: #d7d7d7;
  border-radius: 12px;
}

.work-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 0 30px 30px;
}

.work-data {
  display: grid;
  gap: 18px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.work-data div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
}

.work-data dt {
  font-weight: 700;
}

.work-data dd {
  margin: 0;
  color: var(--color-muted);
}

.work-result {
  display: grid;
  gap: 18px;
}

.work-comment {
  margin: 0;
  padding: 24px 26px;
  color: var(--color-text);
  line-height: 1.9;
  font-weight: 700;
  background: var(--color-bg-pale);
  border-left: 3px solid var(--color-green);
  border-radius: 10px;
}

/* ==================================================
  Voices
================================================== */
.voices {
  background: var(--color-bg-soft);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.voice-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 34px 30px 28px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.voice-quote {
  display: block;
  margin-bottom: 22px;
  color: var(--color-green);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.voice-card p {
  min-height: auto;
  margin-bottom: 24px;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 2.25;
}

.voice-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.voice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fffaf4;
  border-radius: 50%;
}

.voice-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.voice-profile span:last-child {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

/* ==================================================
  Price
================================================== */
.price {
  background: #ffffff;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  align-items: stretch;
  margin-top: 34px;
}

.price-card {
  overflow: hidden;
  padding: 0 0 32px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
}

.price-card-featured {
  border-color: var(--color-green);
  border-width: 2px;
}

.price-card-head {
  min-height: 122px;
  padding: 28px 22px 24px;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.price-card-featured .price-card-head {
  color: #ffffff;
  background: var(--color-green);
  border-bottom-color: var(--color-green);
}

.price-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.price-badge {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.price-sub {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 700;
}

.price-card-featured .price-sub {
  color: #e5f0e9;
}

.price-value {
  margin: 34px 0 8px;
  color: var(--color-green);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
}

.price-period {
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 700;
}

.price-period::after {
  display: block;
  width: 172px;
  height: 1px;
  margin: 28px auto 0;
  background: var(--color-border);
  content: "";
}

.price-card ul {
  display: grid;
  gap: 16px;
  width: fit-content;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.price-card li::before {
  margin-right: 8px;
  color: var(--color-green);
  content: "✓";
}


.note {
  margin: 34px 0 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.price-message {
  margin: 26px 0 0;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

/* ==================================================
  Steps
================================================== */
.steps {
  background: var(--color-bg-soft);
}

.step-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 56px;
  margin-top: 82px;
}

.step-list::before {
  position: absolute;
  top: -42px;
  left: 9%;
  right: 9%;
  height: 2px;
  background: #9fc7a6;
  content: "";
}

.step-list li {
  position: relative;
  min-height: 272px;
  padding: 34px 26px 30px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.step-number {
  position: absolute;
  top: -69px;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  background: var(--color-green);
  border-radius: 50%;
  transform: translateX(-50%);
}

.step-number small {
  margin-bottom: 3px;
  font-size: 9px;
  letter-spacing: 0.04em;
}

.step-list li:last-child .step-number {
  background: var(--color-orange);
}

.step-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-orange);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height:56px;
  margin-bottom: 24px;
}

.step-list h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.step-list p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 2.15;
}

/* ==================================================
  Contact
================================================== */
.contact {
  color: #ffffff;
  background: var(--color-green);
}

.contact .section-inner {
  padding: 72px 0;
  text-align: center;
}

.contact h2 {
  margin-bottom: 38px;
  color: #ffffff;
  font-size: 42px;
}

.contact p {
  color: #eef6f0;
  font-weight: 700;
}

.contact-lead {
  width: min(100%, 460px);
  margin: 0 auto;
  line-height: 2;
  text-align: left;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 44px;
  margin: 42px 0 56px;
  font-size: 13px;
  font-weight: 700;
}

.contact-points li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-check-icon,
.contact-tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.primary-button-light {
  background: var(--color-orange);
}

.contact .primary-button {
  display: flex;
  width: fit-content;
  margin: 50px auto 30px;
}

.contact-tel {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  margin: 42px 0 0;
  font-size: 13px;
  text-align: left;
}

.contact-tel-icon {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  flex-shrink: 0;
}
/* ==================================================
  Footer
================================================== */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  color: #cbd8ce;
  font-weight: 700;
  background: var(--color-green-dark);
}

/* ==================================================
  Responsive
================================================== */
@media (max-width: 820px) {
  .header-inner {
    height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .header-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "copy";
    min-height: auto;
    gap: 28px;
    padding: 48px 0;
  }

  .hero-image {
    grid-area: image;
    min-height: 300px;
  }

  .hero-copy {
    grid-area: copy;
  }
  .reason-grid,
  .voice-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .before-after,
  .work-data,
  .step-list {
    grid-template-columns: 1fr;
  }

  .step-list {
    gap: 42px;
  }

  .step-list li::before {
    display: none;
  }
}

@media (max-width: 560px) {
  .section-inner,
  .section-inner-narrow,
  .header-inner,
  .hero-inner {
    width: min(calc(100% - 28px), var(--container));
  }

  .section-inner {
    padding: 64px 0;
  }

  .header-inner {
    display: block;
  }

  .logo {
    display: inline-block;
    margin-bottom: 10px;
  }

  .header-nav {
    justify-content: flex-start;
    font-size: 12px;
  }

  .nav-tel {
    display: none;
  }

  .hero-copy h1 {
    font-size: 31px;
  }

  .work-data div {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-points{
    display: grid;
    gap: 10px;
  }

  .worry-list li {
    justify-content: flex-start;
    padding: 14px 16px;
    gap: 10px;
  }

  .worry-list li span {
    width: auto;
    max-width: 100%;
  }

  .reason-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .reason-card h3 {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
  }

  .reason-icon {
    width: 64px;
    height: 64px;
  }

  .reason-card {
    padding: 40px 28px;
  }
  
  
   .step-list {
    gap: 82px;
    margin-top: 82px;
  }

  .step-list::before {
    display: none;
  }

  .step-list li {
    min-height: auto;
    padding: 30px 26px 30px;
  }

  .step-header {
  margin-bottom: 18px;
}

  .step-number {
    position: absolute;
    top: -67px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
  }

  .contact-tel {
  width: fit-content;
  max-width: 100%;
  margin: 42px auto 0;
}

.site-footer {
    padding: 20px 16px;
  }
}
