@charset "UTF-8";
:root {
  --base: #fff;
  --bg-1: #f2f2f2;
  --text-main: #313131;
  --text-sub: #919191;

  --accent-top: #313131;
  --accent-work: #4d89b2;
  --accent-service: #8db0a1;
  --accent-about: #c6cf4d;
  --accent-contact: #cb8989;

  --font-jp: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN",
    "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  --font-en: "Comme", sans-serif;
  --regular: 400;
  --medium: 500;
  --semi-bold: 600;

  --main-move: all 0.3s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
html {
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  font-size: 100%;
  scroll-behavior: smooth;
}
.sp-only {
  display: none !important;
}
@media screen and (max-width: 767px) {
  html {
    font-size: clamp(8px, 2.66vw, 10px);
  }
  .sp-only {
    display: block !important;
  }
  .pc-only {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: clamp(8px, 10 / 1440 * 100vw, 9.5px);
  }
}
@media screen and (min-width: 1186px) {
  html {
    font-size: 10px;
  }
}

:where(body) {
  width: 100vw;
}
body {
  background-color: var(--base);
  color: var(--text-main);
  font-family: var(--font-jp);
  font-weight: var(--medium);
  line-height: 1.7;
  letter-spacing: 0.08em;
}
img {
  width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95);
  visibility: hidden;
}
.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
}

.text_top {
  color: var(--accent-top);
}
.text_about {
  color: var(--accent-about);
}
.text_work {
  color: var(--accent-work);
}
.text_service {
  color: var(--accent-service);
}
.text_contact {
  color: var(--accent-contact);
}
.line_top {
  background-color: var(--accent-top);
}
.line_about {
  background-color: var(--accent-about);
}
.line_work {
  background-color: var(--accent-work);
}
.line_service {
  background-color: var(--accent-service);
}
.line_contact {
  background-color: var(--accent-contact);
}
/*
BUTTON
----------------------------*/
.main-btn {
  border: 1px solid #919191;
  display: block;
  font-size: 1.2rem;
  margin-top: 3rem;
  padding: 2rem;
  width: 100%;
  text-align: center;
}
.sub-btn {
  border-bottom: 1px solid #919191;
  display: inline-block;
  font-size: 1.2rem;
  margin-top: 2rem;
  padding: 0.5rem 0;
  width: 120px;
}
@media screen and (max-width: 767px) {
  .sub-btn {
    font-size: 1.4rem;
  }
}
/*
HEADER
----------------------------*/
.header {
  backdrop-filter: blur(6px);
  background: hsl(0deg 0% 100% / 70%);
  height: 88px;
  position: fixed;
  top: 0;
  transition: all 0.3s ease;
  width: 100vw;
  z-index: 80;
}
.header__inner {
  align-items: center;
  display: flex;
  height: 100%;
  margin: 0 auto;
  max-width: 1080px;
  width: 85%;
}
.header__title {
  display: block;
  font-size: 1.5rem;
  font-weight: var(--semi-bold);
  height: 100%;
  transition: all ease 0.3s;
}
.header__nav {
  margin-left: auto;
}
.header__nav-list {
  align-items: center;
  display: flex;
  gap: 4rem;
  height: 100%;
}
.header__nav-item {
  height: 100%;
  position: relative;
}
.header__nav-link {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: var(--medium);
  letter-spacing: 0.1em;
  height: 100%;
  padding: 0.5rem;
  position: relative;
  text-transform: uppercase;
  transition: var(--main-move);
}
.header__nav-item--top:hover .header__nav-link {
  color: var(--accent-top);
}
.header__nav-item--about:hover .header__nav-link {
  color: var(--accent-about);
}
.header__nav-item--work:hover .header__nav-link {
  color: var(--accent-work);
}
.header__nav-item--contact:hover .header__nav-link {
  color: var(--accent-contact);
}

