/* ==========================================================================
   Design Studio LEAP - 全体レイアウト・タイポグラフィ
   ========================================================================== */

/* --- デザイントークン（余白・タイポグラフィ） --- */
:root {
  /* フォント */
  --font-sans: "IBM Plex Sans JP", sans-serif;

  /* フォントサイズ（rem） */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.875rem;
  /* 14px */
  --text-base: 1rem;
  /* 16px */
  --text-lg: 1.125rem;
  /* 18px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 2rem;
  /* 32px */
  --text-4xl: 2.5rem;
  /* 40px */
  --text-5xl: 3rem;
  /* 48px */
  --text-hero: 4rem;
  /* 64px */
  --text-hero-lg: 5rem;
  /* 80px */

  /* 行間 */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* 余白（rem） */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* レイアウト */
  --container-max: 75rem;
  /* 1200px */
  --container-narrow: 80vw;
  /* 832px */
  --breakpoint-sp: 767px;
  --breakpoint-pc: 768px;
}

/* --- ベース --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding: 108px 0 0 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: var(--leading-normal);
  color: #2c2c2c;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- タイポグラフィ（見出し・本文） --- */
h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: var(--leading-tight);
}

h1 {
  font-size: var(--text-4xl);
}

h2 {
  font-size: var(--text-2xl);
}

