@charset "utf-8";

:root {
  --bg: #fff;
  --section-bg: #fef6ed;
  --text: #333;
  --accent: #c08c81;
  --content: 1150px;
  --header: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  text-align: left;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

.nowrap {
  white-space: nowrap;
}

.site-header {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0) 100%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 80px);
    max-width: var(--header);
    min-height: 130px;
    padding: 1em 0 3em;
    margin: 0 auto;
}

.site-header__logo {
  width: 310px;
}

.site-header__nav ul {
  display: flex;
  gap: 58px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__nav a {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .12em;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
  color: var(--accent);
}

.site-header__toggle {
  display: none;
}

.hero__visual {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.hero__visual picture img {
  width: 100%;
}

.hero__catch {
    position: absolute;
    top: 45%;
    left: 5%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 740px;
}

.section-deco {
  position: relative;
  isolation: isolate;
}

.section-deco__flower,
.section-deco__circle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.about {
  min-height: 640px;
  padding: 105px 40px 150px;
}

.about__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto;
  text-align: center;
}

.section-title {
  margin-right: auto;
  margin-left: auto;
}

.section-heading {
  margin: 0;
  font-weight: 400;
  text-align: center;
}

.section-heading__ja {
  display: block;
  margin-top: 8px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .06em;
}

.section-title--about {
  width: 365px;
}

.about__body {
  max-width: 600px;
  margin: 42px auto 0;
}

.about__lead {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 600;
  line-height: 2;
}

.about__body .about__text {
  text-align: left;
  max-width: 534px;
}

.button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  margin: 52px auto 0;
  padding: .5em 3em .5em 1em;
  border: 1px solid var(--accent);
  text-align: center;
  white-space: nowrap;
  transition: color .25s ease, background-color .25s ease;
}

.button img {
  position: absolute;
  top: 50%;
  right: 1em;
  width: 19px;
  transform: translateY(-50%);
}

a.button:hover,
a.button:focus-visible {
  background: var(--accent);
  color: #fff;
}

a.button:hover img,
a.button:focus-visible img {
  filter: brightness(0) invert(1);
}

.section-deco__flower--left {
  top: 120px;
  left: 50%;
  width: 430px;
  transform: translateX(-960px);
}

.section-deco__flower--right {
  top: 30px;
  left: 50%;
  width: 510px;
  transform: translateX(560px);
}

.business {
  overflow: visible;
  padding: 180px 40px 10vw;
  background: var(--section-bg);
}

.business::before,
.business::after {
  position: absolute;
  z-index: 1;
  left: 0;
  width: 100%;
  height: 8vw;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  content: "";
  pointer-events: none;
}

.business::before {
  top: -8vw;
  background-image: url(../images/top/bg-wave-top.svg);
}

.business::after {
  bottom: -8vw;
  background-image: url(../images/top/bg-wave-bottom.svg);
}

.business__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin: 0 auto;
}

.business__heading {
  margin-bottom: 80px;
  text-align: center;
}

.section-title--business {
  width: 530px;
}

.business__list {
  display: grid;
  gap: 80px;
}

.business-card {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  min-height: 435px;
  padding: 48px 50px;
  overflow: hidden;
  background: #fff;
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}

.business-card__content {
  padding-right: 50px;
}

.business-card__content > p:not(.business-card__notice) {
  margin: 40px 0 0;
  font-size: 15px;
  line-height: 1.9;
}

.business-card__logo--hyhome {
  width: 310px;
}

.business-card__logo--porepore {
  width: 275px;
}

.business-card__logo--zawadi {
  width: 280px;
}

.button--business {
  width: 260px;
  margin-top: 32px;
}

