@charset "UTF-8";

:root {
  /* 色管理用の変数 */
  --white-color: #ffffff;
  --black-color: #000000;
  --font-color: #253044;
  --primary-color: #bacad9;
  --accent-color: #ffd78a;
  --gray-color_01: #d9d9d9;
  --gray-color_02: #ededed;
  --text-shadow: rgb(0 0 0/15%);
  --text-back_white: rgb(255 255 255/35%);
}

:root {
  /* ローディング画面用の変数 */
  --loader-size: 150px;
  --text-color: var(--font-color);
  --light-size: 3px;
}

:root {
  /* コンテンツ幅管理用の変数 */
  --content-width-sm: 85%;
  --content-width: 967px;
  --content-width-order: 1100px;
  --content-width-lg: 1632px;
}

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

:root {
  /* フォント管理用の変数 */
  --accent-en: "Afacad", sans-serif;
  --accent-jp: "Noto Serif JP", sans-serif;
  --accent-shadow: 0 4px 4px var(--text-shadow);
}

/* ---------- base ---------- */
body {
  color: var(--font-color);
  background-color: var(--white-color);
  font-size: 14px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 350;
  line-height: 1.5;
  letter-spacing: 0.08em;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
/* 細いスクロールバーも考慮 */

body::-webkit-scrollbar {
  display: none;
}

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

.u_dn {
  display: none;
}

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

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

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

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

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

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

.l_contents {
  padding: 80px 0;
}

.l_SP_font-wrap {
  width: var(--content-width-sm);
  position: relative;
}

@media screen and (min-width: 768px) {
  .l_SP_font-wrap {
    margin: 0 auto;
  }
}

.l_SP_font-wrap_right {
  width: var(--content-width-sm);
  margin-left: auto;
}

@media screen and (min-width: 768px) {
  .l_top_pc-view {
    display: flex;
    width: 100%;
  }
}

.l_header {
  position: sticky;
  top: 0;
  z-index: var(--z-index-header);
  width: 100%;
  height: 72px;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width: 768px) {
  .l_header {
    position: fixed;
    width: 200px;
    height: 100vh;
    flex-direction: column;
    flex-shrink: 0;
  }
}

@media screen and (min-width: 1200px) {
  .l_header {
    width: 200px;
  }
}

@media screen and (min-width: 768px) {
  .l_header-logo {
    margin-top: 32px;
    text-align: center;
  }
}

.l_header-logo_img {
  width: 50px;
  height: 50px;
}

@media screen and (min-width: 768px) {
  .l_header-logo_img {
    width: 40%;
    height: auto;
  }
}

@media screen and (max-width: 767px) {
  .l_header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: calc(100% - 55%);
    height: 100vh;
    background-color: var(--primary-color);
    z-index: var(--z-index-modal);
    padding: 50px 20px;
  }
}

@media screen and (min-width: 768px) {
  .l_header-nav {
    position: static;
    background: transparent;
    width: auto;
    height: auto;
    opacity: 1;
    pointer-events: inherit;
  }

  .l_header-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media screen and (max-width: 767px) {
  .l_header-nav_list {
    margin-top: 50px;
  }
}

@media screen and (max-width: 767px) {
  .l_header-nav_item {
    justify-content: center;
  }
}

.l_header-nav_item {
  font-size: 24px;
  font-family: "Afacad", sans-serif;
  display: flex;
  align-items: center;
}

.l_header-nav_item:not(:first-child) {
  margin-top: 32px;
}

.l_header-nav_link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.l_header-nav_link::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: var(--font-color);
  position: absolute;
  left: 0;
  bottom: 2px;
  opacity: 0;
  transition: 0.35s;
  visibility: hidden;
}

/* PCなどのhoverが使えるデバイス向け */
@media (hover: hover) {
  .l_header-nav_link:hover::after {
    visibility: visible;
    bottom: 0px;
    opacity: 1;
  }
}