p {
  margin: 0 0 var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul[role="list"] {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- 共通コンテナ --- */
.header-inner,
.hero-inner,
.section-inner,
.footer-inner {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {

  .hero-inner,
  .section-inner {
    padding-inline: var(--space-8);
    max-width: var(--container-narrow);
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: rgba(233, 229, 220, 1);
}

.page .header {
  background: #fff;
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 4rem;
  padding-block: var(--space-10) var(--space-3);
  position: relative;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  font-weight: 700;
}

.nav {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.nav-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-16);
  list-style: none;
  padding-left: 0;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.link-svg {
  vertical-align: middle;
  transition: fill 0.5s;
}

.nav-link:hover .link-svg {
  fill: #b8860b;
}

.nav-link.is-current {
  fill: #b8860b;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* --- Header SP --- */
@media (max-width: 767px) {
  .header-inner {
    min-height: auto;
    padding-block: var(--space-3);
  }

  .nav {
    order: 3;
    width: 100%;
    display: none;
  }

  .nav-list {
    justify-content: flex-start;
    gap: var(--space-4);
  }

  .header-cta {
    padding: var(--space-2) var(--space-3);
  }

  .header-cta-ja {
    display: none;
  }

  .logo {
    width: 103px;
  }
}

/* ==========================================================================
   SP Menu
   ========================================================================== */
.contact-btn {
  width: 140px;
  height: 35px;
  margin-right: 50px;
}

.spmenu-container {
  position: fixed;
  top: 0;
  right: -260px;
  z-index: 3;
  width: 260px;
  height: 100vh;
  background: #fff;
  padding: 20px;
  transition: right .4s;
}

.js-menu.is-active {
  right: 0;
}

.spmenu__contact {
  margin-left: 1rem;
}

.spmenu__list {
  margin: 50px 0;
  padding-left: 0;
}

.spmenu__main {
  padding-bottom: var(--space-3);
  list-style: none;
  border-bottom: 1px solid #b29f6b;
  margin-bottom: 2rem;
}

.spmenu__main .accordionBtn {
  height: 100%;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: justify;
}

.spmenu__item {
  list-style: none;
}

.include-accordion .spmenu__sub {
  height: 0;
  padding: 0;
  overflow: hidden;
  transition: .5s;
  margin: 0;
}

/* アコーディオン */
.spmenu__main._accordion {
  position: relative;
}

.spmenu__main._accordion::before {
  content: "";
  width: 15px;
  height: 1px;
  background: #000;
  position: absolute;
  top: 15px;
  right: 0;
}

.spmenu__main._accordion::after {
  content: "";
  width: 1px;
  height: 15px;
  background: #000;
  position: absolute;
  top: 8px;
  right: 6px;
  left: auto;
}

.scroll-control.active .spmenu__sub {
  margin-top: 1rem;
}

.scroll-control.active .spmenu__main._accordion::after {
  content: none;
}

.spmenu__sub .spmenu__item {
  margin-bottom: var(--space-6);
  position: relative;
  padding-left: 30px;
  margin-left: 1rem;
}

.spmenu__sub .spmenu__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url("../img/list-ico@2x.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 12px 12px;
}

.spmenu__sub .spmenu__item:last-child {
  margin-bottom: 0;
}

/* hamburger
------------------------------------------------------ */
.hamburger {
  position: fixed;
  top: 1.1875rem;
  right: 1rem;
  z-index: 4;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 30px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.hamburger__line {
  position: relative;
  width: 30px;
  height: 3px;
  background: #b29f6b;
}

.hamburger__line::before,
.hamburger__line::after {
  position: absolute;
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  background: #b29f6b;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}

.hamburger__line::before {
  top: -9px
}

.hamburger__line::after {
  bottom: -9px;
}

.hamburger__txt {
  margin-top: 12px;
  font-size: 12px;
  text-transform: uppercase;
}

.hamburger[aria-expanded=true] .hamburger__line {
  background: transparent;
}

.hamburger[aria-expanded=true] .hamburger__line::before {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.hamburger[aria-expanded=true] .hamburger__line::after {
  bottom: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

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

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

  .spmenu {
    display: none !important;
  }
}

/* ==========================================================================
   Main
   ========================================================================== */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background-color: #e9e5dc;
  padding-block: var(--space-20) var(--space-16);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-16);
}

.hero-heading {
  width: 100%;
}

.hero-label {
  font-size: var(--text-lg);
  font-weight: 500;
  color: #8c7355;
  margin-bottom: var(--space-16);
}

.hero-title {
  aspect-ratio: 79 / 18;
  width: 100%;
  max-width: 100%;
  height: 80px;
  mask-image: url("../img/hero.svg");
  mask-repeat: no-repeat;
  mask-position: 0 0;
  mask-size: 100%;
  /* Chrome, Safari用 */
  -webkit-mask-image: url("../img/hero.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: 0 0;
  -webkit-mask-size: 100%;
  margin: auto;
}

.hero-tagline {
  font-size: var(--text-2xl);
  color: #2c2c2c;
  max-width: 28ch;
  margin: 0;
}

.hero-card {
  max-width: 100%;
  background: #fff;
  border: 1px solid #b29f6b;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-4);
  text-align: justify;
}

.hero-card-img {
  width: 160px;
  margin: auto;
}

.hero-card-title {
  display: inline-block;
  font-size: var(--text-lg);
  font-weight: 500;
  padding: var(--space-6) 0 0;
  margin: 0 var(--space-8) var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid #b29f6b;
  text-align: center;
  word-break: keep-all;
}

.hero-card-body {
  padding: 0 var(--space-6);
  text-align: justify;
}

.hero-card-body p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.hero-card-body p:last-child {
  margin-bottom: 0;
}

.pen {
  width: 196px;
  height: 196px;
  margin: 0 auto;
  /* animation: step 1s steps(3) alternate infinite; */
}

@keyframes step {
  to {
    background-position: -600px 0;
  }
}

.pen {
  background: url(../img/anime.png) no-repeat;
}

.steps02 {
  background: url(../images/add2026/icon-service2.png) no-repeat;
}

.steps03 {
  background: url(../images/add2026/icon-service3.png) no-repeat;
}


@media (min-width: 768px) {
  .hero {
    padding-block: var(--space-24) var(--space-20);
  }

  .hero-inner {
    gap: var(--space-24);
  }

  .hero-title {
    font-size: var(--text-hero-lg);
    height: 18vw;
  }

  .hero-label {
    height: 64px;
    margin-bottom: var(--space-10);
  }

  .hero-label img {
    height: 100%;
  }

  .hero-tagline {
    font-size: var(--text-2xl);
    max-width: none;
    letter-spacing: 0.04em;
    font-weight: 500;
  }

  .hero-tagline br {
    display: none;
  }

  .hero-card {
    padding: var(--space-12) var(--space-20);
    width: 800px;
  }

  .hero-card-title {
    font-size: var(--text-xl);
    padding: var(--space-8) var(--space-8) var(--space-4);
    max-width: 500px;
    margin: 0 auto var(--space-5);
    line-height:2em;
    letter-spacing:0.1em
  }

  .hero-card-title .sp-br {
    display: none;
  }

  .hero-card-body {
    padding: 0 var(--space-8);
  }
}

/* スマホが横向き（landscape）の場合に適用 */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .hero-title {
    font-size: var(--text-hero-lg);
    height: auto;
  }
}


/* ==========================================================================
   Section 共通
   ========================================================================== */
.section {
  padding-block: var(--space-16);
}

.section-projects {
  background-color: #f8f6f2;
  overflow: hidden;
}

.section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.section-title-en {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #2c2c2c;
}

.section-title-en img {
  max-width: 100%;
  height: auto;
}

.section-title-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #d4a84b;
  flex-shrink: 0;
}

.section-title-ja {
  font-size: var(--text-sm);
  font-weight: 500;
  color: #2c2c2c;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
}

.section-lead {
  margin-bottom: var(--space-10);
  text-align: justify;
}

.section-lead p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.section-lead p:last-child {
  margin-bottom: 0;
}

.section-subtitle {
  position: relative;
}

.section-subtitle::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../img/list-ico@2x.png);
  background-size: cover;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-20);
  }

  .section-title-en {
    font-size: var(--text-4xl);
  }

  .section-title-ja {
    font-size: var(--text-xl);
    letter-spacing: 0.4em;
    text-indent: 0.4em;
  }

  .section-lead {
    margin-bottom: var(--space-12);
    max-width: 50rem;
  }
}

/* ==========================================================================
   WORKS
   ========================================================================== */
.works-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  width: 100%;
  position: relative;
}

