@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --black-color: #333;
  --white-color: #fff;
  --gray-color: #e6e6e6;
  --gray-color02: #828282;
  --main-color: #171d3d;
  --primary-color: #040221;
  --accent-color: #ded962;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
}

:root {
  /* z-index管理用の変数 */
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}

/* ---------- base ---------- */

body {
  color: var(--black-color);
  background-color: rgba(130, 130, 130, 0.1);
  font-size: 16px;
  font-family: "Noto Serif JP", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* クリックした際の青い枠線を削除 */
*:focus {
  outline: none;
}

/* タップした際の青い四角を削除 */
button,
span {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

/* ---------- utility ---------- */

@media screen and (min-width: 375px) {
  .u_sm-dn {
    display: none;
  }
}

@media screen and (min-width: 1080px) {
  .u_lg-dn {
    display: none;
  }
}

@media screen and (max-width: 1079px) {
  .u_lg {
    display: none;
  }
}

/* ---------- layout ---------- */

.l_container-sm,
.l_container,
.l_container-lg {
  width: 100%;
  padding: 0 16px;
  margin: 0 auto;
}

.l_container-sm {
  max-width: calc(var(--content-width-sm) + 32px);
}

.l_container {
  max-width: calc(var(--content-width) + 32px);
}

.l_container-lg {
  max-width: calc(var(--content-width-lg) + 32px);
}

/* .l_contents {
  padding: 120px 0;
} */

.l_header {
  height: 80px;
  width: 100%;
  padding: 0 16px;
  background-color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  left: 0;
  z-index: var(--z-index-header);
  border-bottom: 3px solid;
  border-color: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .l_header {
    padding: 0 48px;
  }
}

.l_header-logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .l_header-logo {
    font-size: 32px;
  }
}

.l_header-logo_link {
  height: 100%;
  display: flex;
  align-items: center;
}

.l_header-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--z-index-modal);
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .l_header-nav {
    opacity: 1;
    position: static;
    background: transparent;
  }
}

