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

html,
body {
  margin: 0;
  padding: 0;
}

ul,
ol,
dl,
dt,
dd,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

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

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  margin: 0;
}

textarea {
  resize: vertical;
}

input[type=submit],
input[type=button],
input[type=checkbox],
input[type=file],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

address {
  font-style: normal;
}

:root {
  --color-base: #FFFFFF;
  --color-base-rgb: 255, 255, 255;
  --color-gray: #f5f5f5;
  --color-body: #333333;
  --color-primary: #2F1F48;
  --color-primary-rgb: 47, 31, 72;
  --color-primary-contrast: #FFFFFF;
  --color-secondary: #CAC4CE;
  --color-secondary-rgb: 202, 196, 206;
  --color-accent: #6BA299;
  --color-accent-rgb: 107, 162, 153;
  --color-accent-contrast: #FFFFFF;
  --color-error: #F76C5E;
  --color-error-rgb: 247, 108, 94;
  --fontJp: "Noto Sans JP", sans-serif;
  --fontEn: "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--fontJp);
  color: var(--color-body);
  font-size: 100%;
  line-height: 1;
  background-color: var(--color-base);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  text-decoration: none;
  color: var(--color-body);
  display: block;
}

small {
  font-size: 0.8125rem;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: var(--color-primary) solid 2px;
}

.l-header {
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  transition: background-color 0.2s;
}
@media screen and (min-width: 768px) {
  .l-header {
    height: 80px;
  }
}

.l-header__inner {
  width: 1400px;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: inherit;
}
@media screen and (min-width: 768px) {
  .l-header__inner {
    padding: 0 40px;
  }
}

.l-home {
  overflow-x: hidden;
}

.l-keyVisual {
  width: 100%;
  padding-top: 60px;
  background-color: var(--color-primary);
}
@media screen and (min-width: 768px) {
  .l-keyVisual {
    padding-top: 0;
    background-color: #000;
  }
}

/*=============================
common
=============================*/
.l-section {
  width: 100%;
  position: relative;
}

.l-section__inner {
  width: 1360px;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
}
@media screen and (min-width: 768px) {
  .l-section__inner {
    padding: 0 40px;
  }
}

/*=============================
service
=============================*/
.l-service {
  padding-top: 60px;
  background-color: var(--color-gray);
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .l-service {
    padding-top: 80px;
  }
}

/*=============================
works
=============================*/
.l-works {
  padding-top: 40px;
  padding-bottom: 60px;
  background-color: var(--color-base);
  position: static;
}
@media screen and (min-width: 768px) {
  .l-works {
    padding-top: 100px;
    padding-bottom: 120px;
  }
}

/*=============================
movie
=============================*/
.l-movie {
  padding-top: 20px;
  padding-bottom: 40px;
  background-color: var(--color-secondary);
}
.l-movie::before, .l-movie::after {
  content: "";
  display: block;
  width: 100vw;
  height: 8vw;
  left: 50%;
  position: absolute;
  background: url(../img/Bg_triangle.svg) no-repeat bottom -2px center/cover;
}
.l-movie::before {
  top: calc(-8vw + 1px);
  transform: translateX(-50%) rotateY(180deg);
}
.l-movie::after {
  bottom: calc(-8vw + 1px);
  transform: translateX(-50%) rotate(180deg);
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .l-movie {
    padding-bottom: 60px;
  }
}

/*=============================
about
=============================*/
.l-about {
  background-color: var(--color-gray);
  padding-top: 60px;
  padding-bottom: 60px;
}

/*=============================
contact
=============================*/
.l-contact {
  background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0) 90%, rgba(var(--color-primary-rgb), 1) 100%), url(../img/temp_image.jpg);
  padding: 60px 15px 120px;
}
@media screen and (min-width: 768px) {
  .l-contact {
    padding: 100px 40px 140px;
  }
}

.l-contact__inner {
  width: 600px;
  padding: 28px 16px;
  border-radius: 4px;
  background-color: var(--color-base);
}
@media screen and (min-width: 768px) {
  .l-contact__inner {
    width: 900px;
    padding: 40px;
  }
}