ul[role="list"].works-categories {
  margin-bottom: var(--space-12);
}

/* リンク化した .works-cat-btn で width を効かせるため block 化（inline では width が無視される） */
.works-categories .works-cat-btn {
  display: block;
}
.works-cat-btn {
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 500;
  color: #2c2c2c;
  background-color: #f5f0e8;
  border: 1px solid transparent;
  border-radius: 99em;
  width: 100%;
  aspect-ratio: 23 / 7;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  letter-spacing: 0.13em;
}

.works-cat-btn.is-active {
  background-color: #d4a84b;
  color: #fff;
}

.works-cta-wrap {
  grid-column: 2 / 3;
  grid-row: 4 / 5;
  margin-top: 52px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-lg);
  font-weight: 600;
  border-radius: 99em;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  width: 100%;
  aspect-ratio: 23 / 7;
}

.btn-outline {
  color: #2c2c2c;
  background-color: #fff;
  border: 2px solid #b29f6b;
}

.works-sp {
  display: none;
}

@media (max-width: 767px) {
  .works-categories {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }

  ul[role="list"].works-categories {
    margin-bottom: 0;
  }

  .works-cat-btn {
    padding: var(--space-3) var(--space-4);
    width: 100%;
    height: 48px;
    font-size: var(--text-sm);
  }

  .works-sp {
    display: block;
  }

  .works-cta-wrap {
    display: none;
  }
}

@media (orientation: portrait) {
  .works-cat-btn, .works-cta-wrap .btn {
    font-size: var(--text-sm);
  }
}

/* ==========================================================================
   PROJECTS
   ========================================================================== */
.section-projects .section-lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  width: 100%;
  max-width: 64rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: #b29f6b;
  overflow: hidden;
  box-shadow: 2px 2px 3px rgba(117, 113, 74, 0.5);
  color: #fff;
}

.project-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.project-card-client {
  font-size: var(--text-base);
  font-weight: 500;
  padding: var(--space-4) var(--space-4) 4px;
  margin: 0;
  text-align: center;
}

.project-card-type {
  font-size: var(--text-base);
  font-weight: 500;
  margin: 0;
  text-align: center;
}