.business-card__notice {
  width: 260px;
  margin: 35px 0 0;
  padding: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.business-card__image {
  overflow: hidden;
}

.business-card__image img {
  width: 100%;
  aspect-ratio: 600 / 380;
  object-fit: cover;
}

.section-deco__circle--left {
  top: 140px;
  left: 50%;
  width: 760px;
  transform: translateX(-1030px);
}

.section-deco__circle--right {
  top: 650px;
  left: 50%;
  width: 820px;
  transform: translateX(430px);
}

.business__lines {
    position: absolute;
    z-index: 3;
    bottom: -12%;
    left: 0;
    width: 100%;
    height: 835px;    
    overflow: hidden;
    background: url(../images/top/deco-lines.png) center / 3253px auto no-repeat;
    background-position-x: 60%;
    pointer-events: none;
}

@media (min-width: 3253px) {
  .business {
    padding-bottom: 27vw;
  }

  .business__lines {
    height: 25.67vw;
    background-size: 100vw auto;
  }
}

.section-deco__flower--business {
    z-index: 4;
    right: 0%;
    bottom: -17%;
    width: 30%;
}

.recruit {
  padding: clamp(240px, 22vw, 400px) 40px;
  background-image:
    url(../images/top/deco-flower6.png),
    url(../images/top/deco-flower5.png);
  background-position:
    calc(50% + 420px) calc(100% + 20px),
    calc(50% - 900px) 0;
  background-size: 512px auto, 708px auto;
  background-repeat: no-repeat;
}

.recruit__inner {
  position: relative;
  z-index: 1;
  display: grid;
  /* grid-template-columns: 40% 60%; */
  align-items: center;
  max-width: var(--content);
  margin: 0 auto;
}

.recruit__content {
  padding-right: 65px;
  text-align: center;
}

.section-title--recruit {
  width: 320px;
}

.recruit__content > p {
  margin: 45px 0 0;
  font-size: 14px;
  text-align: left;
  display: inline-block;
}

.recruit__content .button {
  margin-top: 42px;
}

.recruit__movie {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: #eee;
  font-size: 28px;
}

.recruit__movie p {
  margin: 0;
}

.section-deco__flower--recruit {
  display: none;
}

.contact {
  padding: 100px 40px;
  background: url(../images/top/bg-contact.jpg) center / cover no-repeat;
}

.contact__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 18px;
  border: 2px solid var(--accent);
}

.contact__box {
  padding: 50px 30px;
  background: rgba(255, 255, 255, .8);
  text-align: center;
}

.section-title--contact {
  width: 360px;
}

.contact .button {
  margin-top: 25px;
}

.site-footer {
  padding: 90px 40px 45px;
  background: var(--section-bg);
  font-weight: 500;
}

.site-footer__inner {
  max-width: 800px;
  margin: 0 auto;
}

.site-footer h2 {
  margin: 0 0 60px;
  letter-spacing: .12em;
  text-align: center;
}

.site-footer__company {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 65px;
}

.site-footer__company > img {
  width: 120px;
}

.site-footer__company dl {
  margin: 0;
}

.site-footer__company dl > div {
  display: grid;
  grid-template-columns: 8em 1fr;
  margin-bottom: 16px;
}

.site-footer__company dt,
.site-footer__company dd {
  margin: 0;
  line-height: 1.5;
}

.site-footer__company dt::after {
  content: "／　";
  float: right;
}

.site-footer__nav {
  margin-top: 70px;
}