.l-footer {
  width: 100%;
  position: relative;
  background-color: var(--color-primary);
  padding: 32px 0;
}
@media screen and (min-width: 768px) {
  .l-footer {
    padding: 40px 0;
  }
}

.l-footer__inner {
  width: 1360px;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
  position: relative;
}
@media screen and (min-width: 768px) {
  .l-footer__inner {
    padding: 0 40px;
  }
}

.c-button {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
  color: var(--color-base);
  height: 100%;
  padding: 8px;
  transition: filter 0.2s, transform 0.2s, border-radius 0.2s;
}
.c-button:hover {
  filter: brightness(110%);
}
@media screen and (min-width: 768px) {
  .c-button {
    padding-top: 16px;
  }
  .c-button:hover {
    transform: translateY(8px);
    border-radius: 0 0 8px 8px;
  }
}

.c-button--tel {
  width: 240px;
  background-color: var(--color-accent);
  font-size: 19px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-radius: 8px 0 0 0;
}
.c-button--tel span {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-weight: 700;
  width: 100%;
  text-align: center;
  color: var(--color-primary);
}
@media screen and (min-width: 768px) {
  .c-button--tel {
    width: 200px;
    border-radius: 0 0 0 8px;
  }
}

.c-button--form {
  width: 80px;
  background-color: var(--color-primary);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
  border-radius: 0 8px 0 0;
}
@media screen and (min-width: 768px) {
  .c-button--form {
    border-radius: 0 0 8px 0;
  }
}

.c-button__area {
  height: 70px;
  position: fixed;
  justify-content: center;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  z-index: 50;
  display: flex;
  box-shadow: 0px -4px 16px 0px rgba(var(--color-primary-rgb), 0.2);
  border-radius: 0 0 8px 8px;
  transition: all 0.2s;
}
.c-button__area.is-end {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0px 4px 16px 0px rgba(var(--color-primary-rgb), 0.2);
}
.c-button__area.is-end .c-button--tel {
  border-radius: 8px 0 0 8px;
}
.c-button__area.is-end .c-button--form {
  border-radius: 0 8px 8px 0;
}
@media screen and (min-width: 768px) {
  .c-button__area {
    position: fixed;
    height: 78px;
    top: -88px;
    right: 7.5757575758%;
    bottom: none;
    transform: none;
    box-shadow: 0px 4px 16px 0px rgba(var(--color-primary-rgb), 0.2);
  }
  .c-button__area.is-show {
    top: -8px;
  }
}

.c-section__titlearea {
  display: inline-block;
  padding-top: 16px;
  position: relative;
}
@media screen and (min-width: 768px) {
  .c-section__titlearea {
    padding-top: 20px;
  }
}

.c-section__titlearea--center {
  left: 50%;
  transform: translateX(-50%);
}

.c-section__titleEn {
  position: absolute;
  top: 0;
  right: -40px;
  height: 34px;
}
.c-section__titleEn img {
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 768px) {
  .c-section__titleEn {
    height: 45px;
  }
}

.c-section__titleJp {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
}
.c-section__titleJp::before, .c-section__titleJp::after {
  content: "";
  display: block;
  width: 54%;
  height: 1px;
  background-color: var(--color-secondary);
  position: absolute;
  transition: all 0.3s ease 0.5s;
  opacity: 0;
  transform: scaleX(0);
}
.c-section__titleJp::before {
  top: 0;
  left: 0;
  transform-origin: left;
}
.c-section__titleJp::after {
  bottom: 0;
  right: 0;
  transform-origin: right;
}
.c-section__titleJp.is-show::before, .c-section__titleJp.is-show::after {
  transform: scaleX(1);
  opacity: 1;
}
@media screen and (min-width: 768px) {
  .c-section__titleJp {
    font-size: 32px;
  }
}

.c-section__titleJp--long::before, .c-section__titleJp--long::after {
  width: 71%;
}

.c-section__titleJp--light::before, .c-section__titleJp--light::after {
  background-color: var(--color-base);
}

.c-section__text {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-top: 20px;
}
.c-section__text + .c-section__text {
  margin-top: 0;
}