.project-card-category {
  font-size: var(--text-base);
  font-weight: 500;
  padding: 0 var(--space-4) var(--space-4);
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .project-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

/* タブレット向け */
@media (min-width: 768px) and (max-width: 1024px) {
  /* タブレット向けのスタイル */
 .project-card-type {
  font-size: var(--text-xs);
}

.project-card-category {
  font-size: var(--text-xs);
}
}

/* ==========================================================================
   CONTACT（フォーム・タイポグラフィ）
   ========================================================================== */
.contact-inner {
  width: 100%;
  padding: 1rem;
  border: 1px solid #d29b00;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  text-align: left;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.form-label-required {
  width: 2.1875rem;
  height: 1.25rem;
  border-radius: 9px;
  background-color: #c53030;
  font-size: var(--text-xs);
  color: #fff;
  text-align: center;
  line-height: 20px;
  flex-shrink: 0;
}

select {
  -webkit-appearance: none;
  appearance: none;
  /* デフォルトの矢印を無効 */
}

select::-ms-expand {
  display: none;
  /* デフォルトの矢印を無効(IE用) */
}

select {
  background-image: url(../img/select@2x.png);
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 17px 17px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: #2c2c2c;
  background-color: #f0deab;
  border: 1px solid rgba(44, 44, 44, 0.2);
  border-radius: 0.375rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #6b6b6b;
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field-tel {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2);
}

.form-field-tel .form-input {
  flex: 0 0 4rem;
  text-align: center;
}

@media (min-width: 768px) {
  .form-field-tel .form-input {
    flex: 0 0 5rem;
  }

  .form-label.norequired {
    padding-left: 2.6875rem;
  }

  .contact-inner {
    padding: 40px;
    max-width: 850px;
  }

  .contact-form {
    max-width: var(--container-narrow);
  }
}

.form-tel-sep {
  font-size: var(--text-base);
  color: #6b6b6b;
}

.form-privacy {
  font-size: var(--text-xs);
  color: #6b6b6b;
  text-align: center;
  margin: 0 0 var(--space-4);
}

._red {
  color: #f15a24;
}

.form-submit-wrap {
  margin: 0;
  text-align: center;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-8);
  width: 260px;
  height: 50px;
  font-family: var(--font-sans);
  font-size: var(--text-xl);
  font-weight: 600;
  color: #fff;
  background-color: #2c2c2c;
  border: none;
  border-radius: 99em;
  cursor: pointer;
  line-height: 20px;
  text-align: center;
}

.btn-submit-icon {
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M22 2L11 13M22 2l-7 20-4-9-9-4 20-7z'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-right: 1rem;
}

.btn-submit span.ml {
  margin-left: 1rem;
}

.returnToTop {
  color: #d29b00;
}