/* スマホなどhoverが使えないデバイス向け */
@media (hover: none) {
  .l_header-nav_link:active::after {
    visibility: visible;
    bottom: 0px;
    opacity: 1;
  }
}

.l_header-menu_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .l_header-menu_wrap {
    margin: 0;
    padding: 0;
  }
}

.l_header-sns_list {
  display: flex;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .l_header-sns_list {
    display: none;
  }
}

.l_header-sns_link {
  position: relative;
  transition: transform 0.25s ease;
  display: flex;
  align-items: center;
}

/* PCなどのhoverが使えるデバイス向け */
@media (hover: hover) {
  .l_header-sns_link:hover {
    transform: translateY(2px);
  }
}

/* スマホなどhoverが使えないデバイス向け */
@media (hover: none) {
  .l_header-sns_link:active {
    transform: translateY(2px);
  }
}

.l_header-sns_img {
  width: 24px;
  height: 24px;
}

.l_header-nav_copy {
  display: none;
}

@media screen and (min-width: 768px) {
  .l_header-nav_copy {
    display: block;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: normal;
  }
}

.l_main {
  flex-grow: 1;
  width: 100%;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .l_main {
    margin-left: 200px;
    width: calc(100% - 200px);
  }
}

.l_footer {
  width: 100%;
  height: 80px;
  background-color: var(--primary-color);
}

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

.l_footer_contents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.l_footer-logo {
  display: flex;
  justify-content: center;
}

.l_footer-logo_img {
  width: 50px;
  height: 50px;
}

.l_footer-copyright_txt {
  font-size: 12px;
}

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

.m_right {
  align-items: flex-end;
}

.m_left {
  align-items: flex-start;
}

@media screen and (min-width: 768px) {
  .m_left {
    margin-left: 72px;
  }
}

.m_hamburger {
  display: block;
  width: 32px;
  height: 26px;
  position: relative;
  z-index: var(--z-index-modal);
  border: none;
  background: transparent;
  transition: all 0.25s ease-in-out;
}

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

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

.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_btn-wrap {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}

.m_btn {
  font-family: var(--accent-en);
  font-size: 24px;
}

@media screen and (min-width: 768px) {
  .m_btn {
    font-family: var(--accent-en);
    font-size: 28px;
  }
}

.m_btn__more {
  position: relative;
  padding: 0 40px 0 16px;
  color: var(--font-color);
  text-decoration: none;
}

.m_btn__more::before {
  content: "";
  width: 100%;
  height: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: skew(50deg);
  transition: all 0.3s;
  border-bottom: 1px solid var(--font-color);
  border-right: 1px solid var(--font-color);
}

@media (hover: hover) {
  .m_btn__more:hover::before {
    left: 10%;
  }
}

@media (hover: none) {
  .m_btn__more:active::before {
    left: 10%;
  }
}

.m_btn_box {
  position: relative;
}

.m_btn__works {
  position: absolute;
  padding: 12px 25px;
  border: solid 1px var(--font-color);
  z-index: var(--z-index-page-top);
  top: -70px;
  left: 10%;
}

/* PCなどのhoverが使えるデバイス向け */
@media (hover: hover) {
  .m_btn__works:hover {
    font-size: 32px;
    transition: all 0.2s;
  }
}

/* スマホなどhoverが使えないデバイス向け */
@media (hover: none) {
  .m_btn__works:active {
    font-size: 32px;
    transition: all 0.2s;
  }
}

.m_contact_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px 0 160px;
}

.m_contact_link-wrap {
  position: relative;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  width: 300px;
  font-size: 18px;
  font-weight: normal;
  background-color: var(--primary-color);
}

/* PCなどのhoverが使えるデバイス向け */
@media (hover: hover) {
  .m_contact_link-wrap:hover {
    top: 3px;
    transition: all 0.2s;
  }
}

/* スマホなどhoverが使えないデバイス向け */
@media (hover: none) {
  .m_contact_link-wrap:active {
    top: 3px;
    transition: all 0.2s;
  }
}