.c-section__text--center {
  text-align: center;
}

.p-header__siteName {
  display: flex;
  flex-direction: row;
  gap: 4px;
  align-items: baseline;
}
.p-header__siteName a {
  transition: filter 0.2s;
}
.p-header__siteName a:hover {
  filter: brightness(120%);
}
.p-header__siteName svg {
  width: 155px;
  filter: drop-shadow(3px 3px 10px rgba(0, 0, 0, 0.2));
}
.p-header__siteName svg .cls-2 {
  fill: #2f1f48;
  transition: fill 0.2s;
}
.p-header__siteName span {
  color: var(--color-primary);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-weight: 400;
  transition: color 0.2s;
  white-space: nowrap;
}
.p-header__siteName.is-light svg .cls-2 {
  fill: #fff;
}
.p-header__siteName.is-light span {
  color: var(--color-base);
}
@media screen and (min-width: 768px) {
  .p-header__siteName {
    gap: 8px;
  }
  .p-header__siteName svg {
    width: 220px;
  }
  .p-header__siteName span {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 400;
  }
}

.p-footer__contents {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-secondary);
}
@media screen and (min-width: 768px) {
  .p-footer__contents {
    gap: 32px;
    padding-bottom: 52px;
  }
}

.p-footer__siteName {
  text-align: center;
  transition: filter 0.2s, transform 0.2s;
  width: fit-content;
  margin: 0 auto;
}
.p-footer__siteName:hover {
  filter: brightness(120%);
  transform: scale(1.05);
}
.p-footer__siteName svg {
  width: 208px;
}
.p-footer__siteName svg .cls-2 {
  fill: #fff;
}
@media screen and (min-width: 768px) {
  .p-footer__siteName svg {
    width: 233px;
  }
}

.p-footerNav__list {
  display: flex;
  width: fit-content;
  gap: 16px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .p-footerNav__list {
    gap: 32px;
  }
}

.p-footerNav__item a {
  color: var(--color-base);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 700;
  transition: opacity 0.2s;
}
.p-footerNav__item a:hover {
  opacity: 0.7;
}
@media screen and (min-width: 768px) {
  .p-footerNav__item {
    font-size: 19px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    font-weight: 700;
  }
}

.p-footerNav__button {
  margin: 0 auto;
}

.p-footer__copyright {
  text-align: center;
  color: var(--color-base);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  font-weight: 400;
  padding-top: 20px;
}
@media screen and (min-width: 768px) {
  .p-footer__copyright {
    padding-top: 32px;
  }
}

.p-keiVisual__video {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 100svh;
  aspect-ratio: 16/9;
}
.p-keiVisual__video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===============================================
  service
================================================*/
.p-service__List {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  position: relative;
  z-index: 2;
}
@media screen and (min-width: 768px) {
  .p-service__List {
    gap: 32px;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 52px;
  }
}

.p-service__item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
}
.p-service__item:nth-child(2n) {
  flex-direction: row-reverse;
}
.p-service__item:nth-child(2n) .p-serviceItem__textarea {
  text-align: right;
}
.p-service__item:nth-child(1) .p-serviceItem__image {
  background-image: linear-gradient(-45deg, rgba(var(--color-secondary-rgb), 0.35), rgba(var(--color-primary-rgb), 0.35)), url("../img/Image_service01.png");
}
.p-service__item:nth-child(2) .p-serviceItem__image {
  background-image: linear-gradient(-45deg, rgba(var(--color-secondary-rgb), 0.35), rgba(var(--color-primary-rgb), 0.35)), url("../img/Image_service02.png");
}
.p-service__item:nth-child(3) .p-serviceItem__image {
  background-image: linear-gradient(-45deg, rgba(var(--color-secondary-rgb), 0.35), rgba(var(--color-primary-rgb), 0.35)), url("../img/Image_service03.png");
  background-position: center left 30%;
}
.p-service__item:nth-child(4) .p-serviceItem__image {
  background-image: linear-gradient(-45deg, rgba(var(--color-secondary-rgb), 0.35), rgba(var(--color-primary-rgb), 0.35)), url("../img/Image_service04.png");
}
.p-service__item:nth-child(5) .p-serviceItem__image {
  background-image: linear-gradient(-45deg, rgba(var(--color-secondary-rgb), 0.35), rgba(var(--color-primary-rgb), 0.35)), url("../img/Image_service05.png");
}
.p-service__item:nth-child(6) .p-serviceItem__image {
  background-image: url("../img/Image_service06.png");
  background-size: 200%;
}
@media screen and (min-width: 768px) {
  .p-service__item {
    flex: 1 0 calc(50% - 32px);
    gap: 16px;
  }
  .p-service__item:nth-child(2n) {
    flex-direction: row;
  }
  .p-service__item:nth-child(2n) .p-serviceItem__textarea {
    text-align: left;
  }
}

