:root,
[data-bs-theme="light"] {
  --white: #fff;
  --black: #333;
  --gray80: #484848;
  --primary: #E6465A;
  --secondary: #797979;
}

:where(
    :not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)
  ) {
  all: unset;
  display: revert;
}

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

html {
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  font-size: 62.5%;
  scroll-behavior:smooth;
}

a,
button {
  cursor: revert;
}

ol,
ul,
menu,
summary {
  list-style: none;
}

img {
  max-block-size: 100%;
  max-inline-size: 100%;
  height: auto;
  vertical-align: bottom;
}

table {
  border-collapse: collapse;
}

input,
textarea {
  -webkit-user-select: auto;
}

textarea {
  white-space: revert;
}

meter {
  appearance: revert;
}

:where(pre) {
  all: revert;
  box-sizing: border-box;
}

::placeholder {
  color: unset;
}

:where([hidden]) {
  display: none;
}

:where([contenteditable]:not([contenteditable="false"])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

:where([draggable="true"]) {
  -webkit-user-drag: element;
}

:where(dialog:modal) {
  all: revert;
  box-sizing: border-box;
}

::-webkit-details-marker {
  display: none;
}

body {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--black);
}

@media screen and (width <=667px) {
  .block-pc {
    display: none;
  }
}

.block-sp {
  display: none;
}

@media screen and (width <=667px) {
  .block-sp {
    display: block;
  }

  .br-pc {
    display: none;
  }
}

.br-sp {
  display: none;
}

@media screen and (width <=667px) {
  .br-sp {
    display: inline;
  }
}


/***button-primary***/

.button-primary {
  display: block;
  color: var(--white);
  font-size: 2rem;
  text-align: center;
  padding: 1.2rem 3rem;
  max-width: 32rem;
  width: 100%;
  margin: 4rem auto 0;
  border-radius: 10rem;
  background: url(../img/arrow.svg) no-repeat var(--primary);
  background-position: right 2.6rem top 50%;
  transition: .2s;
}

.button-primary:hover {
  background-position: right 2rem top 50%;
  opacity: .8;
  cursor: pointer;
}


/***MV***/

.mv {
  background: url(../img/mv_back.webp) no-repeat;
  background-size: cover;
  border-top: solid 5px var(--primary);
  border-bottom: solid 5px var(--primary);
  text-align: center;
  padding-bottom: 10rem;
}

.mv .mv-text {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: nowrap;
  padding: 10rem 4rem;
  gap: 10rem;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 500;
}

.mv .mv-text h1 {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 1rem;
  line-height: 200%;
}

.mv .mv-text span {
  background: url(../img/mv-sen.svg) no-repeat;
  background-position: center;
  background-size: contain;
  width: 100%;
  padding: 0 2rem;
}

.mv .rope {
  padding: 20rem;
  background: url(../img/mv_rope.webp) no-repeat;
  background-size: cover;
  background-position: center;
  padding-bottom: 2rem;
}

.mv .button {
  padding: 0 4rem;
}

.mv .button p {
  font-size: 2.4rem;
}

.md-br {
  display: none;
}

@media screen and (width <=960px) {
  .mv .mv-text {
    gap: 4rem;
  }

  .md-br {
    display: block;
  }
}

@media screen and (width <=667px) {
  .mv {
    background-size: cover;
    padding-bottom: 5rem;
  }

  .mv .mv-text {
    flex-flow: column;
    align-items: center;
    gap: 3rem;
    padding: 5rem 2rem;
  }

  .mv .mv-text h1 {
    flex-flow: column-reverse;
    gap: 3rem;
  }

  .mv .mv-text span {
    background: none;
    padding: 0;
  }

  .mv .rope {
    padding: 6rem;
    background: url(../img/mv_rope_sp.webp) no-repeat;
    background-size: cover;
    background-position: center;
  }

  .mv .button p {
    font-size: 2rem;
  }

  .md-br {
    display: none;
  }
}


/***representation***/

.representation {
  text-align: center;
  padding: 10rem 4rem 1rem;
}

.representation h2 {
  font-size: 4.8rem;
  font-weight: 700;
  margin-bottom: 10rem;
}

.representation h2 span {
  background: linear-gradient(90deg, #e6465a, #e6a52a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.representation p {
  line-height: 260%;
  margin-bottom: 10rem;
  font-weight: 500;
}

@media screen and (width <=667px) {
  .representation {
    padding: 6rem 2rem 3rem;
    text-align: left;
  }

  .representation h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
  }

  .representation p {
    margin-bottom: 4rem;
  }
}