.l_header-nav_list {
  display: flex;
  gap: 35px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

@media screen and (min-width: 1080px) {
  .l_header-nav_list {
    height: auto;
    flex-direction: row;
  }
}

.l_header-nav_item {
  color: var(--white-color);
  font-size: 16px;
}

.l_header-nav_link {
  display: block;
}

.l_footer {
  padding: 38px 0;
  margin-top: 55px;
  text-align: center;
  color: var(--white-color);
  background: var(--primary-color);
}

@media screen and (min-width: 1080px) {
  .l_footer {
    margin-top: 112px;
    padding: 30px 48px;
  }
}

.l_footer_logo {
  font-size: 20px;
  font-weight: bold;
  display: inline-block;
}

@media screen and (min-width: 1080px) {
  .l_footer_logo {
    font-size: 32px;
    text-align: left;
  }
}

@media screen and (min-width: 1080px) {
  .l_footer_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.l_footer_logo_link {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.l_footer_list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .l_footer_list {
    margin-top: 0;
    gap: 30px;
    flex-direction: row;
  }
}

.l_footer_item {
  font-size: 14px;
}

@media screen and (min-width: 1080px) {
  .l_footer_item {
    font-size: 16px;
  }
}

.l_footer_item:not(:first-child) {
  margin-top: 24px;
}

@media screen and (min-width: 1080px) {
  .l_footer_item:not(:first-child) {
    margin-top: 0;
  }
}

.l_footer_link {
  height: 100%;
  display: flex;
  align-items: center;
}

.l_footer-copyright {
  margin-top: 48px;
}

@media screen and (min-width: 1080px) {
  .l_footer-copyright {
    margin-top: 120px;
  }
}

.l_footer-copyright_txt {
  font-size: 12px;
  color: var(--gray-color);
}

@media screen and (min-width: 1080px) {
  .l_footer-copyright_txt {
    font-size: 18px;
  }
}

/* ---------- module ---------- */

.m_btn {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transition: 0.3s; */
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.16);
  font-weight: bold;
  overflow: hidden;
}

@media screen and (min-width: 1080px) {
  .m_btn {
    font-size: 20px;
  }
}

.m_btn:hover {
  opacity: 0.9;
}

.m_btn__mail {
  background-color: var(--gray-color);
}

.m_btn__mail::after {
  content: "";
  width: 24px;
  height: 24px;
  background: url(../img/icons8-メール.png) center / contain no-repeat;
  margin-left: 20px;
}

@media screen and (min-width: 1080px) {
  .m_btn__mail::after {
    width: 45px;
    height: 45px;
    margin-left: 32px;
  }
}

.m_cta_btn-wrapper,
.contact_form_btn-wrapper {
  width: 214px;
  height: 56px;
  margin: 32px auto 0;
}

@media screen and (min-width: 1080px) {
  .m_cta_btn-wrapper {
    width: 350px;
    height: 85px;
    margin: 64px auto 0;
  }
}

.m_hamburger {
  display: block;
  width: 32px;
  height: 28px;
  position: relative;
  z-index: var(--z-index-modal);
  border: none;
  background: transparent;
}

@media screen and (min-width: 1080px) {
  .m_hamburger {
    display: none;
  }
}

.m_hamburger-bar {
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  background: var(--white-color);
}

.m_hamburger-bar:nth-child(1) {
  top: 0;
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.m_hamburger-bar:nth-child(3) {
  top: 100%;
  transform: translateY(-100%);
}

.m_section_title,
.m_kv_title {
  font-size: 24px;
  height: 56px;
  padding: 0 16px;
  display: flex;
  justify-content: start;
  align-items: center;
  font-weight: bold;
  border-bottom: 2px solid;
  border-color: var(--black-color);
}

.m_kv_title {
  margin-top: 20px;
}

@media screen and (min-width: 1080px) {
  .m_section_title,
  .m_kv_title {
    display: block;
    height: 100%;
    font-size: 40px;
    padding-top: 90px;
    margin-top: 10px;
    border-bottom: none;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
    text-align: center;
  }
}

.m_kv_desc {
  margin: 48px 0;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .m_kv_desc {
    font-size: 24px;
    margin: 60px 0;
  }
}

/* ---------- .top_kv ---------- */

.top_kv {
  height: calc(100vh - 80px);
  background-color: var(--primary-color);
}

.top_kv-inner {
  position: relative;
  height: 100%;
}

.top_kv_box {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_kv_box {
    padding: 0 calc(186px - 96px);
    text-align: left;
  }
}

.top_kv_copy {
  font-size: 48px;
  font-weight: bold;
  color: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .top_kv_copy {
    font-size: 64px;
  }
}

.top_kv-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.top_kv-scroll_txt {
  font-size: 18px;
  font-family: sans-serif;
  letter-spacing: 0.2em;
  color: var(--white-color);
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_kv-scroll_txt {
    font-size: 24px;
  }
}

.top_kv-scroll_arrow {
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  color: var(--white-color);
}

@media screen and (min-width: 1080px) {
  .top_kv-scroll_arrow {
    font-size: 24px;
  }
}

/* ---------- .top_about ---------- */

.top_about_posts {
  margin: 48px auto 0;
  max-width: var(--content-width-lg);
}

@media screen and (min-width: 1080px) {
  .top_about_posts {
    margin: 88px auto 0;
  }
}

@media screen and (min-width: 1080px) {
  .top_about-post {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 90px;
  }
}

.top_about-post_img-wrapper {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .top_about-post_img-wrapper {
    width: 300px;
    height: 300px;
    margin: 0;
  }
}

.top_about-post_img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.top_about_img-bg {
  position: absolute;
  background-color: var(--accent-color);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  top: 10px;
  left: 8px;
  z-index: var(--z-index-back);
}

.top_about-post_title {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-top: 24px;
}

.top_about-post_txt-wrapper {
  margin: 60px 0;
  padding: 0 calc(70px - 32px);
}

@media screen and (min-width: 1080px) {
  .top_about-post_txt-wrapper {
    margin: 0;
    padding: 0;
  }
}

@media screen and (min-width: 1080px) {
  .top_about-post_txt {
    font-size: 24px;
  }
}

.top_about-post_txt:not(:first-child) {
  margin-top: 12px;
}

@media screen and (min-width: 1080px) {
  .top_about-post_txt:not(:first-child) {
    margin-top: 30px;
  }
}

/* ---------- .top_skill ---------- */

.top_skill_posts {
  margin: 64px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px 0;
}

@media screen and (min-width: 1080px) {
  .top_skill_posts {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 100px;
  }
}

.top_skill_post {
  width: calc(375px - 32px);
  height: 180px;
  background-color: var(--gray-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

@media screen and (min-width: 1080px) {
  .top_skill_post {
    width: 400px;
    height: 200px;
  }
}

.top_skill-post_img-wrapper {
  width: 120px;
  height: 120px;
}

.top_skill_txt {
  font-size: 14px;
}

@media screen and (min-width: 1080px) {
  .top_skill_txt {
    font-size: 16px;
  }
}

/* ---------- .top_work ---------- */

@media screen and (min-width: 1080px) {
  .top_work_posts {
    margin-top: 64px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
}

.top_work_post {
  margin: 60px auto;
}

@media screen and (min-width: 1080px) {
  .top_work_post {
    margin: 48px auto;
  }
}

.top_work-post_img-wrapper {
  width: 200px;
  height: 355px;
  background-color: var(--gray-color02);
  margin: 0 auto;
}

.top_work_ttl {
  font-size: 24px;
  margin: 30px 0;
  font-weight: bold;
  text-decoration: underline;
  text-align: center;
}

.top_work_txt-wrapper {
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_work_txt-wrapper {
    text-align: left;
  }
}

.top_work_txt {
  display: inline-block;
  text-align: left;
}

/* ---------- .top_price ---------- */

.top_price_posts {
  margin: 64px 0 64px calc(54px - 32px);
  display: block;
  overflow-x: scroll;
  white-space: nowrap;
  position: relative;
}

@media screen and (min-width: 1080px) {
  .top_price_posts {
    margin: 88px 0;
  }
}

.top_price_posts::-webkit-scrollbar {
  display: none;
}

table {
  font-size: 24px;
}

tr:first-child {
  color: var(--white-color);
  background-color: var(--black-color);
}

tr:nth-child(3) {
  background-color: #e6e6e6;
}

tr:nth-child(5) {
  background-color: #e6e6e6;
}

th,
td {
  padding: 5px 15px; /* 上下 左右 */
  text-align: center;
}

th {
  font-weight: bold;
}

td:nth-child(1) {
  font-weight: bold;
}

.top_price-swipe {
  font-size: 20px;
  text-shadow: 0px 4px 4px rgb(184, 184, 184);
  font-family: "Noto sans jp";
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_price-swipe {
    display: none;
  }
}

/* ---------- .top_contact ---------- */

.top_contact_txt {
  margin: 45px 0;
  font-size: 16px;
  text-align: center;
}

@media screen and (min-width: 1080px) {
  .top_contact_txt {
    margin: 64px 0;
    font-size: 24px;
  }
}

/*---------- contact ----------*/

.contact_main {
  padding-bottom: calc(67px - 58px);
}

.contact_form_heading {
  font-size: 20px;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0 10px;
}

.contact_form_heading:not(:first-child) {
  margin-top: 40px;
}

.contact_form_required {
  color: var(--black-color);
  font-size: 12px;
  font-weight: bold;
  width: 40px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.contact_form_detail {
  margin-top: 8px;
}

.contact_form_detail__other {
  margin-top: 10px;
}

.contact_form_input {
  font-size: 16px;
  width: 100%;
  height: 48px;
  padding: 8px;
  border: 1px solid var(--black-color);
  border-radius: 2px;
  background: var(--white-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.contact_form_example-wrapper {
  text-align: right;
  height: 28px;
  margin-top: 8px;
}

.contact_form_example {
  color: var(--gray-color04);
  font-size: 14px;
}

.contact_form_check-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact_form_check-item {
  background: var(--gray-color03);
}

.contact_form_request-item-inner {
  height: 48px;
  padding: 8px;
  display: flex;
  border: 1px solid var(--black-color);
  border-radius: 2px;
  background: var(--gray-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.contact_form_checkbox {
  width: 24px;
  height: 24px;
  margin-top: 4px;
  flex-shrink: 0;
  background: var(--white-color);
  border: 1px solid var(--gray-color02);
  appearance: checkbox;
}

.contact_form_request-txt {
  margin-left: 16px;
}

.contact_form_textarea {
  font-size: 16px;
  width: 100%;
  height: 240px;
  padding: 8px;
  border: 1px solid var(--black-color);
  border-radius: 2px;
  background: var(--white-color);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.contact_form_btn-wrapper {
  width: 214px;
  height: 56px;
  margin: 67px auto 0;
}

@media screen and (min-width: 1080px) {
  .contact_form_btn-wrapper {
    margin: 120px auto 0;
  }
}

/* ---------- js ---------- */
.js_body.is_hidden {
  overflow: hidden;
}

.js_hamburger-bar {
  transition: top 0.24s, transform 0.24s, opacity 0.24s;
}

.js_hamburger.is-active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  transform: translate(50%, -50%);
  opacity: 0;
}

.js_hamburger.is-active .m_hamburger-bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-135deg);
}

.js_nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}

@media screen and (min-width: 1080px) {
  .js_nav {
    opacity: 1;
    pointer-events: auto;
  }
}

.js_nav.is-active {
  opacity: 1;
  pointer-events: auto;
}