.p-serviceItem__image {
  width: 40%;
  min-width: 138px;
  height: 138px;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 10px 0px rgba(var(--color-primary-rgb), 0.2);
}
.p-serviceItem__image::before {
  content: "";
  display: block;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border: 1px solid var(--color-gray);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.p-serviceItem__title {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--color-primary);
}
@media screen and (min-width: 768px) {
  .p-serviceItem__title {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 700;
  }
}

.p-serviceItem__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-top: 8px;
}

.p-service__othersWrapper {
  width: 100vw;
  background-color: var(--color-secondary);
  padding: 20px 0;
  margin: 20px calc(50% - 50vw);
  position: relative;
}
.p-service__othersWrapper::before, .p-service__othersWrapper::after {
  content: "";
  display: block;
  width: 100vw;
  height: 8vw;
  position: absolute;
  left: 50%;
  background: url(../img/Bg_triangle.svg) no-repeat bottom -1px center/cover;
}
.p-service__othersWrapper::before {
  top: calc(-8vw + 1px);
  transform: translateX(-50%);
}
.p-service__othersWrapper::after {
  bottom: calc(-8vw + 1px);
  transform: translateX(-50%) rotateX(180deg);
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-service__othersWrapper {
    padding: 32px 0;
    margin-top: 32px;
  }
}

.p-service__others {
  width: 1360px;
  max-width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .p-service__others {
    padding: 0 40px;
  }
}
@media screen and (min-width: 768px) {
  .p-service__others {
    display: flex;
    gap: 40px;
  }
}

.p-serviceOthers__title {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-primary);
}
@media screen and (min-width: 768px) {
  .p-serviceOthers__title {
    width: 400px;
    hright: 100%;
    display: block;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid var(--color-primary);
  }
}

.p-serviceOthers__List {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
@media screen and (min-width: 768px) {
  .p-serviceOthers__List {
    margin-top: 0;
    gap: auto;
    flex-direction: row;
    justify-content: space-between;
  }
}

.p-serviceOthers__item {
  padding-left: 40px;
  position: relative;
}
.p-serviceOthers__item::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../img/icon-relume.png) no-repeat center center/100% 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.p-serviceOthersItem__title {
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--color-primary);
}

.p-serviceOthersItem__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
  margin-top: 8px;
}

/* ===============================================
  works
================================================*/
.p-works__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
@media screen and (min-width: 768px) {
  .p-works__list {
    max-width: 900px;
    margin: 52px auto 0;
    gap: 16px;
  }
}

.p-works__item {
  display: flex;
  flex-direction: column;
  padding: 0px 8px 14px 8px;
  border-bottom: 2px solid var(--color-secondary);
  gap: 8px;
}
@media screen and (min-width: 768px) {
  .p-works__item {
    padding: 0px 20px 18px 20px;
    gap: 20px;
    flex-direction: row;
    align-items: center;
  }
}

.p-worksItem__tag {
  width: 120px;
  padding: 2px 8px 4px 8px;
  background-color: var(--color-accent);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--color-base);
  text-align: center;
}