.site-footer__nav ul {
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav li + li::before {
  content: "|";
  margin: 0 22px;
  color: #999;
}

.site-footer__nav a {
  font-size: 14px;
  font-weight: 500;
}

.site-footer__copyright {
  margin: 30px 0 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-align: center;
}

.page-top {
  position: fixed;
  z-index: 15;
  right: 25px;
  bottom: 25px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--accent);
  background: var(--bg);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (min-width: 1101px) and (max-width: 1800px) {
  .recruit {
    background-position:
      calc(50% + 420px) calc(100% + 20px),
      -210px 0;
    background-size: 512px auto, 600px auto;
  }
}

@media (min-width: 1101px) and (max-width: 1600px) {
  .section-deco__flower--business {
    right: -100px;
    bottom: -210px;
    width: 480px;
    transform: none;
  }

  .recruit {
    background-position:
      calc(50% + 420px) calc(100% + 20px),
      -170px 0;
    background-size: 512px auto, 480px auto;
  }
}

@media (min-width: 1101px) and (max-width: 1300px) {
  .recruit {
    background-position:
      calc(50% + 420px) calc(100% + 20px),
      -130px 0;
    background-size: 512px auto, 360px auto;
  }
}

@media (max-width: 1100px) {
  .site-header__inner {
    width: calc(100% - 48px);
  }

  .site-header__logo {
    width: 255px;
  }

  .site-header__nav ul {
    gap: 32px;
  }

  .business-card {
    padding: 40px;
  }

  .business-card__content {
    padding-right: 35px;
  }

  .section-deco__flower--business {
    right: -70px;
    bottom: -140px;
    width: 360px;
  }

  .recruit {
    background-position:
      calc(100% + 50px) calc(100% + 10px),
      -100px 20px;
    background-size: 310px auto, 260px auto;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    width: calc(100% - 40px);
    min-height: 80px;
  }

  .site-header__logo {
    position: relative;
    z-index: 2;
    width: 205px;
  }

  .site-header__toggle {
    position: relative;
    z-index: 2;
    display: block;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .site-header__toggle span {
    position: absolute;
    left: 8px;
    width: 26px;
    height: 1px;
    background: var(--text);
    transition: transform .25s ease, opacity .25s ease;
  }

  .site-header__toggle span:nth-child(1) { top: 12px; }
  .site-header__toggle span:nth-child(2) { top: 20px; }
  .site-header__toggle span:nth-child(3) { top: 28px; }

  .site-header.is-open .site-header__toggle span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
  }

  .site-header.is-open .site-header__toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .site-header__toggle span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
  }

  .site-header__nav {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 80px 30px 30px;
    background: rgba(255, 255, 255, .98);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .site-header.is-open .site-header__nav {
    opacity: 1;
    visibility: visible;
  }

  .site-header__nav ul {
    display: grid;
    gap: 26px;
    text-align: center;
  }

  .site-header__nav a {
    font-size: 16px;
  }

  .hero__visual {
    height: 340px;
    overflow: hidden;
  }

  .hero__visual picture {
    display: block;
    height: 100%;
  }

  .hero__visual picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 69% center;
  }

  .hero__catch {
    top: auto;
    bottom: 12px;
    left: 12px;
    width: 260px;
    transform: none;
  }

  .about {
    min-height: 0;
    padding: 85px 20px 105px;
  }

  .section-title--about {
    width: 260px;
  }

  .about__body {
    margin-top: 30px;
  }

  .about__lead {
    font-size: 16px;
  }

  .button {
    margin-top: 38px;
  }

  .section-deco__flower--left {
    top: 240px;
    left: -70px;
    width: 200px;
    transform: none;
  }

  .section-deco__flower--right {
    top: 20px;
    right: -80px;
    left: auto;
    width: 230px;
    transform: none;
  }

  .business {
    padding: 125px 20px 30vw;
  }

  .business::before,
  .business::after {
    height: 55px;
  }

  .business::before {
    top: -55px;
  }

  .business::after {
    bottom: -55px;
  }

  .business__heading {
    margin-bottom: 50px;
  }

  .section-title--business {
    width: 330px;
  }

  .section-heading__ja {
    font-size: 18px;
  }

  .business__list {
    gap: 35px;
  }

  .business-card {
    grid-template-columns: 1fr;
    padding: 35px 25px;
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  }

  .business-card__content {
    padding: 0;
  }

  .business-card__content > p:not(.business-card__notice) {
    margin-top: 25px;
  }

  .business-card__logo {
    max-height: 105px;
    margin: 0 auto;
  }

  .button--business,
  .business-card__notice {
    margin-right: auto;
    margin-left: auto;
  }

  .business-card__image {
    grid-row: 1;
    margin-bottom: 30px;
  }

  .section-deco__circle--left {
    top: 40px;
    left: -160px;
    width: 480px;
    transform: none;
  }

  .section-deco__circle--right {
    top: 900px;
    right: -220px;
    left: auto;
    width: 520px;
    transform: none;
  }

  .business__lines {
    bottom: -132px;
  }

  .section-deco__flower--business {
    right: -55px;
    bottom: -75px;
    width: 210px;
    transform: none;
  }

  .recruit {
    padding: 100px 20px;
    background-position:
      calc(100% + 40px) calc(100% + 10px),
      -60px -20px;
    background-size: 190px auto, 180px auto;
  }

  .recruit__inner {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .recruit__content {
    padding: 0;
  }

  .section-title--recruit {
    width: 260px;
  }

  .recruit__content > p {
    margin-top: 30px;
  }

  .recruit__movie {
    font-size: 20px;
  }

  .contact {
    padding: 65px 20px;
  }

  .contact__inner {
    padding: 8px;
  }

  .contact__box {
    padding: 40px 15px;
  }

  .section-title--contact {
    width: 265px;
  }

  .site-footer {
    padding: 70px 20px 35px;
  }

  .site-footer h2 {
    margin-bottom: 40px;
    font-size: 20px;
  }

  .site-footer__company {
    align-items: flex-start;
    gap: 30px;
  }

  .site-footer__company > img {
    width: 90px;
  }

  .site-footer__company dl > div {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .site-footer__company dt {
    margin-bottom: 2px;
    font-weight: 500;
  }

  .site-footer__company dt::after {
    content: none;
  }

  .site-footer__nav {
    margin-top: 45px;
  }

  .site-footer__nav ul {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .site-footer__nav li + li::before {
    content: none;
  }

  .page-top {
    right: 15px;
    bottom: 15px;
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* About Us
   ========================================================================== */

.about-page {
  padding-bottom: clamp(220px, 18vw, 340px);
  background: #fff;
}

.page-hero {
  position: relative;
  min-height: 545px;
  padding: 220px 40px 150px;
  overflow: visible;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content);
  margin: 0 auto;
}

.page-hero__heading {
  margin: 0;
  text-align: center;
}

.page-hero__heading img {
  width: 365px;
  margin: 0 auto;
}

.page-hero__heading span {
  display: block;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .06em;
}

.page-hero__lines,
.overview__lines {
  position: absolute;
  left: 0;
  width: 100%;
  height: 835px;
  overflow: hidden;
  background: url(../images/top/deco-lines.png) center / 3253px auto no-repeat;
  background-position-x: 60%;
  pointer-events: none;
}

.page-hero__lines {
  top: -35%;
  bottom: auto;
}

.greetings {
  padding: 140px 40px 185px;
}

.greetings::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 145px;
  background: var(--section-bg);
  clip-path: polygon(0 65%, 18% 85%, 38% 100%, 58% 94%, 80% 70%, 100% 78%, 100% 100%, 0 100%);
  content: "";
}

.greetings__inner {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
}

.greetings .section-heading,
.greetings__content {
  position: relative;
  z-index: 4;
}

.section-title--greetings {
  width: 365px;
}

.greetings__body {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 65px;
}

.greetings__image {
  position: relative;
  z-index: 2;
  width: 100%;
}

.greetings__content > p:not(.greetings__signature) {
  margin: 0 0 1em;
  text-align: left;
  font-weight: 400;
}

.greetings__signature {
  margin: 55px 0 0;
  text-align: right;
  font-size: 24px;
  line-height: 1.8;
}

.greetings__signature span {
  font-size: 18px;
}

.greetings__signature strong {
  font-size: 20px;
}

.section-deco__circle--greetings-left {
  z-index: 3;
  bottom: -35px;
  left: -120px;
  width: 500px;
}

.section-deco__circle--greetings-right {
  z-index: 3;
  top: 90px;
  right: -130px;
  width: 470px;
}

.overview {
  position: relative;
  padding: 150px 40px clamp(180px, 12vw, 240px);
  overflow: visible;
  background: var(--section-bg);
}

.overview::after {
  position: absolute;
  z-index: 0;
  bottom: -8vw;
  left: 0;
  width: 100%;
  height: 8vw;
  background: url(../images/top/bg-wave-bottom.svg) center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.overview__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin: 0 auto;
}

.section-title--overview {
  width: 365px;
}

.overview__panel {
  margin-top: 75px;
  padding: 62px 80px;
  background: #fff;
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}

.company-data {
  margin: 0;
}

.company-data__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid #ccc;
}

.company-data__row:first-child {
  padding-top: 0;
}

.company-data__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-data dt,
.company-data dd {
  margin: 0;
  font-weight: 500;
  line-height: 1.2;
}

.company-data dt {
  font-weight: bold;
  text-align: right;
}

.company-data__row:not(.company-data__row--business) dd {
  padding-left: 1em;
  padding-right: 1em;
}

.company-data address {
  font-style: normal;
}

.company-data__map {
  width: 220px;
  margin: 18px 0 0 auto;
}

.company-business {
  padding-right: 1em;
  padding-left: 1em;
}

.company-business + .company-business {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px dotted #999;
}

.company-business h3 {
  position: relative;
  margin: 0 0 18px;
  padding-left: 1.2em;
  font-size: 18px;
  font-weight: bold;
}

.company-business h3::before,
.staff-list li::before {
  position: absolute;
  top: .72em;
  left: 0;
  width: .75em;
  height: .75em;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.company-business__detail {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  align-items: center;
  padding-left: 1.2em;
}

.company-business__detail > img {
  width: 100%;
  max-height: 115px;
  object-fit: contain;
}

.company-business__detail p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.company-business__button,
.company-business__notice {
  width: 220px;
  margin: 20px 0 0 auto;
}

.company-business__notice {
  padding: 8px 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.staff-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-list li {
  position: relative;
  display: grid;
  grid-template-columns: 215px 1fr;
  padding-left: 1.2em;
  line-height: 1.55;
}

.staff-list li::before {
  top: .35em;
}

.staff-list li span:first-child::after {
  float: right;
  margin-right: 1em;
  content: "…";
}

.overview__lines {
  z-index: 1;
  bottom: max(-15vw, -300px);
}

@media (min-width: 3253px) {
  .page-hero__lines,
  .overview__lines {
    height: 25.67vw;
    background-size: 100vw auto;
  }
}

@media (max-width: 900px) {
  .greetings__body {
    grid-template-columns: minmax(208px, 304px) minmax(0, 1fr);
    gap: 40px;
  }

  .overview__panel {
    padding: 50px 45px;
  }

  .company-data__row {
    grid-template-columns: 125px 1fr;
    gap: 24px;
  }

  .company-business__detail {
    grid-template-columns: 210px 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 390px;
    padding: 150px 20px 110px;
  }

  .page-hero__heading img,
  .section-title--greetings,
  .section-title--overview {
    width: 260px;
  }

  .page-hero__heading span {
    margin-top: 10px;
    font-size: 18px;
  }

  .page-hero__lines {
    top: unset;
    bottom: -20%;
  }

  .greetings {
    padding: 75px 20px 130px;
  }

  .greetings::after {
    height: 80px;
  }

  .greetings__body {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }

  .greetings__image {
    width: min(80%, 336px);
    margin: 0 auto;
  }

  .greetings__signature {
    margin-top: 35px;
  }

  .section-deco__circle--greetings-left {
    bottom: -20px;
    left: -150px;
    width: 330px;
  }

  .section-deco__circle--greetings-right {
    top: 130px;
    right: -130px;
    width: 300px;
  }

  .overview {
    padding: 100px 20px 220px;
  }

  .overview::after {
    bottom: -55px;
    height: 55px;
  }

  .overview__panel {
    margin-top: 45px;
    padding: 35px 25px;
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  }

  .company-data__row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .company-data dt {
    text-align: left;
  }

  .company-data__row--staff dt br {
    display: none;
  }

  .company-data__map {
    margin-left: auto;
    margin-right: auto;
  }

  .company-business__detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .company-business__detail > img {
    width: min(100%, 250px);
    margin: 0 auto;
  }

  .company-business__button,
  .company-business__notice {
    margin-right: auto;
    margin-left: auto;
  }

  .staff-list li {
    grid-template-columns: 1fr;
    margin-bottom: 6px;
  }

  .staff-list li span:first-child::after {
    content: none;
  }

  .overview__lines {
    bottom: -155px;
  }
}

/* Recruit
   ========================================================================== */

.recruit-page {
  background: #fff;
  font-weight: 500;
}

.recruit-hero {
  position: relative;
  padding: 240px 40px 130px;
  overflow: visible;
  background: #fff;
}

.recruit-hero::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 145px;
  background: var(--section-bg);
  clip-path: polygon(0 65%, 18% 85%, 38% 100%, 58% 94%, 80% 70%, 100% 78%, 100% 100%, 0 100%);
  content: "";
}

.recruit-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin: 0 auto;
  text-align: center;
}

.recruit-hero__heading {
  margin: 0;
}

.recruit-hero__heading img {
  width: 285px;
  margin: 0 auto;
}

.recruit-hero__heading span {
  display: block;
  margin-top: 18px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .06em;
}

.recruit-hero__lead {
  margin: 95px auto 0;
  text-align: center;
  font-size: 18px;
}

.recruit-hero__movie {
  display: grid;
  place-items: center;
  width: min(100%, 800px);
  aspect-ratio: 16 / 9;
  margin: 95px auto 0;
  background: #aaa;
  color: #111;
  font-size: 32px;
}

.recruit-hero__movie p {
  margin: 0;
}

.recruit-hero__circle {
  position: absolute;
  z-index: 1;
  width: 560px;
  pointer-events: none;
}

.recruit-hero__circle--left {
  top: 360px;
  left: -330px;
}

.recruit-hero__circle--right {
  top: 100px;
  right: -310px;
}

.recruit-hero__lines,
.job-details__lines {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -330px;
  left: 0;
  height: 835px;
  background: url(../images/top/deco-lines.png) 55% center / 3253px auto no-repeat;
  pointer-events: none;
}

.recruit-hero__lines {
  display: none;
}

.job-details {
  position: relative;
  padding: 190px 40px 330px;
  background: var(--section-bg);
}

.job-details::after {
  position: absolute;
  z-index: 2;
  bottom: -8vw;
  left: 0;
  width: 100%;
  height: 8vw;
  background: url(../images/top/bg-wave-bottom.svg) center / 100% 100% no-repeat;
  content: "";
  pointer-events: none;
}

.job-details__inner {
  position: relative;
  z-index: 4;
  max-width: var(--content);
  margin: 0 auto;
}

.section-title--job {
  width: 420px;
}

.job-details__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  width: min(100%, 1075px);
  margin-top: 95px;
  margin-right: auto;
  margin-left: auto;
}

.job-details__nav .button {
  width: 100%;
  margin: 0;
  background: #fff;
  font-size: 18px;
}

.job-details__list {
  display: grid;
  gap: 115px;
  width: min(100%, 1000px);
  margin-top: 95px;
  margin-right: auto;
  margin-left: auto;
}

.job-card {
  scroll-margin-top: 150px;
  background: #fff;
  clip-path: polygon(28px 0, calc(100% - 28px) 0, 100% 28px, 100% calc(100% - 28px), calc(100% - 28px) 100%, 28px 100%, 0 calc(100% - 28px), 0 28px);
}

.job-card__title {
  position: relative;
  margin: 0;
  padding: 25px 40px;
  background: var(--accent);
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .05em;
  text-align: center;
}

.job-card__title::after {
  position: absolute;
  bottom: -24px;
  left: 50%;
  width: 38px;
  height: 25px;
  background: url(../images/recruit/recruit-triangle.svg) center / contain no-repeat;
  content: "";
  transform: translateX(-50%);
}

.job-card__data {
  margin: 0;
  padding: 60px 80px 75px;
}

.job-card__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 35px;
  padding: 1em 0;
  border-bottom: 1px solid #ccc;
}

