@charset "utf-8";

* {
  box-sizing: border-box;
}

:root {
  --main-color: #C15123;
  --sub-color: #1D454D;
  --text-color: #1B202B;
}

html:before {
  content: "";
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 10px solid var(--main-color);
  pointer-events: none;


}

body {
  font-family: "acumin-pro", 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  background: #E3DFD6;
  color: var(--text-color);
  line-height: 1.5;
}

section {
  padding: 150px 0;
}

.wrap {
  max-width: 1040px;
  padding: 0 20px;
  margin: 0 auto;
}

.section_ttl {
  display: block;
  text-align: center;
  color: var(--sub-color);
  font-size: 4.8em;
  font-weight: bold;
  line-height: 1;
}

h3 {
  color: var(--sub-color);
  font-size: 1.6em;
  text-align: center;
  margin-bottom: 100px;
}

h4 {
  font-size: 2.4em;
}

a {
  transition: .5s;
}

a:hover {
  opacity: .5;
}

p {
  font-size: 1.6em;
  line-height: 2;
}


/* ============================
header 
============================*/
header {
  width: 100%;
  background: white;
  padding: 20px 60px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  z-index: 1;
  top: 0;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.1);

}


header a img {
  vertical-align: baseline;
}

header ul {
  display: flex;
  list-style: none;
  column-gap: 30px;
  align-items: center;
}


header ul li {
  text-align: center;
}

header ul li a {
  text-decoration: none;
  color: var(--text-color);
}

header ul li a span {
  display: block;
}

header ul li a .nav_ttl {
  font-weight: bold;
  font-size: 1.6em;
}

header ul li:last-child a {
  background: var(--main-color);
  display: inline-block;
  color: white;
  padding: 10px 35px;
  transition: .5s;
}

header ul li:last-child a:hover {
  opacity: 1;
  background: white;
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

.nav_toggle,
.nav {
  display: none;
}



/* ============================
mv
============================ */
.mv {
  padding: 80px 0 80px 60px;
  margin-top: 89px;
  height: calc(100vh - 80px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.mv .copy {
  width: 700px;
}

.mv .copy h2 {
  background: white;
  font-size: 4.8em;
  line-height: 1.5;
  display: inline-block;
  padding: 0 10px;
}

.mv h2+h2 {
  margin-top: 20px;
}

.mv .mv_img {
  overflow: hidden;
}

.mv img {
  height: 70%;
  width: 80%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  transform: translate(0%, -50%);
  right: 0;
  z-index: -1;
}

/* ============================
ABOUT 
============================*/
#about {
  background: white;
}

#about .wrap .about_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 30px;
}

#about .wrap .about_item img {
  width: 30%;
}

#about .wrap .about_item .about_right {
  width: 50%;
}

#about .wrap .about_item .about_right h4 {
  margin-bottom: 20px;
}

#about .wrap .about_item .about_right p+p {
  margin-top: 20px;

}

#about .wrap .about_item .about_right .bold {
  font-weight: bold;
}

/* ============================
SKILLS
============================*/

#skills .wrap .skills_item {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 70px;
}

#skills .wrap .skills_item .skill {
  width: 45%;
}

#skills .wrap .skills_item .skill img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 20px;
}

#skills .wrap .skills_item .skill h4 {
  display: inline-block;
  margin-right: 20px;
}

#skills .wrap .skills_item .skill span {
  font-size: 1.6em;
}

/* ============================
WORKS
============================ */
#works {
  background: white;
}

#works .work_top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
  flex-wrap: wrap;
  row-gap: 70px;
}

#works .work_top .works_item {
  width: 45%;
}

#works .work_top .works_item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  margin-bottom: 20px;
}

#works .work_bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 70px;
}

#works .work_bottom .works_item {
  width: 30%;
}

#works .work_bottom .works_item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  margin-bottom: 20px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  height: 100vh;
  width: 100%;
  z-index: 2;
}

.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: scroll;
  height: 60%;
  width: 60%;
  background: white;
  padding: 40px;
  text-align: right;
  font-size: 1.4em;
}

.modal-content dl {
  text-align: left;
}

.modal-content dl dt {
  font-weight: bold;
}

.modal-content dl dd {
  margin-bottom: 20px;
  padding-left: 10px;
}

.modal-content dl dd a {
  color: var(--text-color);
}

body.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
}

/* ============================
CONTACT
============================ */
#contact {
  margin: 0 auto;
  text-align: center;
}

#contact p {
  margin-bottom: 100px;

}

#contact form {
  width: 60%;
  min-width: 300px;
  margin: 0 auto;
  text-align: left;
}

#contact form label {
  font-weight: bold;
  font-size: 1.6em;
  display: block;
}


#contact form label span {
  color: var(--main-color);
  font-size: 10px;
  margin-left: 10px;
  vertical-align: middle;
}

