@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  color: #2a2a2a;
  font-family: "zen-kaku-gothic-new", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 2.2;
  background-color: #f0f0f0;
}
a {
  color: #2a2a2a;
}
img {
  max-width: 100%;
}
section {
  padding: 80px 0 120px;
}

.page-title {
  font-family: 'Shimanami', serif;
  font-size: 2.2rem;
  line-height: 1.4;
  letter-spacing: 0.3rem;
  text-align: center;
  margin-top: 100px;
}
.section-title {
  font-size: 1.5rem;
  line-height: 1.4;
  letter-spacing: 0.3rem;
  display: block;
  margin-bottom: 30px;
}
.wrapper {
  max-width: 1200px;
  padding: 0 4%;
  margin: 0 auto;
}
.mark {
  background: linear-gradient(transparent 40%, #f6d1a0 40%);
  padding: 0 6px 0 6px;
}

/*----dl共通 #outline #guide #thanks----*/
dl {
  display: flex;
  flex-wrap: wrap;
  border-bottom: solid 1px #c8c8c8;
  margin-bottom: 40px;
}
dt {
  width: 20%;
  border-top: solid 1px #c8c8c8;
  padding: 6px 0;
}
dd:not(.add) {
  width: 80%;
  border-top: solid 1px #c8c8c8;
  padding: 6px 0;
}
dl .add {
  width: 80%;
  margin-left: 20%;
  padding-bottom: 6px;
}

/*----form共通設定----*/
.form-area {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  margin-bottom: 30px;
  border: none;
}
.form-area dt {
  width: 30%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  padding: 6px 15px 6px 0;
}
.form-area dt span {
  background-color: #505050;
  color: #f0f0f0;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 8px 1px 8px;
}
.form-area dd {
  width: 70%;
  border: none;
  padding: 6px 15px 6px 0;
}
textarea {
  width: 100%;
  background-color: #fff;
  padding: 6px 0;
  line-height: 1.2;
}
::placeholder {
  color: #a3a3a3;
}
.button-area {
  text-align: center;
}
.submit-button {
  background-color: #381d51;
  border-radius: 10px;
  color: #f0f0f0;
  padding: 6px 20px; 
}
.submit-button:hover {
  opacity: 0.7;
}
.return-button {
  background-color: #6b6b6b;
  border-radius: 10px;
  color: #c8c8c8;
  padding: 6px 20px;
}
.return-button:hover {
  opacity: 0.7;
}

/*----header----*/
#header {
  width: 100%;
  background-color: #f0f0f0d5;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
}
nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  line-height: 1.5;
}
nav ul {
  display: flex;
  align-items: center;
  text-align: center;
  list-style: none;
}
nav ul li a {
  display: block;
  padding: 1rem 1.2rem;
  color: #2a2a2a;
  text-decoration: none;
}
nav ul li a::after {
  content: attr(data-ja);
  font-size: 0.7rem;
  display: block;
}

.hamburger {
  display: none;
}
.mask {
  display: none;
}

/*----concept----*/
#concept ul {
  padding: 20px 0 20px 1.6rem;
}

/*----flow----*/
#flow ol {
  padding-left: 1.6rem;
}
#flow ol li {
  margin-top: 16px;
}
#flow ol li::marker {
  font-size: 1.2rem;
  font-weight: 600;
}
#flow ul {
  padding: 20px 0 20px 1.4rem;
  list-style: disc;
}
#flow ul li {
  margin-top: 0;
}

/*----apply----*/
#apply .form-area input:not(.works-format, .contact-info) {
  width: 100%;
  background-color: #fff;
  padding: 0 10px;
}
#apply .works-format, 
#apply .contact-info {
  margin-right: 6px;
}
#apply .works-format:not(:first-child),
#apply .contact-info:not(:first-child) {
  margin-left: 18px;
}
#format-other-text,
#contact-other-text {
  display: none;
}