/***story***/

.story-start {
  padding: 30rem 0;
  background: url(../img/story_img_pc.webp) repeat-x, url(../img/story_back.webp) no-repeat;
  background-size:auto , cover;
  background-position: center;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  font-size: 9.6rem;
  font-weight: 800;
  color: var(--white);
}

.story-start p {
  font-size: 2rem;
  font-weight: 500;
  margin-top: 1rem;
}

.story{
  overflow: hidden;
}

.story > div {
  position: relative;
}

.story > div p {
  line-height: 200%;
  font-size: 2rem;
  color: var(--secondary);
  font-weight: 500;
}

.story > div .white {
  color: var(--white);
}

.story img {
  width: 100%;
  vertical-align: bottom;
}

.story .story-01 p {
  position: absolute;
  right: 5%;
  bottom: 35%;
  text-align: right;
}

.story .story-02 p {
  text-align: center;
  padding: 6rem 4rem;
}

.story .story-03 p {
  position: absolute;
  right: 5%;
  top: 30%;
  text-align: right;
}

.story .story-04 p {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0;
  left: 5%;
  max-height: fit-content;
}

.story .story-05 .box {
  display: flex;
  gap: 5%;
  padding: 0 5% 10rem;
  justify-content: center;
  align-items: center;
}

.story .story-06 p {
  position: absolute;
  right: 5%;
  top: 10%;
  text-align: right;
}


.fade-in,
.fade-in-b,
.fade-in-c-1,
.fade-in-c-2,
.fade-in-c-3 {
  opacity: 0;
  transition-duration: 800ms;
  transition-property: opacity, transform;
}

.fade-in-b {
  transition-duration: 1200ms;
}

.fade-in-c-1 {
  transition-delay: 300ms
}
.fade-in-c-2 {
  transition-delay: 600ms
}

.fade-in-up {
  transform: translate(0, 50px);
}

.fade-in-down {
  transform: translate(0, -50px);
}

.fade-in-left {
  transform: translate(-50px, 0);
}

.fade-in-right {
  transform: translate(50px, 0);
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}









@media screen and (width <=1000px) {
  .story-start {
    font-size: 9vw;
  }
}

@media screen and (width <=667px) {
  .story-start {
    padding: 30% 0;
    background: url(../img/story_img_sp.webp) repeat-x, url(../img/story_back.webp) no-repeat;
    background-size:contain , cover;
    background-position: center;
    color: var(--white);
  }

  .story-start p {
    font-size: 1.2rem;
  }

  .story > div p {
    font-size: 1.6rem;
  }

  .story .story-01 p {
    right: 3%;
  }

  .story .story-02 p {
    padding: 5rem 1rem;
  }

  .story .story-03 p {
    top: 0;
    bottom: 0;
    margin: auto 0;
    max-height: fit-content;
    right: 3%;
  }

  .story .story-05 .box {
    padding: 0 0 5% 5%;
    gap: 0;
    justify-content: space-between;
  }

  .story .story-05 .box picture {
    width: 25%;
  }

  .story .story-06 p {
    top: 5%;
    right: 3%;
  }
}


/***recruitment-details***/

.recruitment-details {
  padding: 10rem 4rem;
}

.recruitment-details h2 {
  text-align: center;
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 6rem;
}

.recruitment-details .list {
  max-width: 70rem;
  margin: 0 auto;
  font-weight: 500;
}

.recruitment-details .list h3 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.recruitment-details .list h3:nth-child(n+2),
.recruitment-details .modal-content {
  margin-top: 4rem;
}

.recruitment-details .list ul {
  list-style-type: lower-latin;
  margin-left: 4rem;
  font-weight: 500;
}

.recruitment-details .list ul li {
  margin-top: .5rem;
}

.recruitment-details .list > p {
  margin-left: 2rem;
}

.recruitment-details .list ul ul {
  list-style-type: lower-roman;
}

.recruitment-details .modal-content > ul > li:nth-child(n+2) {
  margin-top: 2rem;
}

.modal-open,.modal-close {
  display: none;
}

















@media screen and (width <=667px) {
  .recruitment-details {
    padding: 6rem 2rem;
  }

  .recruitment-details h2 {
    margin-bottom: 4rem;
    text-align: left;
  }

  .modal-open,.modal-close {
    display: block;
  }

  .modal-open {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--black);
    margin-top: 4rem;
    background: url(../img/modal_button.svg) no-repeat;
    background-position: right 2rem top 50%;
  }

  .recruitment-details .modal{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0,0,0,30%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .2s;
  box-sizing: border-box;
  z-index: 1000;
}

