* {
  box-sizing: border-box;
}

:root {
  --base: #fff8ed;
  --green: #c1d09f;
  --green-dark: #788258;
  --green-text: #99a66c;
  --pink: #e9b9b4;
  --coral: #e7958c;
  --ink: #151515;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
}

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

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

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

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

.hero {
  position: relative;
  min-height: clamp(430px, 33.4vw, 640px);
  overflow: hidden;
}

.hero-device {
  position: absolute;
  top: clamp(0px, 0.7vw, 14px);
  right: 0;
  width: min(65.5vw, 1258px);
  height: auto;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.hero-device-sp,
.hero-panel-sp-img {
  display: none;
}

.hero-panel {
  position: absolute;
  top: clamp(64px, 5vw, 96px);
  left: clamp(-55px, -2.86vw, -24px);
  width: min(50vw, 960px);
  height: min(20.66vw, 397px);
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  z-index: 1;
}

.hero-panel::after {
  content: none;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: min(66vw, 780px);
  padding: clamp(130px, 9.4vw, 180px) 0 0 clamp(32px, 5.6vw, 108px);
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.35vw, 64px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.intro {
  position: relative;
  padding: 64px 0 110px;
  text-align: center;
  overflow: hidden;
}

.intro-ornament {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.intro-ornament-left {
  left: clamp(52px, 4vw, 78px);
  top: 116px;
  width: clamp(210px, 22vw, 422px);
}

.intro-ornament-right {
  right: clamp(36px, 2.4vw, 46px);
  top: 168px;
  width: clamp(220px, 23vw, 442px);
}

.intro .container,
.hero-line {
  position: relative;
  z-index: 1;
}

.hero-line {
  width: min(58.23vw, 1118px);
  height: 2px;
  margin: 0 auto 34px;
}

.intro p {
  margin: 0 auto 34px;
  font-size: 24px;
  line-height: 1.65;
}

.tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 80px;
}

.tags span {
  min-height: 36px;
  padding: 2px 12px;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: #fff;
  font-size: 20px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 112px;
}

.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 311px;
  min-height: 61px;
  padding: 0 46px 0 54px;
  border-radius: 50px;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.button span {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.button::after {
  content: "";
  position: relative;
  z-index: 2;
  width: 11px;
  height: 19px;
  background: url("./assets/button-arrow.png") center / contain no-repeat;
  transition: transform 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%);
  transition:
    width 420ms ease,
    height 420ms ease,
    opacity 420ms ease;
  opacity: 0;
}

.button:hover,
.button:focus-visible,
.button.is-active {
  transform: translateY(-3px);
  box-shadow: 0 9px 14px rgba(120, 130, 88, 0.28);
  filter: saturate(1.05);
}

.button:hover::after,
.button:focus-visible::after,
.button.is-active::after {
  transform: translate(8px, -1px);
}

.button.is-active::before {
  width: 340px;
  height: 340px;
  opacity: 1;
}

.button.muted {
  background: var(--pink);
}

.button.primary {
  background: var(--coral);
}

.problems {
  position: relative;
  min-height: 716px;
  padding: 82px 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.problem-bg {
  position: absolute;
  inset: 0;
  background: url("./assets/problem-bg.jpg") center / cover;
  opacity: 0.6;
}

.problem-card {
  position: relative;
  width: min(1097px, 100%);
  min-height: 546px;
  padding: 58px 72px;
  border-radius: 15px;
  background: #fff;
}

.problem-card h2,
.section-title h2 {
  position: relative;
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
}

.problem-card h2 span {
  position: relative;
  display: inline-block;
  margin: 0 4px;
  color: var(--green-dark);
  font-size: 36px;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 99px;
  height: 4px;
  margin: 14px auto 62px;
  background: #daeab6;
}

.problem-card h2 {
  margin-bottom: 72px;
}

.problem-card h2 span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 99px;
  height: 4px;
  background: #daeab6;
  transform: translateX(-50%);
}

.problem-card ul {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  transform: translateX(126px);
}

.problem-card li {
  position: relative;
  margin: 0 0 23px;
  padding-left: 48px;
  font-size: 20px;
}

.problem-card li:nth-child(4),
.problem-card li:last-child {
  white-space: nowrap;
}

.problem-card li::before {
  content: "✓";
  position: absolute;
  top: -2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 3px solid var(--green-dark);
  border-radius: 999px;
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1;
}

.section {
  padding: 104px 0;
}

.services {
  position: relative;
  overflow: hidden;
}

.section-title {
  margin-bottom: 56px;
}

.section-title p {
  margin: 0 0 8px;
  color: var(--green-text);
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}

.section-title h2::after {
  margin-bottom: 0;
}

.service-title {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 58px;
}

.service-title img {
  width: 240px;
}

.service-orb {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  opacity: 0.9;
}

.services .container {
  position: relative;
  z-index: 1;
}

.service-orb-left {
  left: -28px;
  top: 360px;
  width: 310px;
}

.service-orb-right {
  right: -26px;
  top: 130px;
  width: 330px;
}

.service-orb-left-2 {
  left: -70px;
  top: 1180px;
  width: 285px;
}

.service-orb-right-2 {
  right: -86px;
  top: 980px;
  width: 305px;
}

.service-orb-left-3 {
  left: -92px;
  top: 1880px;
  width: 330px;
}

.service-orb-right-3 {
  right: -52px;
  top: 1730px;
  width: 275px;
}

.service-list {
  display: grid;
  gap: 44px;
}

.service-list article {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  min-height: 178px;
  padding: 46px 32px 28px;
  border: 1px solid #b1cd71;
  border-radius: 20px;
  background: #fff;
  overflow: visible;
}

.menu-number {
  position: absolute;
  top: -18px;
  right: 28px;
  width: 184px;
  opacity: 0.5;
  pointer-events: none;
}

.service-list article:nth-child(even) .menu-number {
  left: 30px;
  right: auto;
}

.service-leaf {
  position: absolute;
  width: 168px;
  pointer-events: none;
}

.service-leaf-left {
  left: 12px;
  top: -68px;
}

.service-leaf-right {
  right: 12px;
  top: -68px;
}

.for {
  position: relative;
  display: inline-block;
  margin: 0 0 0 16px;
  padding: 0 34px;
  font-size: 15px;
  vertical-align: middle;
}

.for::before,
.for::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--green-dark);
}