.job-card__row:first-child {
  padding-top: 0;
}

.job-card__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.job-card__row dt,
.job-card__row dd {
  margin: 0;
  padding: 0 1em;
}

.job-card__row dt {
  font-weight: bold;
  text-align: right;
}

.job-card__row p {
  margin: 0;
}

.job-card__row ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.job-card__row li {
  position: relative;
  padding-left: 1.2em;
}

.job-card__row li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: .7em;
  height: .7em;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.job-card__subheading {
  margin-top: 30px !important;
}

.job-card__service {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px dotted #999;
}

.job-details__lines--top {
  z-index: 3;
  top: -650px;
  bottom: auto;
}

.job-details__lines--bottom {
  z-index: 3;
  bottom: max(-15vw, -300px);
}

.entry-form {
  position: relative;
  z-index: 2;
  padding: clamp(260px, 20vw, 380px) 40px 180px;
  background: #fff;
}

.entry-form__inner {
  max-width: var(--content);
  margin: 0 auto;
}

.section-title--entry {
  width: 416px;
}

.application-form {
  position: relative;
  margin-top: 95px;
  padding: 75px 80px;
  background: var(--accent);
  clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% calc(100% - 24px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 24px), 0 24px);
}

.application-form::before {
  position: absolute;
  z-index: 0;
  inset: 1px;
  background: #fff;
  clip-path: polygon(23px 0, calc(100% - 23px) 0, 100% 23px, 100% calc(100% - 23px), calc(100% - 23px) 100%, 23px 100%, 0 calc(100% - 23px), 0 23px);
  content: "";
}