@media screen and (max-width: 767px) {
  .header {
    height: 80px;
    padding: 14px 0;
  }
  .header__nav {
    margin: 0;
    width: 100%;
  }
  .header__inner {
    align-items: start;
    flex-direction: column;
    justify-content: space-between;
  }
  .header__nav-list {
    justify-content: space-between;
    gap: unset;
  }
  .header__nav-link {
    font-size: 1.2rem;
  }
}

/*
FOOTER-CTA
----------------------------*/
.footer-cta {
  background-color: #f7f3f3;
  text-align: center;
  margin: 16rem auto 0;
  max-width: 1080px;
  padding: 4rem;
  padding: 4rem 7rem;
  width: 100vw;
  width: 85%;
}
.footer-cta__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
}
.footer-cta__title {
  font-family: var(--font-en);
  font-size: 1.5rem;
  text-transform: uppercase;
}
.footer-cta__description {
  font-size: 1.2rem;
  margin-top: 1rem;
}
.footer-cta__link {
  width: 32.8rem;
}

@media screen and (max-width: 767px) {
  .footer-cta {
    margin: 8rem auto 0;
    padding: 4rem 2rem;
  }
  .footer-cta__link {
    width: 100%;
  }
  .footer-cta__description {
    font-size: 1.4rem;
    text-align: start;
  }
}

/*
BREADCRUMB
----------------------------*/
.breadcrumb-wrap {
  background-color: var(--bg-2);
  margin-top: 4rem;
}
.breadcrumb {
  margin: 0 auto;
  max-width: 1080px;
  padding: 1.2rem 0;
  width: 85%;
}
.breadcrumb__list {
  display: flex;
  column-gap: 1.2rem;
  flex-wrap: wrap;
  row-gap: 0.6rem;
}
.breadcrumb__item {
  color: var(--text-sub);
  font-size: 1rem;
  font-weight: var(--medium);
  position: relative;
  text-transform: uppercase;
  padding-left: 1.6rem;
}
.breadcrumb__item::before {
  content: "/";
  display: block;
  font-size: 1rem;
  left: 0;
  position: absolute;
  top: 0;
}
.breadcrumb__item:first-child {
  padding-left: 0;
}
.breadcrumb__item:first-child::before {
  display: none;
}
.breadcrumb__link:hover {
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
  .breadcrumb__list {
    column-gap: 1rem;
  }
  .breadcrumb__item {
    font-size: 1.2rem;
  }
  .breadcrumb__item::before {
    height: 1.8rem;
  }
}

/*
FOOTER
----------------------------*/
.footer {
  height: 135px;
  margin-top: 2rem;
  width: 100vw;
}
.footer__inner {
  border-top: 1px solid #919191;
  display: flex;
  height: 100%;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  padding: 4rem 0 7rem;
  width: 85%;
}
.footer__copyright {
  font-size: 1rem;
}
.footer__nav-list {
  align-items: center;
  display: flex;
  gap: 2rem;
  height: 100%;
}
.footer__nav-item {
  height: 100%;
  position: relative;
}
.footer__nav-link {
  font-family: var(--font-en);
  font-size: 1.2rem;
  font-weight: var(--medium);
  height: 100%;
  padding: 0.5rem;
  position: relative;
  text-transform: uppercase;
  transition: var(--main-move);
}
.footer__nav-item--top:hover .footer__nav-link {
  color: var(--accent-top);
}
.footer__nav-item--about:hover .footer__nav-link {
  color: var(--accent-about);
}
.footer__nav-item--work:hover .footer__nav-link {
  color: var(--accent-work);
}
.footer__nav-item--contact:hover .footer__nav-link {
  color: var(--accent-contact);
}

@media screen and (max-width: 767px) {
  .footer {
    height: auto;
  }
  .footer__inner {
    align-items: center;
    flex-direction: column-reverse;
    gap: 2rem;
  }
}