.for::before {
  left: 0;
}

.for::after {
  right: 0;
}

.service-list h3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 30px;
  margin: 0 0 22px;
  padding: 3px 20px 5px;
  border-radius: 30px;
  background: var(--green);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}

.service-list p:last-child {
  margin: 0;
  max-width: 510px;
  font-size: 15px;
  line-height: 1.38;
}

.service-list strong {
  color: var(--green-dark);
  font-family: Roboto, "Noto Sans JP", sans-serif;
  font-size: 22px;
  white-space: nowrap;
}

.works {
  padding-top: 88px;
  background: var(--base);
}

.works-title {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 76px;
}

.works-title img {
  width: 205px;
}

.works-category {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 52px 42px;
}

.works-category h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.works-category img {
  width: 171px;
}

.works-category-lp {
  margin-top: 92px;
}

.works-category-lp img {
  width: 129px;
}

.work-list {
  display: grid;
  gap: 68px;
  margin: 0;
}

.work-case {
  position: relative;
  padding: 64px 56px 80px;
  background: #fff;
  overflow: visible;
}

.work-case:nth-child(even) {
  background: #fff;
}

.work-case-number {
  position: absolute;
  z-index: 2;
  top: 64px;
  left: 86px;
  width: 115px;
}

.work-case-head {
  width: 625px;
  min-height: 149px;
  margin: 46px auto 46px;
  padding: 39px 32px 28px;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  text-align: center;
}

.work-case-head h3 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
}