#contact form label input {
  width: 100%;
  border: none;
  padding: 10px;
}

#contact form label input:focus {
  outline: none;
}


#contact form label textarea {
  width: 100%;
  padding: 10px;
  border: none;
  resize: none;
}

#contact form label textarea:focus {
  outline: none;
}

#contact form label input,
textarea {
  margin: 10px 0 20px;

}

#contact form button {
  width: 100%;
  padding: 15px;
  background: var(--main-color);
  border: none;
  font-weight: bold;
  color: white;
  transition: .5s;
}

#contact form button:hover {
  cursor: pointer;
  background: white;
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

/* ============================
footer 
============================*/
footer {
  text-align: center;
  margin-bottom: 30px;
}

/* ============================
thanks
============================ */

.thanks_page{
  text-align: center;
}

.thanks{
  text-align: center;
  margin: 100px 0;
}

.thanks_btn{
  background: var(--main-color);
  display: inline-block;
  color: white;
  width: 250px;
  height: 50px;
  transition: .5s;
  margin: 0 auto 100px;
  text-align: center;

}

.thanks_btn:hover{
  opacity: 1;
  background: white;
  color: var(--main-color);
  border: 1px solid var(--main-color);
}

.thanks_btn a{
  text-decoration: none;
  display: inline-block;
  line-height: 50px;;
  width: 100%;
  height: 100%;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.thanks_btn a:hover{
  opacity: 1;
  color: var(--main-color);
}

/* ============================
tablet
============================*/

@media (max-width: 1024px) {

  p {
    font-size: 1.4em;
  }

  .wrap {
    padding: 0 30px;
  }

  .section_ttl {
    font-size: 3.6em;
  }

  h3 {
    font-size: 1.4em;
    margin-bottom: 70px;
  }

  h4 {
    font-size: 2em;
  }

  /* header(tablet) */
  header {
    padding: 20px 30px 10px;
  }

  /* mv(tablet) */
  .mv {
    margin-top: 90px;
    padding: 60px 0 60px 30px;
  }

  .mv .copy h2 {
    font-size: 3.6em;
  }

  /* ABOUT(tablet) */
  #about .wrap .about_item .about_right {
    width: 65%;
  }

  /* WORKS(tablet) */
  #works .work_top .works_item img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

}

/* ============================
sp
============================*/

@media (max-width: 768px) {

  section {
    padding: 100px 0;
  }

  /* header(sp) */
  header a img {
    width: 100px;
  }

  .pc_menu {
    display: none;
  }

  /* ハンバーガー */
  .nav_toggle {
    display: block;
    position: relative;
    width: 1.75rem;
    height: 1.3rem;
    margin-right: 10px;
    z-index: 2;
  }

  .nav_toggle i {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: transform 0.5s, opacity 0.5s;
  }

  .nav_toggle i:nth-child(1) {
    top: 0;
  }

  .nav_toggle i:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
  }

  .nav_toggle i:nth-child(3) {
    bottom: 0;
  }

  .nav_toggle.show i:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
  }

  .nav_toggle.show i:nth-child(2) {
    opacity: 0;
  }

  .nav_toggle.show i:nth-child(3) {
    transform: translateY(-10px) rotate(45deg);
  }

  .nav {
    display: flex;
    position: fixed;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
    background-color: #fff;
    z-index: 1;
  }

  header ul {
    flex-direction: column;
  }

  .nav_menu_li {
    margin-bottom: 30px;
    font-weight: bold;
    font-size: 1.6em;
  }

  .nav_menu_li .nav_small {
    font-weight: normal;
    font-size: 10px;
  }

  .nav_menu_li a {
    text-decoration: none;
  }

  .nav.show {
    opacity: 1;
    visibility: visible;
  }

  /* mv(sp) */
  .mv {
    padding: 60px 0 60px 20px;
    align-items: end;
  }

  .mv .copy {
    margin-bottom: 50px;
    width: 500px
  }

  .mv .copy h2 {
    font-size: 2.4em;
  }

  /* ABOUT(sp) */
  #about .wrap .about_item img {
    width: 100%;
  }

  #about .wrap .about_item .about_right {
    width: 100%;
  }

  #about .wrap .about_item .about_right h4 {
    text-align: center;
  }

  /* SKILLS(sp) */
  #skills .wrap .skills_item .skill {
    width: 100%;
  }

  /* WORKS(sp) */

  #works .work_top {
    margin-bottom: 70px;
  }

  #works .work_top .works_item {
    width: 100%;
  }

  #works .work_bottom .works_item {
    width: 100%;
  }

  .modal-content {
    width: 80%;
    padding: 30px;
  }

  /* CONTACT(sp) */
  #contact p {
    margin-bottom: 70px;
  }

}