.p-header {
  margin-top: 12rem;
}
.p-header__title {
  align-items: center;
  display: flex;
  gap: 1.4rem;
}
.p-header__title--en {
  display: inline;
  font-family: var(--font-en);
  font-size: 1.5rem;
  text-transform: uppercase;
  white-space: pre;
  word-break: keep-all;
}
.p-header__line {
  height: 1px;
  width: 100%;
}
.category__button-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 4rem;
}
.category-button {
  border: 0.5px solid #919191;
  color: #919191;
  display: block;
  font-family: var(--font-en);
  padding: 0.2rem 1.6rem;
}
.category-button.selected-category {
  background-color: var(--accent-work);
  border: 0.5px solid var(--accent-work);
  color: #fff;
}
@media screen and (max-width: 767px) {
  .p-header {
    margin-top: 4rem;
  }
  .p-header__title-en {
    font-size: 4rem;
  }
  .p-header__title-ja {
    font-size: 1.2rem;
  }
  .p-header__titleWrap {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    margin-top: 5rem;
  }
  .p-header__imgWrap::after {
    height: 7rem;
  }
  .p-header__description {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: start;
  }
  .p-header__attention {
    text-align: start;
  }
  .p-header__index {
    margin-top: 4rem;
  }
  .category-button {
    font-size: 1.2rem;
  }
}

.l-archive {
  margin-top: 6.4rem;
}

.p-contents {
  margin-top: 6.4rem;
}

/*
POST-PAGE
----------------------------*/
.p-editable-content {
  font-size: 1.6rem;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 760px;
  width: 85%;
}
.p-editable-content h2 {
  color: var(--accent-color-2);
  font-size: 2.5rem;
  font-weight: var(--bold);
  margin-bottom: 3.2rem;
  margin-top: 12rem;
  letter-spacing: 0.08em;
}
.p-editable-content h2:first-child {
  margin-top: 0;
}
.p-editable-content p {
  line-height: 1.7;
  margin-bottom: 3.4rem;
}
.p-editable-content img {
  aspect-ratio: 5 / 3;
  object-fit: cover;
  width: 100%;
}
.p-single__content {
  background-color: var(--bg-3);
  padding: 16rem 0 7rem;
  min-height: 48rem;
}
.p-main--single .p-single__content {
  padding: 8rem 0;
}
.p-single__btn {
  display: flex;
  justify-content: center;
  margin-top: 6.4rem;
}
@media screen and (max-width: 767px) {
  .p-editable-content {
    font-size: 1.4rem;
  }
  .p-editable-content h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    margin-top: 4rem;
  }
  .p-editable-content p {
    font-size: 1.4rem;
  }
  .p-single__content {
    margin-top: 4rem;
    padding: 3rem 0;
  }
}

/*
ARCHIVE-PAGE
----------------------------*/
.nav-links {
  margin-top: 6.4rem;
}
.page-numbers {
  align-items: center;
  display: flex;
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: var(--semi-bold);
  gap: 2.4rem;
  justify-content: center;
}
.page-numbers .current {
  color: var(--accent-color-1);
}

/*
SECTION-TITLE
----------------------------*/
.section-title {
  align-items: center;
  display: flex;
  gap: 1.4rem;
}
.section-title__title-en {
  display: inline;
  font-family: var(--font-en);
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-title__line {
  height: 1px;
  width: 100%;
}
.section-description {
  font-size: 1.2rem;
  line-height: 1.9;
  margin-top: 4rem;
}

@media screen and (max-width: 767px) {
  .section-titleWrap--beside {
    align-items: start;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  .section-title--left {
    width: 100%;
  }
  .section-title__title-ja {
    font-size: 1.2rem;
  }
  .section-title__text {
    font-size: 1.4rem;
  }
  .section-title--left .section-title__text {
    margin-top: 3rem;
  }

  .section-description {
    font-size: 1.4rem;
  }
  .section-description {
    margin-top: 2rem;
  }
}

.wp-block-contents .wp-block-heading {
  font-size: 1.8rem;
  font-weight: var(--semi-bold);
  margin-bottom: 1rem;
  margin-top: 4rem;
}

.wp-block-contents p {
  font-size: 1.2rem;
  font-weight: var(--regular);
}
.wp-block-contents .wp-block-list {
  margin-top: 1rem;
}

/*Google CAPCHA*/
.grecaptcha-badge {
  visibility: hidden;
}