/*----guide----*/
.tab-menu {
  display: flex;
  flex-wrap: wrap;
}
.tab-menu li {
  list-style: none;
}
.tab-menu li a {
  text-decoration: none;
  display: block;
  background-color: #c8c8c8;
  margin: 0 2px;
  padding: 0 20px;
  border-radius: 8px 8px 0 0;
  box-shadow: 2px -3px 4px #a3a3a3;
}
.tab-menu li.active a {
  background-color: #f0f0f0;
}
.tab-area {
  display: none;
  opacity: 0;
  background-color: #f0f0f0;
  padding: 50px 30px 0 30px;
}
.tab-area.is-active {
  display: block;
  animation-name: displayAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
}
@keyframes displayAnime {
  from {
    opacity: 0;
  }to {
    opacity: 1;
  }
}
.tab-area ul {
  padding: 20px 0 20px 1.4rem;
}
.tab-area ul li {
  margin: 16px 0;
}

#guide .flex-box {
  display: flex;
  margin: 30px 0 10px;
}
#guide .rl {
  flex-direction: row-reverse;
}
#guide .flex-box img {
  width: 50%;
}

/*----submit----*/
#submit .form-area input:not(#page-num, .page-start) {
  width: 100%;
  background-color: #fff;
  padding: 0 10px;
}
#page-num {
  background-color: #fff;
  padding: 0 10px;
}
#submit .page-start {
  margin-right: 6px;
}
#submit .page-start:not(:first-child) {
  margin-left: 18px;
}
#submit dl {
  border-bottom: none;
}
#submit .address {
  padding-top: 12px;
}

/*----thanks----*/
#thanks p:last-of-type {
  padding-bottom: 60px;
}

@media screen and (max-width: 1200px) {
  #guide .flex-box {
    flex-direction: column;
  }
  #guide .flex-box img {
    width: 100%;
    max-width: 600px;
  }
}

@media screen and (max-width: 768px) {
  dl {
    flex-direction: column;
  }
  dt {
    width: 100%;
    padding: 0;
  }
  dd:not(.add) {
    width: 100%;
    padding: 0;
    border: none;
  }
  dl .add {
    width: 100%;
    margin-left: 0;
    padding: 0;
    border: none;
  }
  .form-area {
    flex-direction: column;
  }
  .form-area dt {
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .form-area dt span {
    margin-left: 8px;
  }
  .form-area dd {
    width: 100%;
    padding-top: 0;
  }

  /*----header----*/
  .hamburger {
    width: 42px;
    height: 42px;
    display: block;
    position: fixed;
    top: 18px;
    right: 25px;
    z-index: 30;
    border-radius: 4px;
    background-color: #2a2a2a;
    cursor: pointer;
    overflow: hidden;
  }
  .hamburger .openbtn-area {
    transition: all 0.3s;
  }
  .hamburger span {
    text-align: center;
    position: absolute;
    left: 9px;
    transition: 0.3s;
  }
  .hamburger span:nth-child(1),
  .hamburger span:nth-child(2) {
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background-color: #f0f0f0;
  }
  .hamburger span:nth-child(1) {
    top: 11px;
  }
  .hamburger span:nth-child(2) {
    top: 19px;
  }
  .hamburger span:nth-child(3) {
    top: 10px;
  }
  .hamburger span:nth-child(3):after {
    content: "MENU";
    font-size: 0.5rem;
    color: #f0f0f0;
  }
  .hamburger.active .openbtn-area {
    transform: rotateX(360deg);
  }
  .hamburger.active span:nth-child(1) {
    width: 18px;
    top: 15px;
    left: 12px;
    transform: rotate(-45deg);
  }
  .hamburger.active span:nth-child(2) {
    width: 18px;
    top: 15px;
    left: 12px;
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(3):after {
    content: "CLOSE";
  }

  nav {
    width: 60%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -105%;
    z-index: 20;
    justify-content: start;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f0f0f0;
    transition: all 0.5s;
  }
  nav.active {
    left: 0;
  }
  #header .wrapper {
    padding: 0;
  }
  nav ul {
    flex-direction: column;
    align-items: start;
    text-align: start;
    width: 100%;
  }
  nav ul li {
    width: 100%;
    padding-left: 20%;
  }
  nav ul li a {
    padding: 1rem 0;
  }


  .mask {
    transition: all 0.5s;
  }
  .mask.active {
    width: 100%;
    height: 100%;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: rgb(80, 80, 80);
    opacity: 0.7;
    cursor: pointer;
  }

  #sidebar {
    display: none;
  }

  #footer .flex-box {
    flex-direction: column;
  }
  .footer-logo {
    width: 100%;
  }
}