.work-case-head p {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.work-case-body {
  position: relative;
  display: grid;
  grid-template-columns: 375px 1fr;
  gap: 38px;
  align-items: start;
  padding-inline: 78px 52px;
}

.work-main-img {
  width: 375px;
  max-height: 515px;
  object-fit: contain;
  object-position: center top;
}

.work-case-wide .work-case-body {
  display: block;
  padding-inline: 16px;
}

.work-case-wide .work-main-img {
  width: 100%;
  max-height: none;
  margin-bottom: 42px;
}

.work-case-wide .work-text {
  width: min(760px, 100%);
  padding-top: 0;
}

.work-case-wide .work-text h4 {
  text-align: left;
}

.work-list-lp .work-case-body {
  display: grid;
}

.work-list-lp .work-main-img {
  margin-bottom: 0;
}

.work-detail-button {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 302px;
  margin: 38px auto 0;
  transition: transform 180ms ease, filter 180ms ease;
}

.work-detail-button:hover,
.work-detail-button:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.06);
}

.work-detail-button img {
  width: 100%;
}

.work-text {
  position: relative;
  z-index: 1;
  padding-top: 54px;
}

.work-text h4 {
  margin: 0 0 30px;
  color: var(--green-text);
  font-size: 25px;
  font-weight: 700;
  text-align: center;
}

.work-text p {
  margin: 0 0 20px;
  font-size: 19px;
  line-height: 1.45;
}


.work-leaf {
  position: absolute;
  z-index: 0;
  right: -102px;
  bottom: -142px;
  width: 230px;
  pointer-events: none;
}

.about {
  position: relative;
  overflow: hidden;
  background: url("./assets/about_bg.png") center / cover no-repeat;
}

.about-title {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 64px;
}

.about-title img {
  width: 218px;
}

.about-card {
  min-height: 579px;
  padding: 80px 62px 60px;
  border-radius: 24px;
  background: var(--green);
  color: #fff;
}

.about-main {
  display: grid;
  grid-template-columns: 462px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 26px;
}

.about-photo {
  width: 462px;
  border-radius: 20px;
}

.about-profile h2 {
  margin: -8px 0 20px;
  font-size: 24px;
  font-weight: 500;
}

.about-profile p,
.about-message {
  margin: 0;
  font-size: 20px;
  line-height: 1.56;
}

.about-message {
  padding: 0 2px;
}


.flow {
  background: rgba(255, 255, 255, 0.48);
}

.flow-title {
  display: flex;
  justify-content: flex-start;
  margin: 0 0 56px;
}

.flow-title img {
  width: 205px;
}

.steps {
  display: grid;
  gap: 64px;
}

.steps article {
  position: relative;
  display: grid;
  grid-template-columns: 149px 1fr;
  min-height: 155px;
}

.steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -52px;
  width: 76px;
  height: 36px;
  background: url("./assets/flow_arrow.png") center / contain no-repeat;
  transform: translateX(-50%);
}

.steps span {
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--green);
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 24px;
  font-weight: 500;
}

.steps b {
  display: block;
  font-size: 48px;
  line-height: 1;
}

.steps div {
  padding: 26px 42px;
  border: 1px solid var(--green-text);
  background: #fff;
}

.steps h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 24px;
  font-weight: 500;
}

.steps p {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
}

.steps small {
  display: block;
  margin-top: 10px;
  font-size: 15px;
}

.contact {
  position: relative;
  padding-top: 78px;
  overflow: hidden;
}

.contact-heading {
  position: relative;
  margin-bottom: 42px;
}

.contact-title {
  width: 251px;
}

.contact-decoration {
  position: absolute;
  right: -210px;
  top: -70px;
  width: 520px;
  pointer-events: none;
}

.contact-wrap {
  position: relative;
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 66px 36px 44px;
  background: var(--green);
}

.contact-wrap form {
  position: relative;
  z-index: 1;
}

.contact-submit-decoration {
  position: absolute;
  display: block;
  left: -165px;
  bottom: -20px;
  width: 260px;
  opacity: 1;
  pointer-events: none;
}

form {
  display: grid;
  gap: 24px;
}

