/* ================ construction ================ */
.mainvisual {
  border-top: 16px solid var(--yellow);
  height: 55.9375vw;
  max-height: calc(100svh - var(--hdH));
  position: relative;
  font-size: 1.8rem;
}
.mainvisual::before {
  content: "";
  z-index: 0;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff calc(max(0px, (100% - 1280px) / 2) + 240px), rgba(255, 255, 255, 0) max(700px, 65%)) no-repeat left top;
  width: 100%;
  height: 100%;
}
.mainvisual .bg {
  position: absolute;
  z-index: -1;
  inset: 0;
}
.mainvisual .bg picture {
  display: block;
  height: 100%;
}
.mainvisual .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.mainvisual > .inner {
  position: relative;
  height: 100%;
}
.mainvisual .textbox {
  position: absolute;
  left: min(80px, 6.25%);
  bottom: 50%;
  translate: 0 50%;
  max-width: 480px;
}
.mainvisual h1 {
  margin-bottom: 0.4em;
  font-size: clamp(4rem, 3.9062vw, 5rem);
  font-weight: 900;
  line-height: 1.3333;
}
.mainvisual h1 span {
  display: block;
  font-size: clamp(1.6rem, 34%, 1.7rem);
  color: var(--green);
  text-shadow: 0 -1px 0 rgba(255, 255, 255, 0.25), 1px -1px 0 rgba(255, 255, 255, 0.25), 1px 0 0 rgba(255, 255, 255, 0.25), 1px 1px 0 rgba(255, 255, 255, 0.25), 0 1px 0 rgba(255, 255, 255, 0.25), -1px 1px 0 rgba(255, 255, 255, 0.25), -1px 0 0 rgba(255, 255, 255, 0.25), -1px -1px 0 rgba(255, 255, 255, 0.25), 0 0 8px rgba(255, 255, 255, 0.5);
}
.mainvisual .btn {
  margin-top: 1.5556em;
}
.mainvisual .btn a {
  background-color: var(--yellow);
  border-color: var(--yellow);
  min-height: 55px;
  transition: 0.3s backdrop-filter, 0.3s background-color;
}
@media (any-hover: hover) {
  .mainvisual .btn a:hover {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
  }
}
@media (any-hover: none) {
  .mainvisual .btn a:active {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
  }
}
@media screen and (width < 768px) {
  .mainvisual {
    height: auto;
    max-height: none;
    padding-top: 79.99998vw;
  }
  .mainvisual::before {
    bottom: auto;
    height: 133.3333vw;
    background-image: linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 80%);
  }
  .mainvisual .bg {
    bottom: auto;
  }
  .mainvisual .textbox {
    position: static;
    translate: 0 0;
  }
}

/* ================ common ================ */
.btnContact {
  max-width: 748px;
  margin: 0 auto;
}
.btnContact a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 1.1428em;
  border: 3px solid var(--green);
  border-radius: 0.5143em;
  background-color: #fff;
  min-height: 2.9714em;
  padding-left: 0.25em;
  color: var(--green);
  font-size: clamp(3.2rem, 2.7343vw, 3.5rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.02em;
  transition: 0.3s background-color;
}
.btnContact a .icon {
  transition: 0.3s translate;
}
@media (any-hover: hover) {
  .btnContact a:hover {
    background-color: var(--green);
    color: #fff;
  }
  .btnContact a:hover .icon {
    translate: 8px 0;
  }
}
@media (any-hover: none) {
  .btnContact a:active {
    background-color: var(--green);
    color: #fff;
  }
  .btnContact a:active .icon {
    translate: 8px 0;
  }
}
@media screen and (width < 768px) {
  .btnContact a {
    padding: 0.5em 0.25em 0.5em 1em;
    font-size: min(2rem, 5.1282vw);
  }
  .btnContact a .icon {
    flex: 0 0 auto;
    width: 1.4286em;
  }
}