.m_contact_section-link {
  height: 100%;
}

.m_section_title {
  position: relative;
  font-size: 32px;
  font-family: var(--accent-jp);
  font-weight: normal;
  text-shadow: var(--accent-shadow);
}

@media screen and (max-width: 382px) {
  .m_section_title {
    font-size: 30px;
  }
}

@media screen and (min-width: 768px) {
  .m_section_title {
    font-size: 48px;
  }
}

.m_section_title::before {
  font-family: var(--accent-en);
  color: var(--primary-color);
  font-size: 32px;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  position: absolute;
  left: 0;
  top: 0;
  text-shadow: none;
  opacity: var(--before-opacity, 0);
  transform: translateY(var(--before-translate-y, 50px));
  transition: opacity 0.8s, transform 0.8s;
}

.m_section_title::after {
  position: absolute;
  background-color: var(--primary-color);
  width: 1px;
  height: 50px;
  opacity: var(--before-opacity, 0);
  transform: translateY(var(--before-translate-y, 50px));
  transition: opacity 0.8s, transform 0.8s;
}

.m_section_title__message::before {
  content: "Message";
  margin-right: -70px;
  left: auto;
  right: 0;
}

.m_section_title__message::after {
  content: "";
  margin-right: -43px;
  top: 130px;
  left: auto;
  right: 0;
}

.m_section_title__Works::before {
  content: "Works";
  left: -70px;
  right: auto;
}

.m_section_title__Works::after {
  content: "";
  top: 90px;
  left: -50px;
  right: 0;
}

.m_section_title__plan::before {
  content: "Plan";
  margin-right: -70px;
  left: auto;
  right: 0;
}

.m_section_title__plan::after {
  content: "";
  margin-right: -43px;
  top: 70px;
  left: auto;
  right: 0;
}

.m_section_title__flow::before {
  content: "DesignFlow";
  left: -70px;
  right: auto;
}

.m_section_title__flow::after {
  content: "";
  top: 170px;
  left: -50px;
  right: 0;
}
.m_section_title__flow::before {
  content: "DesignFlow";
  left: -70px;
  right: auto;
}

.m_section_title__flow::after {
  content: "";
  top: 170px;
  left: -50px;
  right: 0;
}

.m_section_title__contact::before {
  content: "Contact";
  margin-right: -70px;
  left: auto;
  right: 0;
}

.m_section_title__contact::after {
  content: "";
  margin-right: -43px;
  top: 120px;
  left: auto;
  right: 0;
}

.m_flow_container:first-child {
  margin-top: 24px;
}

.m_flow_container:not(:first-child) {
  margin-top: 32px;
}

@media screen and (min-width: 768px) {
  .m_flow_container:not(:first-child) {
    margin-top: 40px;
  }
}

.m_flow_step-wrap {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-gap: 16px;
}

.m_flow_guide {
  position: relative;
  width: 70px;
  background-color: var(--primary-color);
  border-radius: 5px 5px 0 0;
  display: flex;
  flex-direction: column;
}