label {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
}

label span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 30px;
  margin-left: 8px;
  background: #f26d5f;
  color: #fff;
  font-size: 20px;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: #fff;
  font: inherit;
  resize: vertical;
}

input {
  height: 67px;
}

textarea {
  min-height: 120px;
}

button {
  justify-self: center;
  width: 199px;
  height: 71px;
  margin-top: 16px;
  border: 0;
  border-radius: 70px;
  background: #fff;
  color: #5f8c29;
  font: 400 24px "Noto Sans JP", sans-serif;
  cursor: pointer;
}

.contact button {
  position: relative;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.contact button:hover,
.contact button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 9px 16px rgba(87, 103, 58, 0.3);
  filter: saturate(1.08);
}

.contact button:active {
  transform: translateY(0);
}

footer {
  display: grid;
  place-items: center;
  min-height: 92px;
  background: var(--green);
  font-size: 20px;
}

.detail-page {
  min-height: 100vh;
  background: var(--base);
}

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

.detail-hero {
  padding: 124px 0 54px;
}

.detail-title-block {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 22px;
  align-items: stretch;
  width: min(760px, 100%);
  margin: 0 auto 42px;
}

.detail-title-block span {
  background: var(--green);
}

.detail-title-block h1 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.45;
}

.detail-title-block p {
  margin: 0;
  font-size: 24px;
  line-height: 1.5;
}

.detail-mockup {
  width: min(1024px, 100%);
  aspect-ratio: 991 / 578;
  object-fit: cover;
  object-position: center 43%;
  margin: 0 auto 76px;
}

.detail-mockup-wide {
  width: min(1024px, 100%);
  aspect-ratio: auto;
  object-fit: contain;
  margin: 0 auto 76px;
}

.detail-info {
  display: grid;
  gap: 30px;
}

.detail-info article {
  position: relative;
  padding: 40px 32px 24px;
  border: 1px solid var(--green);
  border-radius: 5px;
  background: #fff;
}

.detail-info h2,
.detail-device-label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-size: 28px;
  font-weight: 500;
}

.detail-info h2 {
  position: absolute;
  left: 14px;
  top: -21px;
}

.detail-info p {
  margin: 0;
  font-size: 20px;
  line-height: 1.75;
}

.detail-preview {
  padding: 10px 0 90px;
}

.detail-mobile-view {
  display: none;
}

.detail-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 214px;
  gap: 86px;
  align-items: start;
}

.detail-device-label {
  justify-content: center;
  width: 96px;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: 0;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.detail-accordion-list {
  display: grid;
  gap: 34px;
}

.detail-accordion {
  border: 1px solid var(--green);
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
}

.detail-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 34px;
  background: var(--green);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition:
    filter 180ms ease,
    background 180ms ease;
}

.detail-accordion summary::-webkit-details-marker {
  display: none;
}

.detail-accordion summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 2px solid currentColor;
  border-radius: 999px;
  font-family: Roboto, sans-serif;
  font-size: 30px;
  line-height: 1;
  transition: transform 180ms ease;
}

.detail-accordion[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.detail-accordion summary:hover,
.detail-accordion summary:focus-visible {
  filter: saturate(1.06);
}

.detail-accordion-panel {
  padding: 34px 44px 46px;
}

.detail-pc-stack,
.detail-sp-stack {
  display: grid;
  gap: 0;
  align-items: start;
}

.detail-pc-stack img,
.detail-sp-stack img {
  width: 100%;
}

.detail-sp-stack .detail-sp-fit {
  width: 92%;
  min-width: 0;
  max-width: 100%;
  justify-self: center;
  object-fit: contain;
}

.detail-plan {
  padding: 0 0 90px;
}

.detail-plan h2 {
  width: fit-content;
  margin: 0 auto 30px;
  color: var(--green-text);
  font-size: 30px;
  font-weight: 700;
}

.detail-slide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 auto;
}

.detail-slide-grid img {
  width: 100%;
}