.worries {
  padding-block: 80px 90px;
}
.worries h2 {
  width: fit-content;
  margin: 0 auto;
  border-bottom: 4px solid var(--yellow);
  padding: 0 0.5em 0.25em;
  text-align: center;
  font-weight: 400;
  font-size: 4rem;
  line-height: 1.4;
}
.worries ul {
  margin: 50px auto 90px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: minmax(70px, 1fr) 1fr;
  gap: 0.65em;
  font-size: clamp(1.5rem, 1.5625vw, 2rem);
}
.worries li {
  background-color: #fff;
  border-radius: 0.75em;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
  padding: 8px 0 1em;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: subgrid;
  grid-column: span 1;
  grid-row: span 2;
  gap: 0;
  text-align: center;
}
.worries li .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 6px;
}
.worries li p {
  place-self: center;
}
.worries .catchcopy {
  width: fit-content;
  margin: 0 auto;
  position: relative;
  text-align: center;
  color: var(--green);
  font-size: 3.5rem;
  font-size: clamp(2rem, 2.734375vw, 3.5rem);
  font-weight: 700;
  line-height: 1.4;
}
.worries .catchcopy strong {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(3.5rem, 3.90625vw, 5rem);
}
.worries .catchcopy::before, .worries .catchcopy::after {
  content: "";
  position: absolute;
  left: -0.2162em;
  bottom: -0.3849em;
  width: 0.2em;
  height: 2.8571em;
  background-color: var(--green);
  rotate: -19.781deg;
  transform-origin: right bottom;
}
.worries .catchcopy::after {
  left: auto;
  right: -0.2162em;
  rotate: 19.781deg;
  transform-origin: left bottom;
}
@media screen and (width < 768px) {
  .worries {
    padding-block: min(80px, 20.5128205128vw);
  }
  .worries h2 {
    font-size: min(2.5rem, 6.4102vw);
  }
  .worries ul {
    grid-template-columns: repeat(2, 1fr);
    font-size: min(1.6rem, 4.1025vw);
  }
  .worries .catchcopy {
    padding-inline: 1em;
  }
  .worries .catchcopy::before {
    left: 0;
    transform-origin: left top;
  }
  .worries .catchcopy::after {
    right: 0;
    transform-origin: left top;
  }
  .worries .catchcopy {
    font-size: min(2.6rem, 6.6666vw);
  }
  .worries .catchcopy strong {
    display: block;
    font-size: min(3.6rem, 9.2307vw);
  }
}