.recruitment-details .modal:before{
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

.recruitment-details .modal.is-active{
  opacity: 1;
  visibility: visible;
}

body.is-active {
  overflow: hidden;
}

.recruitment-details .modal-container{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 600px;
  width: 90%;
}

.recruitment-details .modal-close{
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 3rem;
  background: var(--black);
  padding-bottom: .3rem;
}

/* モーダルのコンテンツ部分の指定 */
.recruitment-details .modal-content{
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 20px;
  margin-top: 0;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.recruitment-details .modal-content p{
  margin: 1em 0;
}
}


/***studio***/

.studio-logo,
.studio-drawing {
  background: url(../img/studio-back.png) no-repeat;
  background-size: cover;
  height: 80rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10rem;
}

.studio-img .studio-img_big {
  max-height: 48.2rem;
  overflow: hidden;
}

.studio-img .studio-img_big img,
.studio-img .studio-img_small img {
  width: 100%;
}

.studio-img .studio-img_small {
  display: flex;
  align-items: flex-start;
  max-height: 31.8rem;
  overflow: hidden;
}

.studio-img .studio-img_small > div {
  width: calc(100% / 3);
}

.studio-drawing {
  padding: 0 4rem;
}


@media screen and (width <=667px) {
  .studio-logo {
    height: 33.4rem;
    padding: 0;
  }

  .studio-drawing {
    height: auto;
    padding: 0;
  }

  .studio-logo img {
    width: 80%;
    margin: 0 auto;
  }
}



/***フォーム***/

.form {
  margin: 10rem auto 0;
  padding: 0 4rem;
}

.form h2 {
  text-align: center;
  font-size: 3.6rem;
  font-weight: 700;
}

.form h2 span {
  padding-left: 4rem;
}

.form form {
  max-width: 70rem;
  margin: 6rem auto 0;
}

.form form input:not(.button-primary),.form form textarea {
  border: 1px solid #CFCFCF;
  border-radius: 8px;
  padding: 1rem 2rem;
  background: #F5F5F5;
  resize:auto;
  max-width: 70rem;
  width: 100%;
}

.form form .indispensable {
  color: var(--primary);
}

.form form > div {
  margin-top: 3rem;
}

.form form > div p {
  font-weight: 700;
  margin-bottom: .5rem;
}

.form form .name > div {
  display: flex;
  gap: 2rem;
}

.form form .mail > div {
  display: flex;
  flex-flow: column;
  gap: 1rem;
}

.form form .limit {
  font-weight: 500;
  font-size: 1.4rem;
}

.form form .file {
  overflow-wrap: anywhere;
}


.form form .checkbox,
.form form .checkbox p {
  font-weight: 500;
}

.form form .checkbox .check {
  margin: 6rem auto;
  max-width: fit-content;
}

.form form .checkbox .check div:first-child {
  margin-bottom: 3rem;
}

.form form input[type="checkbox"] {
  position: relative;
  padding: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: inherit;
  border: 1px solid #DEE6EB;
  background: var(--white);
  vertical-align: bottom;
}

.form form input[type="checkbox"]:hover {
  cursor: pointer;
}

.form form input[type="checkbox"]:checked:before {
  position: absolute;
  top: 4px;
  left: 7px;
  transform: rotate(50deg);
  width: 5px;
  height: 10px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  content: '';
}

.form form .checkbox .check .indispensable {
  margin-left: 1.6rem;
}

.form form .checkbox .check-text {
  text-align: center;
  font-size: 1.2rem;
}

.form form .checkbox .check-text a {
  text-decoration: underline;
}

.form form .form-button .button-primary {
  margin: 10rem auto 0;
}

@media screen and (width <=667px) {
  .form {
    margin: 6rem auto 0;
    padding: 0 2rem;
  }

  .form h2 {
    text-align: left;
  }

  .form h2 span {
    padding-left: 0;
    display: block;
  }

  .form form .form-button .button-primary {
    margin: 6rem auto 0;
  }
}


/***footer***/

footer {
  background: var(--primary);
  padding: 4rem;
  text-align: center;
  margin-top: 20rem;
}

footer p {
  color: var(--white);
  font-size: 1.2rem;
  margin-top: 4rem;
}

footer a {
  transition: .2s;
}

footer a:hover {
  opacity: .8;
}

@media screen and (width <=667px) {
  footer {
    margin-top: 10rem;
  }
}