.p-worksItem__titlearea {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
@media screen and (min-width: 768px) {
  .p-worksItem__titlearea {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
}

.p-worksItem__title {
  width: 100%;
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-worksItem__title {
    font-size: 20px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 700;
  }
}

.p-worksItem__client {
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
  position: relative;
  padding: 0 12px;
  white-space: nowrap;
}
.p-worksItem__client::before, .p-worksItem__client::after {
  content: "";
  display: block;
  width: 4.5px;
  height: 20px;
  background: url(../img/Deco-works-client.svg) no-repeat center center/100% 100%;
  position: absolute;
  top: 1px;
}
.p-worksItem__client::before {
  left: 0;
}
.p-worksItem__client::after {
  right: 0;
  transform: rotateY(180deg);
}
@media screen and (min-width: 768px) {
  .p-worksItem__client {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 700;
  }
}

.p-works__note {
  color: var(--color-accent);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 700;
  margin-top: 8px;
  text-align: right;
}
@media screen and (min-width: 768px) {
  .p-works__note {
    max-width: 900px;
    margin: 12px auto 0;
  }
}

/* ===============================================
  movie
================================================*/
.p-movie__contents {
  margin: 32px auto 0 auto;
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16/9;
  box-shadow: 0px 0px 10px 0px rgba(var(--color-primary-rgb), 0.2);
}
.p-movie__contents video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media screen and (min-width: 768px) {
  .p-movie__contents {
    margin-top: 52px;
  }
}

/* ===============================================
  about
================================================*/
.p-about__titleEn {
  position: static;
  width: fit-content;
}

.p-about__contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
@media screen and (min-width: 768px) {
  .p-about__contents {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
}

.p-about__photo {
  width: clamp(280px, 80%, 400px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.p-about__photo img {
  height: 100%;
  object-fit: cover;
}
@media screen and (min-width: 768px) {
  .p-about__photo {
    margin: 0;
  }
}

.p-about__mainarea {
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.p-about__name {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-primary);
}
.p-about__name rt {
  width: 100%;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  font-weight: 400;
  padding-bottom: 2px;
}
@media screen and (min-width: 768px) {
  .p-about__name {
    font-size: 32px;
  }
}

.p-about__birthplace {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.p-about__career {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  gap: 16px;
  position: relative;
}
.p-about__career::before {
  content: "";
  display: block;
  width: 2px;
  height: 100%;
  background-color: var(--color-secondary);
  position: absolute;
  top: 0;
  left: 27px;
}
.p-about__career .p-aboutCareer__line:last-child {
  background-color: var(--color-gray);
  z-index: 1;
}

.p-aboutCareer__line {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  gap: 24px;
}
.p-aboutCareer__line dt {
  flex: 0 0 54px;
  background-color: var(--color-gray);
  text-align: center;
  position: relative;
}
.p-aboutCareer__line dd {
  width: calc(100% - 54px);
}

.p-about__image {
  width: 100px;
  height: 100px;
  grid-column: 1/2;
  grid-row: 3/4;
  position: relative;
  margin-top: 24px;
  margin-left: auto;
  align-self: flex-end;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-about__image {
    width: 150px;
    height: 150px;
    grid-column: 2/3;
    grid-row: 1/3;
    margin-top: 0;
    margin-left: 50px;
  }
}
.p-about__image img {
  background-color: var(--color-primary);
}

/* ===============================================
  contact
================================================*/
.p-contact__formWrapper {
  width: 700px;
  max-width: 100%;
  margin: 32px auto 0;
}
@media screen and (min-width: 768px) {
  .p-contact__formWrapper {
    margin-top: 52px;
  }
}

.p-contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .p-contact__form {
    gap: 32px;
  }
}

.p-contactForm__error {
  text-align: center;
}

.p-contactForm__message {
  color: var(--color-error);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.p-contactForm__item {
  display: flex;
  gap: 4px;
  flex-direction: column;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-contactForm__item {
    flex-direction: row;
    gap: 24px;
    align-items: baseline;
  }
}

.p-contactForm__label {
  color: var(--color-primary);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-contactForm__label {
    padding-right: 60px;
    position: relative;
    flex: 0 0 210px;
    text-align: center;
    line-height: 40px;
  }
}

.p-contactForm__required {
  color: var(--color-primary-contrast);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
  padding: 2px 8px;
  background-color: var(--color-error);
  white-space: nowrap;
  margin-left: 16px;
}
@media screen and (min-width: 768px) {
  .p-contactForm__required {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.p-contactForm__input {
  width: 100%;
  padding: 8px 12px;
  background-color: var(--color-gray);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--color-body);
  line-height: 40px;
}
.p-contactForm__input::placeholder {
  color: var(--color-secondary);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.p-contactForm__input.is-error {
  outline: 2px solid var(--color-error);
}
@media screen and (min-width: 768px) {
  .p-contactForm__input {
    padding: 0 16px;
  }
}

.p-contactForm__textarea {
  width: 100%;
  height: 200px;
  padding: 8px;
  background-color: var(--color-gray);
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: var(--color-body);
}
.p-contactForm__textarea::placeholder {
  color: var(--color-secondary);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.p-contactForm__textarea.is-error {
  outline: 2px solid var(--color-error);
}
@media screen and (min-width: 768px) {
  .p-contactForm__textarea {
    padding: 8px 16px;
  }
}

.p-contactForm__privacyLabel {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.p-contactForm__privacyLabel span {
  color: var(--color-primary);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .p-contactForm__privacyLabel {
    gap: 16px;
  }
  .p-contactForm__privacyLabel span {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    font-weight: 700;
  }
}

.p-contactForm__privacyLink {
  text-decoration: underline;
  display: inline-block;
  transition: opacity 0.2s;
}
.p-contactForm__privacyLink:hover {
  opacity: 0.7;
}

.p-contactForm__checkbox {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 2px solid var(--color-primary);
  background-color: var(--color-gray);
  position: relative;
}
.p-contactForm__checkbox::before {
  content: "";
  inset: 0;
  display: block;
  width: 24px;
  height: 24px;
  opacity: 0;
  background: url(../img/icon-check.svg) no-repeat center center/contain;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity 0.2s;
}
.p-contactForm__checkbox:checked::before {
  opacity: 1;
}
.p-contactForm__checkbox.is-error {
  outline: 2px solid var(--color-error);
}

.p-contactForm__buttonWrapper {
  text-align: center;
}

.p-contactForm__submit {
  width: 100%;
  max-width: 360px;
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: 0px 0px 8px 0px rgba(var(--color-primary-rgb) 0.2);
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-align: center;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
}
.p-contactForm__submit::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.2s;
  z-index: -1;
}
.p-contactForm__submit:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.p-contactForm__textbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.p-contactForm__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
  background: linear-gradient(transparent 70%, var(--color-secondary) 70%);
}
@media screen and (min-width: 768px) {
  .p-contactForm__text {
    font-size: 18px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    font-weight: 700;
  }
}

.p-contactForm__return {
  width: 100%;
  max-width: 250px;
  padding: 12px 16px;
  border-radius: 4px;
  box-shadow: 0px 0px 8px 0px rgba(var(--color-primary-rgb) 0.2);
  background-color: var(--color-secondary);
  color: var(--color-secondary-contrast);
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: opacity 0.2s;
  margin: 0 auto;
}
.p-contactForm__return:hover {
  opacity: 0.8;
}
@media screen and (min-width: 768px) {
  .p-contactForm__return {
    flex: 0 0 30%;
  }
}

.p-contact__form[data-screen=confirm] {
  align-items: center;
}
.p-contact__form[data-screen=confirm] .p-contactForm__list {
  width: 700px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .p-contact__form[data-screen=confirm] .p-contactForm__list {
    gap: 20px;
  }
}
.p-contact__form[data-screen=confirm] .p-contactForm__item {
  padding-top: 8px;
}
@media screen and (min-width: 768px) {
  .p-contact__form[data-screen=confirm] .p-contactForm__item {
    padding-bottom: 8px;
  }
}
.p-contact__form[data-screen=confirm] .p-contactForm__label {
  padding-right: 0;
  background-color: var(--color-gray);
  padding-left: 8px;
}
@media screen and (min-width: 768px) {
  .p-contact__form[data-screen=confirm] .p-contactForm__label {
    padding-left: 0;
  }
}
.p-contact__form[data-screen=confirm] .p-contactForm__answer {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
  padding-left: 8px;
}
@media screen and (min-width: 768px) {
  .p-contact__form[data-screen=confirm] .p-contactForm__answer {
    padding-left: 0;
  }
}
.p-contact__form[data-screen=confirm] .p-contactForm__buttonWrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media screen and (min-width: 768px) {
  .p-contact__form[data-screen=confirm] .p-contactForm__buttonWrapper {
    justify-content: center;
    gap: 20px;
    flex-direction: row-reverse;
  }
}
@media screen and (min-width: 768px) {
  .p-contact__form[data-screen=confirm] .p-contactForm__submit {
    flex: 0 0 50%;
  }
}
.p-contact__form[data-screen=confirm] .p-contactForm__return {
  margin: 0;
}
@media screen and (min-width: 768px) {
  .p-contact__form[data-screen=confirm] .p-contactForm__return {
    flex: 0 0 30%;
  }
}

.p-contact__form[data-screen=complete] {
  padding-bottom: 100px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.p-privacy__dialog {
  width: 90%;
  height: 90%;
  border-radius: 10px;
  border: none;
  box-shadow: 0px 20px 36px 0px rgba(var(--color-primary-rgb), 0.5);
}
.p-privacy__dialog::backdrop {
  backdrop-filter: blur(8px);
}
.p-privacy__dialog[open] {
  animation: fadeIn forwards 0.2s ease-out;
}
.p-privacy__dialog.is-close {
  animation: fadeOut forwards 0.2s ease-out;
}
.p-privacy__dialog.is-close::backdrop {
  animation: fadeOut forwards 0.2s ease-out;
}
@media screen and (min-width: 768px) {
  .p-privacy__dialog {
    width: 80%;
    height: 80%;
  }
}

.p-privacy__contents {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media screen and (min-width: 768px) {
  .p-privacy__contents {
    padding: 32px;
  }
}

.p-privacy__title {
  color: var(--color-accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.p-privacy__text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.p-privacy__heading {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--color-primary);
  padding: 4px 8px;
  border-bottom: 4px solid;
  border-image: linear-gradient(to right, var(--color-accent) 25%, var(--color-gray) 25%) 1;
}

.p-privacy__textarea {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px;
}

.p-privacy__list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-privacy__list li {
  list-style: square;
}
.p-privacy__list li::marker {
  color: var(--color-accent);
}
@media screen and (min-width: 768px) {
  .p-privacy__list {
    padding-left: 32px;
  }
}

.p-privacy__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-privacy__info a {
  text-decoration: underline;
}

.u-animate__fadeIn {
  opacity: 0;
  transform: translateY(10px);
  transition: transform 1s, opacity 1.5s;
}
.u-animate__fadeIn.is-show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes showTextFromBottom {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.u-animate__textEach > span {
  overflow: hidden;
}
.u-animate__textEach > span:first-of-type span {
  animation-delay: 0s;
}
.u-animate__textEach > span:nth-of-type(2) span {
  animation-delay: 0.08s;
}
.u-animate__textEach > span:nth-of-type(3) span {
  animation-delay: 0.16s;
}
.u-animate__textEach > span:nth-of-type(4) span {
  animation-delay: 0.24s;
}
.u-animate__textEach > span:nth-of-type(5) span {
  animation-delay: 0.32s;
}
.u-animate__textEach > span:nth-of-type(6) span {
  animation-delay: 0.4s;
}
.u-animate__textEach > span:nth-of-type(7) span {
  animation-delay: 0.9s;
}
.u-animate__textEach > span:nth-of-type(8) span {
  animation-delay: 0.98s;
}
.u-animate__textEach > span:nth-of-type(9) span {
  animation-delay: 1.06s;
}
.u-animate__textEach > span:nth-of-type(10) span {
  animation-delay: 1.12s;
}
.u-animate__textEach > span:nth-of-type(11) span {
  animation-delay: 1.2s;
}
.u-animate__textEach > span span {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: showTextFromBottom 0.3s forwards;
}

.u-display--sp {
  display: block;
}
@media screen and (min-width: 768px) {
  .u-display--sp {
    display: none;
  }
}

.u-display--pc {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-display--pc {
    display: block;
  }
}