.application-form > * {
  position: relative;
  z-index: 1;
}

.application-form__required {
  margin: 0 0 40px;
  text-align: center;
  font-size: 14px;
}

.application-form__required span,
.application-form__row > label > span,
.application-form__label span {
  color: #e85e69;
}

.application-form__fields {
  display: grid;
  gap: 22px;
}

.application-form__row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  align-items: start;
  min-width: 0;
  padding: 0;
  border: 0;
  margin: 0;
}

.application-form__row > label,
.application-form__label {
  padding-top: 9px;
  margin: 0;
  font-weight: 500;
  text-align: right;
}

.application-form__row > label small {
  display: block;
  font-weight: 400;
}

.application-form__row > div {
  min-width: 0;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form input[type="date"],
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #999;
  border-radius: 0;
  background: #fff;
  color: #222;
  font: inherit;
  line-height: 1.5;
}

.application-form input[type="date"] {
  max-width: 260px;
}

.application-form select {
  max-width: 430px;
}

#applicant-name,
#applicant-kana,
#applicant-tel,
#applicant-birthday,
#available-date,
#desired-position,
#contact-name,
#contact-kana,
#contact-tel {
  max-width: 260px;
}

.application-form textarea {
  display: block;
  resize: vertical;
}

.application-form small {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.6;
}