.detail-button-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.detail-action-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(360px, 100%);
  min-height: 68px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.18);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.detail-action-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 50%;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  transform: translate(-50%, -50%);
  transition:
    width 360ms ease,
    height 360ms ease,
    opacity 360ms ease;
  opacity: 0;
}

.detail-action-button::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 21px;
  background: url("./assets/button-arrow.png") center / contain no-repeat;
  transition: transform 180ms ease;
}

.detail-action-button:hover,
.detail-action-button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(120, 130, 88, 0.28);
  filter: saturate(1.05);
}

.detail-action-button:hover::before,
.detail-action-button:focus-visible::before {
  width: 720px;
  height: 720px;
  opacity: 1;
}

.detail-action-button:hover::after,
.detail-action-button:focus-visible::after {
  transform: translateX(6px);
}

.detail-action-button:active {
  transform: translateY(0);
}

.detail-back {
  background: var(--pink);
  color: #fff;
}

@media (max-width: 820px) {
  .hero {
    min-height: 394px;
  }

  .hero-device {
    display: none;
  }

  .hero-device-sp {
    display: block;
    position: absolute;
    width: min(100vw, 390px);
    height: auto;
    top: 0;
    left: 50%;
    right: auto;
    max-width: none;
    opacity: 1;
    transform: translateX(-50%);
    z-index: 1;
  }

  .hero-panel {
    top: 22px;
    left: 50%;
    width: 353px;
    height: 142px;
    border-radius: 0;
    opacity: 1;
    transform: translateX(-50%);
    z-index: 2;
  }

  .hero-panel > img:not(.hero-panel-sp-img) {
    display: none;
  }

  .hero-panel-sp-img {
    display: block;
    width: 353px;
    height: 142px;
    object-fit: fill;
  }

  .hero-copy {
    max-width: 300px;
    padding: 59px 0 0 57px;
  }

  .hero h1 {
    font-size: 24px;
    line-height: 1.42;
    white-space: nowrap;
  }

  .intro-ornament-left {
    left: -120px;
    top: 126px;
    width: 118px;
  }

  .intro-ornament-right {
    right: -126px;
    top: 178px;
    width: 124px;
  }

  .intro {
    padding: 5px 0 72px;
  }

  .hero-line {
    width: 318px;
    height: 1px;
    margin: 0 auto 13px;
  }

  .intro p {
    width: 320px;
    margin-bottom: 24px;
    font-size: 13px;
    line-height: 1.55;
    text-align: left;
  }

  .tags {
    justify-content: flex-start;
    width: 330px;
    margin: 0 auto 30px;
    gap: 7px 9px;
  }

  .tags span {
    min-height: 19px;
    padding: 0 6px;
    font-size: 12px;
    line-height: 18px;
  }

  .actions,
  .work-body,
  .service-list article,
  .steps article {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
    gap: 36px;
  }

  .button {
    width: 311px;
    min-height: 61px;
    margin: 0 auto;
    font-size: 24px;
  }

  .problems {
    min-height: 460px;
    padding: 83px 15px;
    justify-items: center;
  }

  .problem-card {
    width: min(357px, calc(100vw - 50px));
    min-height: 287px;
    margin-inline: auto;
    padding: 27px 14px 24px;
    border-radius: 0;
  }

  .problem-card h2,
  .section-title h2 {
    font-size: 18px;
  }

  .problem-card h2 span {
    font-size: 24px;
  }

  .problem-card h2 {
    margin-bottom: 31px;
    white-space: nowrap;
  }

  .problem-card h2 span::after {
    bottom: -2px;
    width: 72px;
  }

  .problem-card ul {
    width: min(322px, 100%);
    margin-inline: auto;
    transform: none;
  }

  .problem-card li {
    min-height: 21px;
    margin-bottom: 13px;
    padding-left: 25px;
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
  }

  .problem-card li::before {
    top: 2px;
    width: 15px;
    height: 15px;
    border-width: 2px;
    font-size: 11px;
  }

  .service-list p:last-child,
  .work-body p,
  .steps p {
    font-size: 17px;
  }

  .problem-card li:nth-child(4),
  .problem-card li:last-child {
    width: auto;
    margin-left: 0;
    font-size: 13px;
    line-height: 1.45;
    white-space: nowrap;
  }

  .problem-card li:last-child {
    font-size: 12px;
  }

  .service-list article,
  .work-body {
    padding: 32px 24px;
  }

  .service-title {
    justify-content: center;
    margin-bottom: 48px;
  }

  .service-title img {
    width: 210px;
  }

  .service-orb {
    display: none;
  }

  .services .container {
    width: min(357px, calc(100vw - 50px));
    margin-inline: auto;
    transform: translateX(-10px);
  }

  .service-list {
    gap: 50px;
  }

  .service-list article {
    width: 100%;
    min-height: 243px;
    padding: 38px 20px 28px;
  }

  .menu-number {
    top: -20px;
    right: 18px;
    width: 150px;
  }

  .service-leaf {
    width: 112px;
  }

  .service-leaf-left {
    left: -8px;
    top: -44px;
  }

  .service-leaf-right {
    right: -8px;
    top: -44px;
    bottom: auto;
  }

  .service-list h3 {
    min-width: 0;
    min-height: 38px;
    margin: 0 0 14px;
    padding: 5px 18px 7px;
    font-size: 20px;
  }

  .for {
    display: inline-block;
    margin: 0 0 20px;
    padding: 0 14px;
    font-size: 15px;
    line-height: 1.55;
    white-space: normal;
  }

  .for::before,
  .for::after {
    width: 10px;
  }

  .service-list article:nth-child(5) h3 {
    padding-inline: 18px;
    font-size: 18px;
  }

  .service-list article:nth-child(5) .for {
    padding-inline: 10px;
    font-size: 14px;
  }

  .service-list article:nth-child(5) .for::before,
  .service-list article:nth-child(5) .for::after {
    width: 7px;
  }

  .service-list p:last-child {
    font-size: 17px;
  }

  .service-list strong {
    justify-self: end;
    font-size: 24px;
    text-align: right;
  }

  .work-head p {
    font-size: 18px;
  }

  .work-grid img {
    width: calc(100% - 36px);
  }

  .works {
    padding-top: 64px;
  }

  .works-title {
    justify-content: center;
    margin-bottom: 48px;
  }

  .works-title img {
    width: 205px;
  }

  .works-category {
    justify-content: center;
    gap: 12px;
    margin: 0 0 36px;
  }

  .works-category h2 {
    font-size: 24px;
  }

  .works-category img {
    width: 132px;
  }

  .works-category-lp {
    margin-top: 64px;
  }

  .works-category-lp img {
    width: 104px;
  }

  .work-list {
    gap: 54px;
    margin-inline: 0;
  }

  .work-case {
    padding: 56px 20px 64px;
    overflow: hidden;
  }

  .work-case-number {
    top: 68px;
    left: 2px;
    width: 64px;
  }

  .work-case-head {
    width: min(300px, calc(100% - 28px));
    min-height: 110px;
    margin-top: 34px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 34px;
    padding: 28px 16px 20px;
  }

  .work-case-head h3 {
    font-size: 18px;
  }

  .work-case-head p {
    font-size: 15px;
  }

  .work-case-body {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-inline: 0;
  }

  .work-case-wide .work-case-body {
    display: grid;
    padding-inline: 0;
  }

  .work-main-img {
    width: min(300px, 100%);
    max-height: none;
    margin: 0 auto;
  }

  .work-case-wide .work-main-img {
    width: min(300px, 100%);
    margin: 0 auto;
  }

  .work-case-wide .work-text {
    width: auto;
  }

  .work-case-wide .work-text h4 {
    text-align: center;
  }

  .work-detail-button {
    width: min(302px, 86%);
    margin-top: 24px;
  }

  .work-text {
    padding-top: 0;
  }

  .work-text h4 {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .work-text p {
    font-size: 16px;
  }

  .work-leaf {
    display: none;
  }

  .work-list-lp .work-leaf {
    display: none;
  }

  .about {
    padding: 72px 0;
  }

  .about-title {
    justify-content: center;
    margin-bottom: 34px;
  }

  .about-title img {
    width: 218px;
  }

  .about-card {
    min-height: 0;
    padding: 32px 22px 30px;
    border-radius: 20px;
  }

  .about-main {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 22px;
  }

  .about-photo {
    width: 100%;
    border-radius: 18px;
  }

  .about-profile h2 {
    margin: 0 0 12px;
    font-size: 22px;
  }

  .about-profile p,
  .about-message {
    font-size: 15px;
    line-height: 1.75;
  }

  .contact {
    padding-top: 64px;
  }

  .contact-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 28px;
  }

  .contact-title {
    flex: 0 0 auto;
    width: 190px;
    margin: 0;
  }

  .contact-decoration {
    position: static;
    flex: 0 0 auto;
    width: 148px;
    opacity: 0.55;
  }

  .contact-submit-decoration {
    display: none;
  }

  .detail-hero {
    padding: 64px 0 36px;
  }

  .detail-title-block {
    grid-template-columns: 10px 1fr;
    gap: 14px;
    margin-bottom: 34px;
  }

  .detail-mockup {
    aspect-ratio: 991 / 578;
    object-fit: cover;
    object-position: center 43%;
    margin: 0 auto 76px;
  }

  .detail-title-block h1 {
    font-size: 24px;
  }

  .detail-title-block p {
    font-size: 16px;
  }

  .detail-info {
    gap: 26px;
  }

  .detail-info article {
    padding: 34px 18px 20px;
  }

  .detail-info h2 {
    min-height: 34px;
    font-size: 20px;
  }

  .detail-info p {
    font-size: 15px;
  }

  .detail-desktop-view {
    display: none;
  }

  .detail-mobile-view {
    display: block;
  }

  .detail-accordion-list {
    gap: 22px;
  }

  .detail-accordion summary {
    min-height: 54px;
    padding: 0 18px;
    font-size: 18px;
  }

  .detail-accordion summary::after {
    width: 28px;
    height: 28px;
    font-size: 24px;
  }

  .detail-accordion-panel {
    padding: 22px 18px 28px;
  }

  .detail-sp-stack {
    width: min(230px, 74%);
    margin: 0 auto;
  }

  .detail-sp-stack img {
    width: 100%;
  }

  .detail-sp-stack .detail-sp-fit {
    width: 92%;
    min-width: 0;
    max-width: 100%;
  }

  .detail-slide-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .detail-button-row {
    display: grid;
    gap: 18px;
    margin-top: 8px;
  }

  .detail-action-button {
    width: min(302px, 100%);
    min-height: 56px;
    margin: 0 auto;
    padding-inline: 14px;
    gap: 10px;
    font-size: 16px;
  }

  .detail-action-button::after {
    width: 10px;
    height: 18px;
  }

  .flow-title {
    justify-content: center;
    margin-bottom: 30px;
  }

  .flow-title img {
    width: 193px;
  }

  .steps {
    gap: 48px;
  }

  .steps article {
    position: relative;
    display: block;
    min-height: 157px;
    border: 1px solid var(--green-text);
    background: #fff;
  }

  .steps article:not(:last-child)::after {
    bottom: -38px;
    width: 78px;
    height: 37px;
  }

  .steps span {
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    width: 52px;
    height: 50px;
    min-height: 0;
    font-size: 16px;
    line-height: 1;
  }

  .steps b {
    font-size: 29px;
  }

  .steps div {
    min-height: 155px;
    padding: 18px 22px 24px 70px;
    border: 0;
  }

  .steps h3 {
    margin: 0 0 13px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--green);
    font-size: 24px;
  }

  .steps p {
    font-size: 19px;
    line-height: 1.35;
  }

  .steps small {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.35;
  }

  .contact-wrap > img:not(.contact-submit-decoration) {
    display: none;
  }
}