.oneStop {
  background: #F3F4F6 url(../img/onestop-bg.avif) no-repeat right top/auto min(582px, 94.6341%);
  padding-block: 90px;
}
.oneStop h2 {
  margin-bottom: 0.55em;
  font-weight: 400;
  line-height: 1.4;
  font-size: 4rem;
}
.oneStop .lead {
  font-size: 1.8rem;
}
.oneStop ol {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  grid-template-rows: repeat(2, auto) 1fr;
  gap: 1.7em 3.4375em;
}
.oneStop li {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: subgrid;
  grid-column: span 1;
  grid-row: span 3;
  gap: 0;
}
.oneStop h3 {
  display: flex;
  align-items: center;
  gap: 0.4444em;
  margin-bottom: 0.5em;
  font-size: 1.8rem;
}
.oneStop h3 .num {
  flex: 0 0 1.6667em;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(../img/onestop-num-line.svg) no-repeat center center/contain;
  font-family: "Unbounded", sans-serif;
  font-weight: 400;
}
.oneStop figure {
  position: relative;
  margin-bottom: 1.375em;
}
.oneStop figure::before {
  content: "";
  position: absolute;
  left: calc(100% + 1.25em);
  bottom: 50%;
  translate: 0 50%;
  width: 1.25em;
  height: 2.875em;
  background-color: var(--green);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.oneStop li:last-child figure::before {
  display: none;
}
@media screen and (width < 768px) {
  .oneStop {
    background-size: 75% auto;
    padding-block: min(80px, 20.5128205128vw);
  }
  .oneStop h2 {
    font-size: min(2.5rem, 6.4102vw);
  }
  .oneStop ol {
    gap: 3em 3.4375em;
  }
  .oneStop li {
    position: relative;
  }
  .oneStop figure {
    position: static;
  }
  .oneStop figure::before {
    left: 50%;
    bottom: auto;
    top: calc(100% + 0.8em);
    width: 2.875em;
    height: 1.25em;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    translate: -50% 0;
  }
}

.points {
  background-color: var(--yellow);
  padding-block: 80px 110px;
}
.points > .inner {
  padding-inline: 0;
}
.points h2 {
  text-align: center;
  font-size: 4rem;
  line-height: 1.4;
}
.points h2 strong:not(.emphasis) {
  padding-left: 0.1em;
  font-size: 7rem;
  font-weight: 700;
}
.points h2 strong:not(.emphasis):last-of-type {
  font-size: 6rem;
}
.points h2 .emphasis {
  position: relative;
}
.points h2 .emphasis::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1em;
  width: 100%;
  height: 0.5em;
  background: radial-gradient(circle at center, var(--green) 10px, transparent 10px) repeat-x left top/1.175em 0.5em;
}
.points ul {
  list-style: none;
  display: flex;
  gap: min(40px, 3.125vw);
  margin-top: 35px;
  font-size: 1.8rem;
}
.points li {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(2, auto) 1fr;
}
.points figure {
  grid-row: 1/3;
  grid-column: 1;
}
.points h3 {
  grid-row: 2/3;
  grid-column: 1;
  padding: 0 0.65em;
  color: #fff;
  font-size: 4rem;
  line-height: 1.4;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.75);
}
.points h3 .num {
  display: block;
}
.points p {
  grid-row: 3/4;
  margin-top: 1.1111em;
  padding-left: 1.4444em;
}
.points .btnContact {
  margin-top: 45px;
  max-width: 1280px;
  padding: min(80px, 6.25%);
}
.points .btnContact a {
  max-width: 748px;
  margin-inline: auto;
}
@media screen and (width < 768px) {
  .points {
    padding-block: min(80px, 20.5128205128vw);
  }
  .points h2 {
    font-size: min(2.5rem, 6.4102vw);
  }
  .points h2 strong:not(.emphasis) {
    font-size: min(4rem, 10.2564vw);
  }
  .points h2 strong:not(.emphasis):last-of-type {
    font-size: min(3.4rem, 8.7179vw);
  }
  .points h2 .emphasis {
    margin-top: 0.5em;
    display: inline-block;
  }
  .points h2 .emphasis::before {
    top: -0.25em;
    background-image: radial-gradient(circle at center, var(--green) 5px, transparent 5px);
  }
  .points ul {
    flex-direction: column;
    gap: min(40px, 10.2564102564vw);
  }
  .points h3 {
    font-size: min(3.4rem, 8.7179vw);
  }
  .points p {
    padding-right: 1.4444em;
  }
}
.points .btnContact {
  padding: 0;
}

.portfolio {
  padding-block: 90px 136px;
}
.portfolio .lead {
  margin-top: 35px;
  font-size: 1.8rem;
}
.portfolio ul {
  list-style: none;
  margin: 28px auto 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 3.1111em 1.9444em;
  gap: min(56px, 4.375vw) min(35px, 2.734375vw);
  font-size: 1.8rem;
}
.portfolio button {
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  background-color: transparent;
  aspect-ratio: 35/33;
  position: relative;
  overflow: hidden;
}
.portfolio figure img {
  transition: 0.3s scale;
}
.portfolio figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1.25em 1.4em;
  background: linear-gradient(0deg, black 0%, rgba(0, 0, 0, 0) 100%);
  text-align: left;
  font-weight: 700;
  color: #fff;
}
.portfolio figcaption .icon {
  position: absolute;
  right: 1em;
  bottom: 1em;
  width: 2.4444em;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  border-radius: 0.5556em;
  background-color: #fff;
}
dialog {
  background-color: transparent;
  border: none;
  margin: auto;
  padding: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overscroll-behavior: none;
  overflow: auto;
}
dialog[open] {
  display: flex;
}
dialog[open]::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 1px;
  height: calc(100% + 1px);
  opacity: 0;
  pointer-events: none;
}
html:has(dialog[open]) {
  scrollbar-width: none;
}
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
}
dialog .box {
  max-width: calc(100% - 100px);
  max-height: calc(100% - 100px);
  background-color: #fff;
  border-radius: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}
dialog .inner {
  width: 100%;
  min-height: 0;
  padding: min(40px, 3.125vw) min(40px, 3.125vw) 0;
  overflow: auto;
  overflow-wrap: anywhere;
}
dialog .close {
  position: absolute;
  left: calc(100% - 8px);
  bottom: calc(100% - 8px);
  background-color: #fff;
  border: none;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  width: 45px;
  height: 45px;
}
dialog .close::before, dialog .close::after {
  content: "";
  position: absolute;
  left: 20%;
  height: calc(50% - 1px);
  width: 60%;
  height: 3px;
  rotate: 45deg;
  background-color: #000;
}
dialog .close::after {
  rotate: -45deg;
}
dialog figcaption {
  padding: 1.5em 1em;
  text-align: center;
  font-size: 2rem;
}
dialog figcaption .icon {
  display: none;
}