.application-form__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 7px;
}

.application-form__options label,
.application-form__confirm label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.application-form input[type="radio"],
.application-form input[type="checkbox"] {
  width: 1em;
  height: 1em;
  margin: 0;
  accent-color: var(--accent);
}

.application-form__confirm input[type="checkbox"] {
  flex: 0 0 auto;
  border: 1px solid var(--text);
  border-radius: 50%;
  appearance: none;
}

.application-form__confirm input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #fff;
}

.application-form__confirm input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.application-form input[type="file"] {
  max-width: 100%;
  color: var(--text);
  font: inherit;
}

.application-form input[type="file"]::file-selector-button {
  margin-right: 1em;
  padding: 10px 50px 10px 18px;
  border: 0;
  background: var(--accent) url(../images/common/arrow1-white.svg) calc(100% - 18px) center / 19px auto no-repeat;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.application-form__file-control {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .5em 1em;
  align-items: center;
  width: 100%;
}

.application-form__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.application-form__file-button {
  flex: 0 0 auto;
  padding: 10px 50px 10px 18px;
  background: var(--accent) url(../images/common/arrow1-white.svg) calc(100% - 18px) center / 19px auto no-repeat;
  color: #fff;
  line-height: 1.5;
  cursor: pointer;
}

.application-form__file-input:focus-visible + .application-form__file-button {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.application-form__file-name {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.application-form__confirm {
  padding-top: 45px;
  margin-top: 55px;
  border-top: 1px solid #999;
  text-align: center;
}

.application-form__confirm p {
  margin: 0 0 30px;
}

.application-form__actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 55px;
}

.application-form__submit,
.application-form__reset {
  position: relative;
  width: 250px;
  padding: 15px 50px;
  border: 1px solid var(--accent);
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

.application-form__submit {
  background: var(--accent);
  color: #fff;
}

.application-form__submit img {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 19px;
  filter: brightness(0) invert(1);
  transform: translateY(-50%);
}

.application-form__reset {
  border-color: #dadada;
  background: #dadada;
  color: #333;
}

/* Contact
   ========================================================================== */

.contact-page {
  background: #fff;
}

.contact-page .page-hero {
  z-index: 1;
}

.contact-main {
  position: relative;
  padding: 160px 40px 220px;
  overflow: hidden;
  background: #fff;
}

.contact-main__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin: 0 auto;
}

.application-form--contact {
  width: min(100%, 1000px);
  margin: 0 auto;
}

.contact-main__circle {
  position: absolute;
  z-index: 0;
  width: 560px;
  pointer-events: none;
}

.contact-main__circle--right {
  top: 320px;
  right: -310px;
}

.contact-main__circle--left {
  bottom: 70px;
  left: -330px;
}

/* Mail form result
   ========================================================================== */

.mail-main {
  min-height: 70vh;
  padding: 220px 40px 140px;
  background: #fff;
}

.mail-main__inner {
  max-width: var(--content);
  margin: 0 auto;
}

#formWrap {
  width: min(100%, 800px);
  margin: 0 auto;
  color: var(--text);
}

.mail-title {
  margin: 0;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
}

.mail-lead,
.mail-complete {
  margin: 25px 0 45px;
  text-align: center;
}

table.formTable {
  width: 100%;
  border-collapse: collapse;
}

table.formTable th,
table.formTable td {
  padding: 16px 20px;
  border: 1px solid #ccc;
  overflow-wrap: anywhere;
}

table.formTable th {
  width: 30%;
  background: var(--section-bg);
  font-weight: 500;
  text-align: left;
}

.mail-actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.mail-actions input,
.mail-actions a,
.mail-error input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  min-height: 58px;
  padding: 12px 28px;
  border: 0;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.mail-actions input[type="button"],
.mail-error input {
  background: #dadada;
  color: var(--text);
}

.mail-actions input[type="submit"],
.mail-actions a {
  padding-right: 55px;
  padding-left: 55px;
  background-image: url(../images/common/arrow1-white.svg);
  background-position: calc(100% - 20px) center;
  background-size: 19px auto;
  background-repeat: no-repeat;
}

.mail-actions a {
  white-space: nowrap;
}

.mail-error {
  text-align: center;
}

.mail-error h1 {
  margin: 0 0 30px;
  font-size: 24px;
}

.error_messe {
  margin: 5px 0;
  color: #c00;
}

@media (min-width: 3253px) {
  .recruit-hero__lines,
  .job-details__lines {
    height: 25.67vw;
    background-size: 100vw auto;
  }
}

@media (max-width: 900px) {
  .job-card__data,
  .application-form {
    padding-right: 45px;
    padding-left: 45px;
  }

  .application-form__row {
    grid-template-columns: 160px 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .recruit-hero {
    padding: 150px 20px 90px;
  }

  .recruit-hero__heading img {
    width: 230px;
  }

  .recruit-hero__heading span {
    margin-top: 10px;
    font-size: 18px;
  }

  .recruit-hero__lead {
    margin-top: 55px;
    text-align: left;
  }

  .recruit-hero__movie {
    margin-top: 55px;
    font-size: 20px;
  }

  .recruit-hero__circle {
    width: 310px;
  }

  .recruit-hero__circle--left {
    top: 390px;
    left: -220px;
  }

  .recruit-hero__circle--right {
    top: 80px;
    right: -210px;
  }   

  .recruit-hero__lines {
    bottom: -230px;
  }

  .recruit-hero::after {
    height: 80px;
  }

  .job-details {
    padding: 130px 20px 230px;
  }

  .job-details::after {
    bottom: -55px;
    height: 55px;
  }

  .section-title--job,
  .section-title--entry {
    width: min(100%, 310px);
  }

  .job-details__nav {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 55px;
  }

  .job-details__nav .button {
    max-width: 340px;
    margin: 0 auto;
  }

  .job-details__list {
    gap: 65px;
    margin-top: 65px;
  }

  .job-card {
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  }

  .job-card__title {
    padding: 20px 25px;
    font-size: 18px;
  }

  .job-card__data {
    padding: 50px 1em;
  }

  .job-card__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 0;
  }

  .job-card__row dt {
    text-align: left;
  }

  .job-details__lines--top {
    top: -680px;
  }

  .job-details__lines--bottom {
    bottom: -155px;
  }

  .entry-form {
    padding: 220px 20px 110px;
  }

  .application-form {
    margin-top: 55px;
    padding: 45px 22px;
    clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  }

  .application-form::before {
    clip-path: polygon(17px 0, calc(100% - 17px) 0, 100% 17px, 100% calc(100% - 17px), calc(100% - 17px) 100%, 17px 100%, 0 calc(100% - 17px), 0 17px);
  }

  .application-form__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .application-form__row > label,
  .application-form__label {
    padding-top: 0;
    text-align: left;
  }

  .application-form__row--textarea > label br {
    display: none;
  }

  .application-form__file-control {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  .application-form__options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .application-form__confirm {
    text-align: left;
  }

  .application-form__confirm p {
    font-size: 14px;  
  }

  .application-form__actions {
    flex-direction: column;
    gap: 18px;
  }

  .application-form__submit,
  .application-form__reset {
    width: 100%;
  }

  .contact-main {
    padding: 100px 20px 110px;
  }

  .application-form--contact {
    margin-top: 0;
  }

  .contact-main__circle {
    width: 310px;
  }

  .contact-main__circle--right {
    top: 260px;
    right: -220px;
  }

  .contact-main__circle--left {
    bottom: 70px;
    left: -220px;
  }

  .mail-main {
    padding: 150px 20px 90px;
  }

  .mail-title {
    font-size: 24px;
  }

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

  table.formTable th {
    border-bottom: 0;
  }

  table.formTable td + th {
    margin-top: 8px;
  }

  .mail-actions {
    flex-direction: column;
    gap: 18px;
  }

  .mail-actions input,
  .mail-actions a,
  .mail-error input {
    width: 100%;
  }

}