.m_flow_guide::after {
  content: "";
  position: absolute;
  top: -32px;
  left: 0;
  width: 100%;
  height: 17px;
  background-color: var(--primary-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

@media screen and (min-width: 768px) {
  .m_flow_guide::after {
    top: -40px;
  }
}

.m_first-flow_guide::after {
  display: none;
}

.m_last-flow-guide::before {
  content: "";
  position: absolute;
  bottom: -17px;
  left: 0;
  width: 100%;
  height: 17px;
  background-color: var(--primary-color);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.m_flow_guide-title {
  padding: 8px 0;
  font-weight: bold;
  color: var(--white-color);
  text-align: center;
}

.m_flow_content {
  padding-bottom: 30px;
}

.m_flow_title {
  font-size: 18px;
  width: 100%;
  border-bottom: 1px solid var(--font-color);
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .m_flow_title {
    font-size: 20px;
    margin-bottom: 16px;
  }
}

.m_flow_item {
  margin-top: 4px;
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-gap: 8px;
}

.flow_item__img {
  width: 24px;
  height: 24px;
}

.m_flow_item__txt {
  width: 100%;
}

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

.m_cat_kv {
  background: linear-gradient(rgba(69, 61, 40, 0.1), rgba(69, 61, 40, 0.1)),
    url(../img/under_kv.webp) no-repeat center center / cover;
  width: 100%;
  height: 250px;
}

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

.m_cat_kv_box {
  width: 100%;
  height: 218px;
  border: 1px solid var(--white-color);
}

.m_cat_kv_title {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 64px;
  font-style: var(--accent-en);
  color: var(--white-color);
  text-shadow: var(--accent-shadow);
}

.m_cat_title {
  font-size: 64px;
  font-family: var(--accent-en);
}

.m_subpage_title {
  font-size: 48px;
  font-family: var(--accent-en);
}

@media screen and (min-width: 768px) {
  .m_subpage_title-txt {
    font-size: 16px;
  }
}

.m_project_img-wrap {
  display: block;
  margin: 0 auto; /* 自動的に左右の余白を均等にする */
  text-align: center;
}

.m_project_img {
  width: auto;
  max-height: 250px;
}

.m_project_contents-wrap {
  margin-top: 32px;
}

.m_project_title-wrap {
  text-align: right;
}

.m_project_label-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.m_project_label {
  padding: 2px;
  font-size: 12px;
  font-weight: normal;
  background-color: var(--primary-color);
  border-radius: 5px;
}

.m_project_title {
  margin-top: 8px;
  font-size: 20px;
}

@media screen and (min-width: 768px) {
  .m_project_title {
    margin-top: 8px;
    font-size: 30px;
  }
}

/* ---------- top ---------- */

.top_kv {
  max-width: var(--content-width-lg);
}

@media screen and (min-width: 768px) {
  .top_kv {
    width: 100%;
    padding: 32px;
  }
}

.top_kv_contents {
  position: relative;
  background: url(../img/top_kvbase.webp) no-repeat center center/cover;
  background-size: 160% auto;
  height: 70%;
  left: -18px;
  width: 100%;
  top: 50%;
  margin-top: auto;
}

@media screen and (min-width: 415px) {
  .top_kv_contents {
    width: 100%;
    background-size: 130% 65%;
    background-position: -50px;
  }
}

@media screen and (min-width: 560px) {
  .top_kv_contents {
    width: 100%;
    background-size: 100% 65%;
    background-position: 40px;
  }
}

@media screen and (min-width: 768px) {
  .top_kv_contents {
    width: 100%;
    background-size: 90% 85%;
    background-position: right center;
  }
}

.top_kv_ttl-wrap {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 32px;
  width: 337px;
  height: 225px;
  font-family: "Afacad", sans-serif;
  letter-spacing: normal;
  background-color: var(--text-back_white);
  text-shadow: var(--accent-shadow);
  padding: 8px;
}

@media screen and (max-width: 350px) {
  .top_kv_ttl-wrap {
    width: 297px;
  }
}

@media screen and (min-width: 560px) {
  .top_kv_ttl-wrap {
    max-width: var(--content-width);
    left: 12%;
    display: grid;
    place-items: flex-start;
    justify-content: start;
    align-items: center;
    align-content: center;
  }
}

@media screen and (min-width: 1080px) {
  .top_kv_ttl-wrap {
    max-width: var(--content-width);
    left: 15%;
    width: 485px;
    height: 407px;
    display: grid;
    place-items: flex-start;
    justify-content: start;
    align-items: center;
    align-content: center;
  }
}

.top_kv_ttl {
  font-size: 40px;
}

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

.top_kv_dec {
  font-size: 14px;
}

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

.top_kv_img-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  width: 100%;
  height: calc(100vh - 104px);
}

@media screen and (min-width: 768px) {
  .top_kv_img-wrap {
    gap: 17px;
    justify-content: flex-end;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 1200px) {
  .top_kv_img-wrap {
    gap: 37px;
    justify-content: flex-end;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.top_kv_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_kv_img-1 {
  width: 40px;
  height: 441px;
  align-self: center;
  margin-top: 110px;
}

@media screen and (min-width: 768px) {
  .top_kv_img-1 {
    width: 40px;
    height: 520px;
    margin-top: 112px;
  }
}

@media screen and (min-width: 1200px) {
  .top_kv_img-1 {
    width: 55px;
    height: 600px;
    margin-top: 112px;
  }
}

.top_kv_img-1 .top_kv_img {
  object-position: -233px;
}

@media screen and (min-width: 768px) {
  .top_kv_img-1 .top_kv_img {
    object-position: -280px;
  }
}

@media screen and (min-width: 1200px) {
  .top_kv_img-1 .top_kv_img {
    object-position: -320px;
  }
}

.top_kv_img-2 {
  width: 88px;
  height: 386px;
  align-self: flex-start;
  margin-top: 35px;
}

@media screen and (min-width: 768px) {
  .top_kv_img-2 {
    width: 80px;
    height: 495px;
    margin-top: -50px;
  }
}
@media screen and (min-width: 1200px) {
  .top_kv_img-2 {
    width: 110px;
    height: 585px;
    margin-top: -50px;
  }
}

.top_kv_img-2 .top_kv_img {
  object-position: -237px;
}

@media screen and (min-width: 768px) {
  .top_kv_img-2 .top_kv_img {
    object-position: -362px;
  }
}

.top_kv_img-3 {
  width: 65px;
  height: 487px;
  align-self: flex-start;
  margin-top: 75px;
}

@media screen and (max-width: 569px) {
  .top_kv_img-3 {
    margin-right: -18px;
  }
}

@media screen and (min-width: 768px) {
  .top_kv_img-3 {
    width: 75px;
    height: 590px;
    margin-top: 30px;
  }
}
@media screen and (min-width: 1200px) {
  .top_kv_img-3 {
    width: 85px;
    height: 620px;
    margin-top: 30px;
  }
}

.top_kv_img-3 .top_kv_img {
  object-position: -216px;
}

@media screen and (min-width: 768px) {
  .top_kv_img-3 .top_kv_img {
    object-position: -277px;
  }
}

.top_kv_img-4 {
  display: none;
  width: 55px;
  height: 275px;
  align-self: flex-start;
  margin-top: 243px;
}

.top_kv_img-4 .top_kv_img {
  object-position: -159px;
}

@media screen and (min-width: 768px) {
  .top_kv_img-4 .top_kv_img {
    object-position: -185px;
  }
}

@media screen and (min-width: 570px) {
  .top_kv_img-4 {
    display: block;
    margin-right: 37px;
  }
}

@media screen and (min-width: 768px) {
  .top_kv_img-4 {
    width: 60px;
    height: 320px;
    margin-top: 260px;
  }
}

@media screen and (min-width: 1200px) {
  .top_kv_img-4 {
    width: 70px;
    height: 330px;
    margin-top: 260px;
  }
}

.top_kv_base {
  position: absolute;
  left: 0;
}

.top_kv-base_img {
  width: 95%;
  height: 70%;
}

.top_sub_texts {
  margin-top: 24px;
}

.top_sub_desc {
  margin-top: 14px;
}

@media screen and (min-width: 768px) {
  .top_sub_desc {
    margin-top: 4px;
    font-size: 16px;
  }
}

@media screen and (min-width: 768px) {
  .top_message_desc {
    margin-top: 16px;
  }
}

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

.contact_click {
  padding: 4px;
}

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

.contact-form {
  max-width: 830px;
  margin: 0 auto;
}

.form-unit {
  margin-top: 40px;
}

.form-unit_head-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-unit_head {
  font-weight: 350;
}

@media screen and (min-width: 768px) {
  .form-unit_head {
    font-size: 16px;
  }
}

.contact_form_required {
  padding: 4px;
  color: var(--font-color);
  background-color: var(--primary-color);
}

.form-unit_contents {
  margin-top: 4px;
}

.form-input {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--gray-color_01);
}

.form-checbox-item:not(:first-child) {
  margin-top: 8px;
}

.form-label {
  display: flex;
  align-items: center;
}

.form-label_txt {
  margin-left: 8px;
}

@media screen and (min-width: 768px) {
  .form-label_txt {
    font-size: 16px;
  }
}

.form-privacy_txt {
  margin-left: 8px;
  border-bottom: 1px solid var(--gray-color_01);
}

/* PCなどのhoverが使えるデバイス向け */
@media (hover: hover) {
  .form-privacy_txt:hover {
    background-color: var(--gray-color_02);
    transition: all 0.2s;
  }
}

/* スマホなどhoverが使えないデバイス向け */
@media (hover: none) {
  .form-privacy_txt:active {
    background-color: var(--gray-color_02);
    transition: all 0.2s;
  }
}

.form-txtrea {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--gray-color_01);
}

.form-privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px auto 0;
}

.form-submit {
  display: block;
  margin: 40px auto 0;
  width: 160px;
  height: 48px;
  border: 1px solid var(--gray-color_01);
  background-color: var(--white-color);
  text-align: center;
  font-weight: normal;
  transition: all 0.2s;
}

/* PCなどのhoverが使えるデバイス向け */
@media (hover: hover) {
  .form-submit:hover {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
  }
}

/* スマホなどhoverが使えないデバイス向け */
@media (hover: none) {
  .form-submit:active {
    border: 1px solid var(--primary-color);
    background-color: var(--primary-color);
  }
}

input[type="checkbox"] {
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gray-color_01);
  vertical-align: -5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 1px solid var(--font-color);
  border-bottom: 1px solid var(--font-color);
  content: "";
}

/* Contact Form 7の生成するチェックボックスリストのレイアウト調整用 */
.wpcf7-checkbox {
  margin-top: 8px; /* チェックボックスアイテムの余白 */
}

.wpcf7-list-item {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
}

.wpcf7-list-item input {
  margin-right: 8px;
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gray-color_01);
  vertical-align: middle;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7-list-item input:checked:before {
  position: absolute;
  top: 1px;
  left: 4px;
  transform: rotate(50deg);
  width: 4px;
  height: 8px;
  border-right: 1px solid var(--font-color);
  border-bottom: 1px solid var(--font-color);
  content: "";
}

/* ---------- profile ---------- */

.profile_image {
  margin-top: 40px;
}

@media screen and (min-width: 768px) {
  .profile_image {
    margin-top: 80px;
  }
}

.profile_img-wrap {
  text-align: center;
}

.profile_img {
  max-width: 500px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.profile_name {
  position: relative;
  margin-top: 8px;
  text-align: right;
  font-size: 36px;
  font-family: var(--accent-en);
}

@media screen and (min-width: 768px) {
  .profile_name {
    font-size: 50px;
  }
}

.profile_name::before {
  content: "Miyaka Goto";
  position: absolute;
  top: -30px;
  right: 0px;
  z-index: var(--z-index-back);
  font-size: 64px;
  font-family: var(--accent-en);
  color: var(--gray-color_02);
}

@media screen and (min-width: 768px) {
  .profile_name::before {
    top: -14px;
  }
}

.profile_desc {
  margin-top: 24px;
}

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

.profile_txt:not(:first-child) {
  margin-top: 16px;
}

/* ---------- core-values ---------- */

.core-values_box {
  /* max-width: 358px; */
  height: 596px;
  padding: 24px;
  border: 1px solid var(--font-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.core-values_title {
  font-size: 19px;
  font-weight: normal;
}

.core-values_img-wrap {
  margin-top: 24px;
}

.core-values_img {
  width: 297px;
  height: 232px;
  object-fit: contain;
}

.core-values_desc {
  margin-top: 24px;
}

.core-values_txt {
  font-size: 16px;
}

/* ---------- skill ---------- */

.skill_box {
  /* max-width: 358px; */
  height: 507px;
  padding: 24px;
  border: 1px solid var(--font-color);
}

.skill_title {
  font-size: 20px;
  text-align: center;
}

.skill_img-wrap {
  margin-top: 24px;
  text-align: center;
}

.skill_img {
  width: 120px;
  height: 120px;
}

.skill_desc-wrap {
  margin-top: 32px;
}

.skill_item {
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-gap: 8px;
}

.skill_item:not(:first-child) {
  margin-top: 4px;
}

.skill_item__txt {
  font-size: 16px;
}

.skill_item__item {
  font-size: 16px;
}

.skill_item__item:not(:first-child) {
  margin-top: 4px;
}

/* ---------- plan ---------- */

.plan_box-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
}

@media screen and (min-width: 768px) {
  .plan_box-wrap {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.plan_box {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 calc(33.333% - 16px);
  padding: 21px 38px 38px;
  max-width: 358px;
  border: 1px solid var(--font-color);
  text-align: center;
}

@media screen and (max-width: 1200px) {
  .plan_box {
    flex: 1 1 calc(50% - 16px);
  }
}

@media screen and (max-width: 768px) {
  .plan_box {
    flex: 1 1 100%;
  }
}

.plan_box:nth-child(1) {
  margin-left: 0;
}

.plan_box:nth-child(3) {
  margin-right: 0;
}

.plan_title {
  display: inline-block;
  font-size: 32px;
  font-weight: bold;
  background: linear-gradient(transparent 65%, var(--accent-color) 65%);
  margin: 0 auto;
}

.plan_desc {
  margin-top: 32px;
}

.plan_txt {
  font-weight: normal;
}

.plan_price-wrap {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.plan_price {
  margin: 0 auto;
}

.plan_price__title {
  font-size: 16px;
}

.price_amount {
  margin-top: 8px;
  font-size: 24px;
  font-weight: bold;
}

.plan_price-line {
  width: 1px;
  height: 60px;
  background-color: var(--font-color);
}

.plan_desc-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 16px;
  padding: 16px 8px;
  max-width: 282px;
  height: 327px;
  background-color: var(--primary-color);
  text-align: left;
}

.plan_desc__item {
  margin-top: 4px;
}

.plan_desc__item-finer {
  position: relative;
  margin-left: 32px;
}

.plan_desc__item-finer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 1px;
  height: 12px;
  background-color: var(--font-color);
}

.plan_desc__item-finer::after {
  content: "";
  position: absolute;
  top: 11px;
  left: -2px;
  width: 20px;
  height: 1px;
  background-color: var(--font-color);
}

.plan_notice {
  margin-top: 8px;
}

.plan_contents {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.plan_contents__box {
  max-width: 358px;
  height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 calc(33.333% - 32px);
  padding: 16px;
  gap: 24px;
  border: 1px solid var(--font-color);
}

@media screen and (max-width: 1200px) {
  .plan_contents__box {
    flex: 1 1 calc(50% - 32px);
  }
}

@media screen and (max-width: 768px) {
  .plan_contents__box {
    flex: 1 1 100%;
  }
}

.plan_contents__box:nth-child(1) {
  margin-left: 0;
}

.plan_contents__box:nth-child(3) {
  margin-right: 0;
}

.plan_contents__title {
  font-size: 20px;
  font-weight: normal;
  text-align: center;
}

.plan_contents__img-wrap {
  margin: 0 auto;
}

.plan_contents__img {
  width: 270px;
  height: 200px;
  object-fit: contain;
}

.plan_contents__item {
  display: grid;
  grid-template-columns: 24px 1fr;
  grid-gap: 8px;
}

.plan_contents__txt {
  font-weight: normal;
}

/* ---------- flow ---------- */

.fow_contents {
  margin-top: 40px;
}

/* ---------- works ---------- */

.works_contents {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.works-wrap:not(:first-child) {
  margin-top: 56px;
}

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

/* ---------- project & policy ---------- */

.project_img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.project_content,
.policy_content {
  margin-top: 40px;
}

.project_content h3,
.policy_content h3 {
  width: 100%;
  font-size: 24px !important;
  font-weight: normal;
  font-family: var(--accent-jp) !important;
  border-bottom: 1px solid var(--font-color);
  margin-top: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  background-image: url("https://miyakagoto.com/wp-content/uploads/2024/10/pen_2_line.png");
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 32px;
}

@media screen and (min-width: 768px) {
  .project_content h3,
  .policy_content h3 {
    font-size: 30px;
    margin-top: 24px;
  }
}

.project_content h4,
.policy_content h4 {
  margin-top: 16px;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 18px;
  font-weight: normal;
  margin-left: 32px;
}

@media screen and (min-width: 768px) {
  .project_content h4,
  .policy_content h4 {
    margin-top: 24px;
    font-size: 20px;
  }
}

.project_content p,
.policy_content p {
  margin-top: 2px;
  font-family: "Noto Sans JP", sans-serif !important;
  font-size: 14px;
  margin-left: 32px;
}

@media screen and (min-width: 768px) {
  .project_content p,
  .policy_content p {
    font-size: 16px;
  }
}

/* ---------- js ---------- */
.js_navigation {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

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

.js_navigation.active {
  opacity: 1;
  pointer-events: inherit;
}

.js_hamburger.active .m_hamburger-bar:first-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(45deg);
}

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

.js_hamburger.active .m_hamburger-bar:last-child {
  top: 50%;
  transform: translate(-50%, 0) rotate(-45deg);
}

/* ---------- ローディング画面 ---------- */
.is-active {
  overflow: hidden;
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary-color); /* 背景色を白に設定 */
  z-index: 9998; /* .top_kv_ttl-wrap の下に配置 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ローディングが終了したらz-indexを元に戻す */
.loaded .top_kv_ttl-wrap {
  z-index: auto;
}

/* ---------- swiper ---------- */

.swiper {
  margin-right: 0 !important;
}

@media screen and (min-width: 768px) {
  .swiper {
    margin-right: auto !important;
  }
}

.swiper-wrapper.transition {
  transition-timing-function: linear;
}

.swiper-slide {
  width: 100%;
}

.swiper_container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.swiper_container .swiper-button-prev {
  left: -40px;
}
.swiper_container .swiper-button-next {
  right: -40px;
}
.swiper_container .swiper-pagination {
  bottom: -30px !important;
}

.swiper .swiper-pagination-bullet {
  background-color: var(--primary-color);
}

.swiper_dots .swiper-pagination-bullet,
.swiper_dots-1 .swiper-pagination-bullet,
.swiper_dots-2 .swiper-pagination-bullet {
  background: var(--gray-color_01);
  width: 10px;
  height: 10px;
  border-radius: 100vh;
  color: transparent;
  border: 2px solid var(--white-color);
}

.swiper_dots .swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper_dots-1 .swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper_dots-2 .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

/* --swiper_works-- */

.swiper_works {
  margin-top: 24px;
  text-align: right;
  max-width: var(--content-width);
}

@media screen and (min-width: 768px) {
  .swiper_works {
    max-width: var(--content-width);
  }
}
.swiper_img {
  width: 250px;
  height: 254px;
}

/* -- swiper_values -- */

.swiper_values {
  margin: 0 auto !important;
}

.core-values_img {
  width: 250px;
  height: 254px;
}

/* --reCAPTCHA-- */
.grecaptcha-badge {
  z-index: 1000;
  transform: scale(0.7);
  opacity: 0.6;
  margin: 0 17px;
}