@media (any-hover: hover) {
  .portfolio button:hover figure > img {
    scale: 1.1 1.1;
  }
}
@media (any-hover: none) {
  .portfolio button:active figure > img {
    scale: 1.1 1.1;
  }
}
@media screen and (width < 768px) {
  .portfolio {
    padding-block: min(80px, 20.5128205128vw);
  }
  .portfolio ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: min(1.6rem, 4.1025vw);
  }
  .portfolio figcaption {
    padding-left: 0.5em;
    padding-right: 3.5em;
  }
  .portfolio figcaption .icon {
    width: 2em;
    padding: 5px;
    border-radius: 0.3333em;
    right: 0.5em;
    bottom: 0.5em;
  }
  dialog .box {
    border-radius: 20px;
  }
  dialog figcaption {
    padding: 1em 0;
  }
}

.process {
  background-color: var(--yellow);
  padding-block: 145px;
}
.process .subTtl::after {
  background-color: #fff;
}
.process .lead {
  margin: 2em auto 2.75em;
  font-size: 1.8rem;
}
.process .contents {
  display: flex;
  gap: 1em;
}
.process .thumb {
  flex: 0 0 auto;
  width: 28.3929%;
  margin-left: auto;
  aspect-ratio: 103/183;
  position: relative;
}
.process .thumb * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process ol {
  letter-spacing: normal;
  list-style: none;
  font-size: 2rem;
  line-height: 1.9;
}
.process li:not(:last-child) {
  position: relative;
  padding-bottom: 1.25em;
}
.process li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 0.8em;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #000;
}
.process li h3 {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0 1.15em;
  font-size: 3rem;
  line-height: 1.5;
}
.process li h3 .num {
  flex: 0 0 auto;
  background-color: var(--yellow);
  padding-block: 0.15em;
  font-family: "Noto Serif JP", serif;
  font-size: 3.2rem;
  font-weight: 400;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.4063;
}
.process li p {
  margin-left: 3.6em;
}
@media screen and (width < 768px) {
  .process {
    padding-block: min(80px, 20.5128205128vw) 0;
  }
  .process .contents {
    flex-direction: column;
  }
  .process ol {
    margin-bottom: min(60px, 15.3846153846vw);
    font-size: min(1.8rem, 4.6153vw);
  }
  .process li h3 {
    gap: 0 0.5em;
    font-size: min(2.4rem, 6.1538vw);
  }
  .process li h3 .num {
    font-size: min(2.6rem, 6.6666vw);
  }
  .process li p {
    margin-left: 2.1111em;
  }
  .process .thumb {
    width: 111.4286%;
    margin: 0 -5.1282vw;
  }
}

.faq {
  background-color: #fff;
  padding-block: 120px 160px;
  display: none;
}
.faq h2 {
  margin-bottom: 0.8571em;
  text-align: center;
  font-size: 3.5rem;
  line-height: 1.4;
}
.faq h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background-color: var(--yellow);
  margin: 0.5em auto 0;
}
.faq dl > div:nth-child(n+2) {
  margin-top: 80px;
}
.faq dt {
  background-color: var(--green);
  padding: 0.7727em 1.6364em;
  color: #fff;
  font-weight: 700;
  font-size: 2.2rem;
}
.faq dd {
  padding: 1em 1.8182em 0;
  font-size: 2.2rem;
}
@media screen and (width < 768px) {
  .faq {
    padding-block: min(80px, 20.5128205128vw);
  }
  .faq h2 {
    font-size: min(2.2rem, 5.641vw);
  }
  .faq h2::after {
    width: 80px;
  }
  .faq dl > div:nth-child(n+2) {
    margin-top: min(60px, 15.3846153846vw);
  }
  .faq dt {
    padding: 0.5em 1em;
    font-size: min(2rem, 5.1282vw);
  }
  .faq dd {
    padding: 1em 1em 0;
    font-size: min(2rem, 5.1282vw);
  }
}