@media (min-width: 768px) {

  .form-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .form-label {
    flex: 0 0 12rem;
    padding-top: var(--space-3);
  }

  .form-field {
    flex: 1;
  }

  .form-privacy br {
    display: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: #d29b00;
  color: #fff;
  padding-block: var(--space-12);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-company {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: 0;
}

.footer-address {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  font-style: normal;
}

.footer-address a {
  color: #fff;
}

.footer-privacy {
  font-size: var(--text-sm);
  margin: 0;
}

.footer-privacy a {
  color: #fff;
}

.footer-copy {
  font-size: var(--text-xs);
  margin: 0;
  opacity: 0.9;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.footer-social-link {
  display: block;
}

.footer-social-icon {
  width: 167px;
}

.footer-social-label,
.footer-social-id {
  font-size: var(--text-sm);
  margin: 0;
}

.footer-social-id a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-spmenu {
  margin: 0;
}

.footer-spmenu li {
  margin-bottom: 1rem;
}

.footer-spmenu li:last-child {
  margin-bottom: 0;
}

.footer-pcmenu {
  display: none;
}

.footer-social-sp {
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-social {
    align-items: flex-end;
    text-align: right;
  }

  .footer-spmenu {
    display: none;
  }

  .footer-pcmenu {
    display: flex;
    gap: var(--space-10);
  }

  .pcmenu__title {
    list-style: none;
  }

  .pcmenu__list {
    margin: 0;
  }

  .pcmenu__sub {
    padding-left: 1.6rem;
  }

  .pcmenu__item {
    list-style-type: "-";
    padding-left: 0.5rem;
  }

  .footer-social-sp {
    display: none;
  }
}

@media (orientation: portrait) {
  .footer-pcmenu {
    display: none;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
  }

  .footer-spmenu {
    display: block;
  }

  .footer-social-sp {
    display: block;
  }
}

/* ==========================================================================
   追従
   ========================================================================== */
.sticky-cta {
  display: none;
}

@media (min-width: 768px) {
  .sticky-cta {
    position: fixed;
    right: 0;
    top: 108px;
    display: block;
    width: 80px;
    height: 140px;
  }
}

/* ==========================================================================
   ホバー
   ========================================================================== */
@media (any-hover:hover) {
  ._circle {
    position: relative;
    transition-duration: 0.4s;
  }

  ._circle::after {
    background: #fff;
    border-radius: 50%;
    content: "";
    display: block;
    margin: auto;
    opacity: 0;
    /* pointer-events: none; */
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 40px;
    height: 40px;
    z-index: -1;
    transform: translateY(-50%) scale(0.1);
    transition: opacity .5s, transform 0s;
    transition-delay: 0s, .4s;
  }

  ._circle:hover::after {
    opacity: 1;
    transform: translateY(-50%);
    transition-delay: 0s;
    transition: opacity .8s, transform .2s ease-in-out;
  }

  .works-cat-btn:hover {
    color: #fff;
    background-color: #d4a84b;
    cursor: pointer;
  }
}

/* ==========================================================================
   ページトップ
   ========================================================================== */
.btn-pagetop {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  width: 60px;
  height: 60px;
  font-size: 16px;
  color: #fff;
  background: #7e5b4d;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
}

/* クラス付与時の指定 */
.is-active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   ページネーション
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding-left: 0;
  margin-top: var(--space-12);
}

.pagination li {
  margin: 0 10px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: bold;
  font-size: var(--text-2xl);
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination li.current {
  background: #d29b00;
  color: #fff;
  border-radius: 50%;
}

.pagination li.next {
  position: relative;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.pagination li.next::after {
  display: block;
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: solid 2px #d29b00;
  border-right: solid 2px #d29b00;
  margin: auto;
  transform: rotate(45deg);
}
.pagination li.prev {
  position: relative;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.pagination li.prev::after {
  display: block;
  content: '';
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: solid 2px #d29b00;
  border-right: solid 2px #d29b00;
  margin: auto;
  transform: rotate(225deg);
}

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

/* breadcrumb
------------------------------------------------------ */
.breadcrumb {
  position: relative;
  max-width: var(--container-max);
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
}

.breadcrumb a {
  font-size: 12px;
}

.breadcrumb a[aria-current] {
  text-decoration: none;
}

.breadcrumb__list {
  position: absolute;
  list-style: none;
  padding: 0;
}

.breadcrumb__item {
  display: inline;
}

.breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin-left: 0.2em;
  margin-right: 0.2em;
}

/* ==========================================================================
   Privacy Policy
   ========================================================================== */
.section-policy .section-lead {
  max-width: 46rem;
  margin-bottom: var(--space-10);
}

.section-policy .post-body {
  text-align: justify;
  max-width: 46rem;
}

.section-policy .post-body>h3 {
  font-size: 16px;
  font-weight: normal;
  margin-top: var(--space-10);
}

.section-policy .post-body>h3:first-child {
  margin-top: 0;
}

.section-policy .post-body ul {
  padding-left: 20px;
}

.section-policy address {
  font-style: normal;
}

/* ==========================================================================
   Swiper
   ========================================================================== */
@media (max-width: 767px) {
  .swiper {
    width: 100%;
  }

  .swiper-slide {
    width: 300px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid #d29b00;
    border-radius: 50%;
  }

  .swiper-button-next svg,
  .swiper-button-prev svg {
    width: 60%;
    height: 60%;
    color: #d29b00;
  }
}

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

/* marquee（HTML版と同じ挙動） */
.marquee-container {
  display: flex;
}
.marquee-inner {
  display: flex;
  animation: marquee 40s linear infinite;
  gap: var(--space-8);
}

@keyframes marquee {
  0% {
    translate: 0;
  }

  100% {
    translate: -50%;
  }
}

.marquee-inner .marquee-card {
  transition: scale .4s;
  flex: 0 0 320px;
}

.marquee-inner:has(.project-card:hover) {
  z-index: 2;
}

.marquee-inner .project-card:hover {
  scale: 1.1;
}

.marquee-paused {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .marquee-inner {
    display: none;
  }
}