@charset "utf-8";
:root {
  /* color */
  --white: #fff;
  --black1: #333333;
  --black2: #3c3c3c;
  --black3: #000000;
  --black4: #444444;
  --black5: #191919;
  --black6: #282828;
  --black7: #747474;
  --black8: #636363;
  --black9: #2f2f2f;
  --black10: #1c1b1a;
  --brown1: #744c04;
  --brown2: #6b4b00;
  --yellow1: #d8b96a;
  --yellow2: #f3f0b4;
  --yellow3: #d99b27;
  --yellow4: #e9c583;
  --yellow5: #e6c372;
  --yellow6: #a7800e;
  --yellow7: #fde29d;
  --yellow8: #c59b23;
  --yellow9: #f3bb66;
  --yellow10: #e9dfb7;
  --gray1: #adadad;
  --gray2: #d1d1d1;
  --gray3: #eeeeee;
  --gray4: #cdcdcd;
  /* content */
  --content-width: 1200px;
  --padding-sp: 13px;
  --padding-tab: 25px;
  /* font */
  --noto-sans: "Noto Sans JP", sans-serif;
  --oh-baby: "Oooh Baby", cursive;
  --cinzel: "Cinzel", serif;
}

html {
  font-size: 100%;
}

body {
  color: var(--black);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: initial;
  line-height: 1;
  letter-spacing: 0.1em;
  overflow-x: clip;
}

/* 共通パーツ
------------------------------------------------------- */
.section-title {
  margin-block-end: 60px;
}

.section-title__heading {
  display: flex;
  align-items: center;
  gap: 60px;
}

.section-title__en {
  width: auto;
  height: calc(clamp(3.2rem, 2.014rem + 5.31vw, 6rem));
  font-size: 4rem;
  color: var(--yellow5);
  line-height: 1;
}

.section-title__jp {
  font-size: 1.125rem;
  color: var(--white);
  letter-spacing: 0.1em;
}

.no-scroll {
  overflow: hidden;
  width: 100%;
  position: sticky;
}

.for-sp,
.for-tab {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease-out;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 860px) {
  .section-title {
    margin-block-end: calc(clamp(1.875rem, 0.544rem + 5.96vw, 3.75rem));
  }

  .section-title__heading {
    gap: calc(clamp(1rem, -0.952rem + 8.75vw, 3.75rem));
  }

  .section-title__jp {
    font-size: calc(clamp(0.625rem, 0.181rem + 1.99vw, 1.25rem));
  }

  .for-pc {
    display: none;
  }

  .for-tab {
    display: block;
  }
}

@media screen and (max-width: 528px) {
  .for-pc {
    display: none;
  }

  .for-tab {
    display: none;
  }

  .for-sp {
    display: block;
  }
}

/* header
----------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  color: var(--white);
}

.header.is-scrolled {
  background-color: rgba(0, 0, 0, 0.7);
}

.header__inner {
  display: grid;
  grid-template-columns: minmax(200px, 25%) 1fr auto;
  align-items: center;
  gap: 23px;
  height: 100%;
  margin-inline: auto;
  padding-inline: calc(clamp(1.25rem, -3.493rem + 8.82vw, 3.125rem)) calc(clamp(0.625rem, -2.537rem + 5.88vw, 1.875rem));
}

.header__logo {
  position: relative;
  z-index: 9999;
  max-width: 180px;
  margin: 0;
}

.header__logo-link.header__logo-link--white {
  display: none;
}

.header__logo-link {
  display: block;
  position: relative;
  z-index: 2;
}

.header__logo-link > img {
  max-width: 100%;
}

.header__nav {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 23px;
  position: relative;
  z-index: 2;
}

.header__nav-list {
  display: flex;
  gap: calc(clamp(1.5rem, -7.5rem + 12vw, 3rem));
}

.header__nav-link {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.4s ease-out;
}

.header__nav-link:hover {
  color: var(--yellow1);
}

.header__nav-button {
  display: flex;
  align-items: center;
  width: 200px;
  gap: 14px;
  padding: 14px;
  background: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  color: var(--black3);
  border-radius: 999px;
  font-weight: 700;
  transition: all 0.4s ease-out;
  position: relative;
  z-index: 9999;
}

.header__nav-button:hover {
  opacity: 0.6;
}

.header__nav-button-badge {
  background-color: var(--white);
  color: var(--brown1);
  font-size: 0.75rem;
  padding: 6px;
  margin-top: 4px;
  border-radius: 2px;
}

.header__nav-button-text {
  color: var(--black3);
  font-size: 1rem;
  text-align: center;
}

.header__nav-button-text--small {
  font-size: 0.78em;
}

.burger {
  display: none;
}

@media screen and (max-width: 1200px) {
  .header__nav-list {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 12px 20px;
  }
}

@media screen and (max-width: 860px) {
  .header {
    height: 80px;
  }

  .header__inner {
    padding-inline: 16px 124px;
    grid-template-columns: 1fr auto;
  }

  .header__nav-button {
    max-width: 250px;
    width: auto;
    height: 68px;
    border-radius: 40px;
    gap: calc(clamp(0.563rem, -0.233rem + 2.41vw, 1.063rem));
    padding-inline: calc(clamp(0.563rem, -0.233rem + 2.41vw, 1.063rem)) calc(clamp(1.063rem, -0.627rem + 5.12vw, 2.125rem));
  }

  .header__nav-button-badge {
    font-size: 0.875rem;
  }

  .header__nav-button-text {
    font-size: calc(clamp(1.125rem, 0.926rem + 0.6vw, 1.25rem));
  }

  .burger {
    width: 80px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    z-index: 9999;
    top: 0px;
    right: 0;
    background: linear-gradient(45deg, var(--black4), var(--black5));
    color: var(--white);
    transition: all 0.4s ease-out;
  }

  .burger__line {
    display: block;
    width: 50px;
    height: 1px;
    background-color: var(--white);
    transition: all 0.6s ease;
  }
  .is-active .burger {
    align-items: center;
  }

  .is-active .burger__line:nth-of-type(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .is-active .burger__line:nth-of-type(2) {
    opacity: 0;
  }

  .is-active .burger__line:nth-of-type(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .header__nav {
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 100px 0;
    width: 350px;
    height: 100dvh;
    padding-top: 156px;
    padding-inline: 67px;
    translate: 350px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s;
    z-index: 9998;
  }

  .header__nav-list {
    grid-template-columns: 1fr;
    justify-content: space-between;
    gap: 100px;
  }

  .header__nav-link {
    font-size: 1.5rem;
  }

  .is-active .header__nav {
    visibility: visible;
    opacity: 1;
    overflow: visible;
    translate: 0 0;
  }
}

@media screen and (max-width: 528px) {
  .header {
    height: 66px;
  }

  .header__inner {
    padding-inline: 8px 72px;
    grid-template-columns: 1fr auto;
  }

  .header__logo {
    max-width: 140px;
  }

  .header__nav-button {
    height: 40px;
    padding: 4px 9px;
  }

  .header__nav-button-badge {
    font-size: calc(clamp(0.625rem, 0.364rem + 1.17vw, 0.75rem));
    padding: 4px 3px;
  }

  .header__nav-button-text {
    font-size: calc(clamp(0.75rem, 0.489rem + 1.17vw, 0.875rem));
  }

  .header__nav {
    width: 250px;
    translate: 250px 0;
    padding-top: 116px;
    padding-inline: 34px;
    gap: 78px 0;
  }

  .header__nav-list {
    gap: 40px;
  }

  .header__nav-link {
    font-size: 1rem;
  }

  .burger {
    width: 66px;
    gap: 7px;
  }

  .burger__line {
    width: 30px;
  }

  .is-active .burger__line:nth-of-type(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .is-active .burger__line:nth-of-type(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =========================================
   mainvisual
   ========================================= */
.main-visual {
  position: relative;
  background-color: var(--black1);
  background-image: url("../img/mainvisual-bg.webp");
  background-size: cover;
  background-position: center;
  height: 826px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.main-visual__inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--padding-tab);
  padding-block: 110px 36px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.main-visual__content {
  position: relative;
  z-index: 2;
  flex: 1;
}

/* タイトルエリア */
.main-visual__heading {
  margin-block-end: 46px;
  position: relative;
  z-index: 2;
}

.main-visual__heading:before {
  content: "";
  display: block;
  background: url(../img/High-class-DX.webp) no-repeat center top/contain;
  position: absolute;
  z-index: -1;
  width: 55%;
  aspect-ratio: 3/2;
  height: auto;
}

.main-visual__sub-title {
  font-size: 1.75rem;
}

/* ドット装飾の新しい実装 */
.main-visual__dot-text {
  font-size: 3.2rem;
  line-height: 1.3;
  position: relative;
  display: inline-block;
  --dot-size: 10px;
  --dot-color: var(--yellow4);
  --dot-space: 12px;
  /* ------------------ */
  padding-block-start: var(--dot-space);
}

.main-visual__dot-text::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: var(--dot-size);
  /* 1文字（1em）ごとに1つのドットを配置 */
  background-image: radial-gradient(circle closest-side, var(--dot-color) 50%, transparent 50%);
  background-size: 1em var(--dot-size);
  background-repeat: repeat-x;
  background-position: left top;
}

.main-visual__main-title {
  font-size: 3.2rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-block-end: 32px;
  position: relative;
}

.main-visual__main-title--small {
  font-size: 0.6em;
}

.main-visual__lead {
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  line-height: 1.4;
  font-family: var(--noto-sans);
}

/* 特徴ボックス */
.main-visual__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-block-end: 49px;
  list-style: none;
}

.main-visual__feature-item {
  padding-inline: 10px;
  height: 90px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.2);
  color: var(--yellow2);
  font-size: 0.875rem;
  font-family: var(--noto-sans);
  line-height: 1.4;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.main-visual__feature-item::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 5px;
  background: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  pointer-events: none;
}

/* 実績スタッツ */
.main-visual__stats {
  display: flex;
  gap: 30px;
  margin-block-end: 16px;
}

.main-visual__stat-item {
  text-align: center;
}

.main-visual__stat-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ラベルと数値を縦に並べるエリア */
.main-visual__stat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-visual__stat-label {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
  margin-block-end: 10px;
}

.main-visual__stat-value-area {
  display: flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
}

.main-visual__stat-value-area::after {
  content: "※";
  font-size: 0.5rem;
  position: absolute;
  right: 0;
  top: 0px;
  z-index: 2;
}

.main-visual__stat-value {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
}

.main-visual__stat-unit {
  font-size: 0.875rem;
  font-weight: bold;
}

.main-visual__wreath {
  width: auto;
  height: 90px;
}

.main-visual__notes {
  font-size: 0.625rem;
  line-height: 1.2;
  color: var(--gray1);
}

/* 人物写真 */
.main-visual__person {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: 40%;
  max-width: 800px;
  z-index: 1;
  pointer-events: none;
}

.main-visual__person img {
  width: 100%;
  min-width: 560px;
  height: auto;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}
@media (max-width: 860px) {
  .main-visual {
    min-height: auto;
    height: auto;
  }

  .main-visual__inner {
    padding-top: 120px;
  }

  .main-visual__heading {
    margin-block-end: 23px;
  }

  .main-visual__dot-text {
    font-size: calc(clamp(1.75rem, 0.508rem + 5.57vw, 3.5rem));
  }

  .main-visual__main-title {
    font-size: calc(clamp(1.75rem, 0.508rem + 5.57vw, 3.5rem));
    margin-block-end: 16px;
  }

  .main-visual__lead {
    font-size: calc(clamp(0.688rem, 0.377rem + 1.39vw, 1.125rem));
  }

  .main-visual__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px;
    margin-block-end: 25px;
  }

  .main-visual__features > &:last-child {
    grid-column: 1/2;
  }

  .main-visual__feature-item {
    font-size: calc(clamp(0.625rem, 0.181rem + 1.99vw, 1.25rem));
    height: calc(clamp(3.125rem, 1.351rem + 7.95vw, 5.625rem));
  }

  .main-visual__stats {
    gap: 10px;
    flex-wrap: wrap;
    margin-block-end: 8px;
  }

  .main-visual__stat-wrapper {
    gap: 20px;
  }

  .main-visual__stat-label,
  .main-visual__stat-unit {
    font-size: calc(clamp(0.625rem, 0.448rem + 0.8vw, 0.875rem));
  }

  .main-visual__stat-value {
    font-size: calc(clamp(1.25rem, 0.895rem + 1.59vw, 1.75rem));
  }

  .main-visual__wreath {
    height: 70px;
  }

  .main-visual__person {
    width: 50%;
    aspect-ratio: 1/1;
    top: 15%;
  }

  .main-visual__person img {
    aspect-ratio: 1/1.2;
    width: 100%;
    min-width: auto;
    object-fit: cover;
    object-position: center top;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  }
}

@media (max-width: 528px) {
  .main-visual {
    background-image: url(../img/mainvisual-bg-sp.webp);
    height: auto;
  }

  .main-visual__inner {
    padding-inline: var(--padding-sp);
    padding-top: 100px;
  }

  .main-visual__features {
    gap: 8px;
  }

  .main-visual__stat-wrapper {
    gap: 0;
  }

  .main-visual__person {
    top: 20%;
  }
}

/* ----------------------------------------------------------
 Client Section
----------------------------------------------------------*/
.client {
  background-color: var(--black3);
  padding-block: 36px 75px;
  overflow: hidden;
  color: var(--white);
}

.client__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
}

.client__slider {
  /* max-width: 1400px; */
  margin-inline: auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.client__track {
  display: flex;
  width: max-content;
}

.client__list {
  display: flex;
  gap: 20px;
  padding-inline: 10px;
}

.client__item {
  width: 212px;
  height: 85px;
  background-color: var(--white);
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

/* アニメーション：右へ */
.client__track--to-right {
  animation: scroll-right 60s linear infinite;
}

/* アニメーション：左へ */
.client__track--to-left {
  animation: scroll-left 60s linear infinite;
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 860px) {
  .client {
    padding-block: 36px;
  }
}

@media screen and (max-width: 528px) {
  .client__inner {
    padding-inline: var(--padding-sp);
  }

  .client__slider,
  .client__list {
    gap: 10px;
  }

  .client__item {
    width: 110px;
    height: 45px;
  }

  .client__item img {
    width: 80%;
    height: auto;
  }
}

/* ----------------------------------------------------------
 Strengths Section
----------------------------------------------------------*/
.strengths {
  background-color: var(--black3);
  padding-block: 40px 20px;
  color: var(--white);
}

.strengths .section-title__heading {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
}

.strengths__list {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--padding-tab);
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.strengths__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5%;
}

.strengths__item--reverse {
  flex-direction: row-reverse;
}

.strengths__image-wrapper {
  position: relative;
  width: 45%;
}

.strengths__image-wrapper::before {
  content: "";
  position: absolute;
  inset-block-end: -20px;
  inset-inline-end: -20px;
  width: 100%;
  height: 100%;
  background-color: var(--black2);
  z-index: 1;
}

.strengths__image {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* テキストエリア */
.strengths__text-content {
  position: relative;
  flex: 1;
}

.strengths__number {
  position: absolute;
  inset-block-start: -30px;
  inset-inline-start: -20px;
  font-family: var(--oh-baby);
  font-size: 10rem;
  line-height: 1;
  color: var(--black2); /* 背景になじむ色、または透過色 */
  z-index: 1;
  opacity: 0.8;
  pointer-events: none;
}

.strengths__item-title {
  position: relative;
  z-index: 2;
  font-family: serif;
  font-size: calc(clamp(1.25rem, 1.144rem + 0.47vw, 1.5rem));
  line-height: 1.6;
  letter-spacing: 0.2em;
  margin-block-end: 27px;
}

.strengths__description {
  font-size: 1rem;
  font-family: var(--noto-sans);
  line-height: 1.8;
  text-align: justify;
  color: var(--gray2);
  position: relative;
  z-index: 2;
}

@media (max-width: 860px) {
  .strengths {
    padding-block: 25px;
  }

  .strengths__list {
    gap: calc(clamp(3.125rem, 0.907rem + 9.94vw, 6.25rem));
  }

  .strengths__item,
  .strengths__item--reverse {
    flex-direction: column;
    align-items: flex-start;
    gap: calc(clamp(2.625rem, 0.762rem + 8.35vw, 5.25rem));
  }
  .strengths__image-wrapper {
    width: 100%;
    flex: none;
  }

  .strengths__image-wrapper::before {
    inset-block-end: -10px;
    inset-inline-end: -10px;
  }

  .strengths__number {
    font-size: calc(clamp(10rem, 8.581rem + 6.36vw, 12rem));
    inset-block-start: -40px;
  }

  .strengths__item-title {
    font-size: calc(clamp(1.25rem, 0.097rem + 5.17vw, 2.875rem));
  }

  .strengths__description {
    font-size: calc(clamp(0.875rem, 0.343rem + 2.39vw, 1.625rem));
  }
}

@media screen and (max-width: 528px) {
  .strengths .section-title__heading,
  .strengths__list {
    padding-inline: var(--padding-sp);
  }
}

/* ----------------------------------------------------------
 Works Section
----------------------------------------------------------*/
.works {
  position: relative;
  background-color: var(--black3);
  padding-block: 120px;
  overflow: hidden;
}

.works__bg-shining {
  position: absolute;
  top: -100px;
  width: 100%;
  z-index: 1;
  pointer-events: none;
}

.works__bg-shining img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.works .section-title__heading {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
}

.works__inner {
  position: relative;
  z-index: 2;
  max-width: 1600px;
  margin-inline: auto;
}

.works__intro {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--noto-sans);
  line-height: 1.5;
  margin-block-end: 32px;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
}

/* スライダー全体のコンテナ */
.works__slider.swiper {
  position: relative;
  /* padding-inline-start: 468px; */
  /* overflow: visible; */
  padding-bottom: 90px;
  width: calc(100% - 74px * 2);
}

.works__slider-inner.swiper-wrapper {
  display: flex;
  gap: 0;
  padding-block: 20px;
  box-sizing: content-box;
}

.works__card.swiper-slide {
  /* width: 360px;
  height: 420px; */
  position: relative;
  transition: all 0.4s ease-out;
}

.works__card-bg {
  position: absolute;
  width: 100%;
  z-index: 1;
}

.works__card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto 1fr;
}

/* カードスタイル */
.works__card {
  background-color: var(--white);
  border: 1px solid var(--yellow1);
}

.works__card-header {
  display: flex;
  align-items: start;
  gap: 20px;
  margin-block-end: 18px;
  padding: 12px 18px 0px;
}

.works__card-icon {
  width: 100px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
}

.works__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works__card-tag {
  display: inline-block;
  border: 1px solid var(--yellow6);
  color: var(--yellow6);
  font-size: 0.75rem;
  padding: 6px 10px;
  margin-block: 6px;
}

.works__card-info {
  color: var(--black1);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
}

.works__card-title {
  color: var(--brown2);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: justify;
  margin-block-end: 20px;
  padding-inline: 18px;
  min-height: 3.6em;
}

.works__card-experience {
  position: relative;
  padding: 10px 10px 40px 10px;
}

.works__card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.works__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.works__card-row {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.works__card-row--before {
  margin-block-end: 18px;
}

.works__card-label {
  flex-shrink: 0;
  background-color: var(--white);
  color: var(--black3);
  border: solid 1px var(--gray4);
  font-size: 0.75rem;
  font-weight: 500;
  height: 20px;
  width: 64px;
  display: grid;
  place-items: center;
}

.works__card-row--after .works__card-label {
  background-color: var(--black5);
  color: var(--white);
}

.works__card-details {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.works__card-row--after .works__card-details {
  font-size: 1rem;
  font-weight: 600;
}

.works__card-price {
  font-size: 1.5em;
  position: relative;
}

.works__card-row--after .works__card-price::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -2.5em;
  z-index: -1;
  width: calc(100% + (1.25em * 4));
  aspect-ratio: 180/15;
  background: url(../img/brush-highlight.webp) no-repeat center bottom/contain;
}

.works__card-btn {
  position: absolute;
  bottom: -25px;
  right: 0;
  left: 0;
  z-index: 2;
  margin-inline: auto;
  display: block;
  max-width: 320px;
  width: 95%;
  height: 42px;
  aspect-ratio: 320/42;
  display: grid;
  place-items: center;
  font-size: 1.125rem;
  font-family: var(--cinzel);
  font-weight: 400;
  color: var(--black3);
  border: 2px solid transparent;
  border-radius: 25px;
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  overflow: hidden;
  transition: all 0.4s ease-out;
}

.works__card-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.works__card-btn:hover::after {
  opacity: 1;
}

/* ナビゲーション矢印 */
.works__nav.swiper-button-next,
.works__nav.swiper-button-prev {
  position: absolute;
  inset-block-start: 50%;
  /* transform: translateY(-50%); */
  width: 74px;
  height: 74px;
  background-color: var(--black3);
  border: var(--gray1);
  z-index: 10;
  cursor: pointer;
}

.works__nav.swiper-button-prev {
  left: 0px;
}

.works__nav.swiper-button-next {
  right: 0px;
}

.works__nav.swiper-button-next::after,
.works__nav.swiper-button-prev::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  margin: auto;
}

.works__nav.swiper-button-next::after {
  transform: translateX(-20%) rotate(45deg);
}

.works__nav.swiper-button-prev::after {
  transform: translateX(20%) rotate(-135deg);
}

.view-btn {
  display: grid;
  place-items: center;
  width: 320px;
  height: 68px;
  aspect-ratio: 320/68;
  margin-inline: auto;
  background: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  border-radius: 999px;
  color: var(--black3);
  font-size: 1.25rem;
  font-family: var(--cinzel);
  font-weight: 400;
  transition: all 0.4s ease-out;
}

.view-btn:hover {
  opacity: 0.6;
}

@media (max-width: 1100px) {
  .works__slider.swiper {
    padding-inline-start: initial;
  }
}

@media screen and (max-width: 860px) {
  .works {
    padding-block: 80px;
  }

  .works__bg-shining {
    top: 0;
  }

  .works__slider.swiper {
    padding-bottom: 45px;
  }

  .works__card.swiper-slide {
    width: calc(clamp(20rem, 12.903rem + 31.81vw, 30rem));
    height: auto;
  }

  .works__card-icon {
    width: calc(clamp(3.75rem, 0.556rem + 14.31vw, 8.25rem));
  }

  .works__card-header {
    gap: calc(clamp(1.25rem, 0.363rem + 3.98vw, 2.5rem));
    margin-block-end: calc(clamp(0.875rem, 0.254rem + 2.78vw, 1.75rem));
    padding-top: calc(clamp(0.75rem, 0.306rem + 1.99vw, 1.375rem));
    padding-inline: calc(clamp(1rem, 0.379rem + 2.78vw, 1.875rem));
  }

  .works__card-tag {
    font-size: calc(clamp(0.625rem, 0.359rem + 1.19vw, 1rem));
  }

  .works__card-info {
    font-size: calc(clamp(0.75rem, 0.395rem + 1.59vw, 1.25rem));
  }

  .works__card-title {
    font-size: calc(clamp(0.875rem, 0.254rem + 2.78vw, 1.75rem));
    padding-inline: calc(clamp(0.75rem, 0.218rem + 2.39vw, 1.5rem));
    margin-block-end: calc(clamp(1.125rem, 0.327rem + 3.58vw, 2.25rem));
  }

  .works__card-experience {
    padding: calc(clamp(0.625rem, 0.181rem + 1.99vw, 1.25rem)) calc(clamp(0.75rem, 0.218rem + 2.39vw, 1.5rem));
    padding-bottom: 40px;
  }

  .works__card-row {
    gap: calc(clamp(0.75rem, 0.218rem + 2.39vw, 1.5rem));
  }

  .works__card-row--before {
    margin-block-end: calc(clamp(1.5rem, 0.435rem + 4.77vw, 3rem));
  }

  .works__card-label {
    font-size: calc(clamp(0.5rem, 0.234rem + 1.19vw, 0.875rem));
    height: calc(clamp(1.125rem, 0.859rem + 1.19vw, 1.5rem));
    width: calc(clamp(3rem, 1.758rem + 5.57vw, 4.75rem));
  }

  .works__card-details {
    font-size: calc(clamp(0.625rem, 0.359rem + 1.19vw, 1rem));
  }

  .works__card-row--after .works__card-details {
    font-size: calc(clamp(0.75rem, 0.395rem + 1.59vw, 1.25rem));
  }

  .works__card-btn {
    width: calc(clamp(10rem, 2.903rem + 31.81vw, 20rem));
    height: auto;
    bottom: -14px;
    font-size: calc(clamp(0.75rem, 0.218rem + 2.39vw, 1.5rem));
  }

  .view-btn {
    width: 90%;
    max-width: 500px;
    height: auto;
    aspect-ratio: 320/40;
  }
}

@media screen and (max-width: 528px) {
  .works {
    padding-block: 80px 36px;
  }
  .works__bg-shining {
    display: none;
  }

  .works__slider.swiper {
    width: calc(100% - 40px * 2);
  }

  .works__nav.swiper-button-next,
  .works__nav.swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  .works__nav.swiper-button-next::after,
  .works__nav.swiper-button-prev::after {
    width: 24px;
    height: 24px;
  }
}

/* ----------------------------------------------------------
 Flow Section
----------------------------------------------------------*/
.flow {
  position: relative;
  background-color: var(--black3);
  background-image: url("../img/flow-bg.webp");
  background-size: cover;
  background-position: center 55px;
  background-repeat: no-repeat;
  padding-block-end: 130px;
}

.flow__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
}

.flow__list {
  display: flex;
  flex-direction: column;
  gap: 38px;
  max-width: 800px;
  margin-inline: auto;
}

.flow__item {
  display: flex;
  align-items: center;
  gap: 26px;
}

.flow__visual {
  flex-shrink: 0;
  width: 144px;
  height: auto;
  aspect-ratio: 1/1;
  background-color: var(--black6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
}

.flow__number {
  position: absolute;
  top: -0.5em;
  margin-inline: auto;
  font-family: var(--cinzel);
  font-size: 2rem;
  color: var(--yellow5);
  text-align: center;
}

.flow__icon {
  width: 40%;
}

.flow__icon img {
  width: 100%;
  height: auto;
}

.flow__item-title {
  color: var(--white);
  font-size: 1.375rem;
  font-weight: 800;
  margin-block-end: 13px;
}

.flow__item-text {
  font-family: var(--noto-sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--white);
}

.flow__footer {
  position: absolute;
  bottom: -40px;
  right: 0;
  left: 0;
  margin-inline: auto;
}

.flow__btn {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 17px;
  width: 100%;
  max-width: 560px;
  padding: 22px 32px;
  margin-inline: auto;
  background: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  border-radius: 999px;
  color: var(--black3);
  font-weight: 700;
  transition: all 0.4s ease-out;
}

.flow__btn:hover {
  opacity: 0.6;
}

.flow__btn-badge {
  background-color: var(--white);
  color: var(--brown1);
  font-size: 1rem;
  padding-inline: 9px;
  padding-block: 6px;
  border-radius: 5px;
}

.flow__btn-text {
  font-size: 1.5rem;
}

.flow__btn-text--small {
  font-size: 0.75em;
}

@media (max-width: 528px) {
  .flow {
    padding-block: 34px;
    background-position: center 90px;
  }

  .flow__inner {
    padding-inline: var(--padding-sp);
  }

  .flow .section-title__heading {
    margin-bottom: 40px;
  }

  .flow__list {
    gap: 36px;
  }

  .flow__item {
    gap: 13px;
    align-items: start;
  }

  .flow__visual {
    width: 72px;
  }

  .flow__number {
    font-size: 1rem;
  }

  .flow__item-title {
    font-size: 1rem;
  }

  .flow__item-text {
    font-size: 0.75rem;
  }

  .flow__footer {
    bottom: -20px;
  }

  .flow__btn {
    padding: 12px 16px;
    width: max-content;
  }

  .flow__btn-badge {
    font-size: 0.75rem;
    padding: 3px 5px;
  }

  .flow__btn-text {
    font-size: 1rem;
  }
}

/* ----------------------------------------------------------
 Post List Component (Common for Info & Interview)
----------------------------------------------------------*/
.post-list {
  background-color: var(--black3);
  padding-block: 80px;
  overflow: hidden;
}

.post-list.interview {
  background: url(../img/interview-bg.webp) no-repeat center top/cover;
}

.post-list__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
  position: relative;
}

.post-list__slider {
  position: relative;
  margin-bottom: 40px;
}

.post-list__slider-inner {
  overflow: visible;
}

/* カードスタイル */
.post-list__card {
  height: auto;
  display: flex;
  flex-direction: column;
}

.post-list__card-thumb {
  aspect-ratio: 380 / 240;
  margin-block-end: 20px;
  overflow: hidden;
  width: 100%;
  margin-inline: auto;
}

.post-list__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease-out;
}

.post-list__card:hover .post-list__card-thumb img {
  scale: 1.1;
}

.post-list__card:hover .post-list__card-btn {
  background-image: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3)), linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  color: var(--black3);
}

.post-list__card-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  margin-block-end: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-list__card-tag {
  display: inline-block;
  border: 1px solid var(--yellow6);
  color: var(--yellow6);
  font-size: 0.875rem;
  padding: 5px 10px;
  margin-block-end: 10px;
}

.post-list__card-excerpt {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--white);
  margin-block-end: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-list__card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  color: var(--yellow2);
  font-size: 1rem;
  font-family: var(--cinzel);
  font-weight: 500;
  border-radius: 999px;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--black3), var(--black3)), linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease-out;
}

.post-list__card-btn:hover {
  background-image: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3)), linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  color: var(--black3);
}

@media screen and (max-width: 860px) {
  .post-list__slider {
    width: 90%;
  }

  .post-list__nav.swiper-button-next,
  .post-list__nav.swiper-button-prev {
    border: none;
    top: 40%;
  }

  .post-list__nav.swiper-button-next {
    right: 10px;
  }

  .post-list__nav.swiper-button-prev {
    left: 10px;
  }

  .post-list__nav.swiper-button-next::after,
  .post-list__nav.swiper-button-prev::after {
    color: var(--yellow2);
  }
}

@media (max-width: 528px) {
  .post-list {
    padding-block: 45px;
  }

  .post-list__slider {
    width: 85%;
    margin-bottom: 35px;
  }

  .post-list__inner {
    padding-inline: var(--padding-sp);
  }

  .post-list__card-thumb {
    margin-block-end: 11px;
  }

  .post-list__card-title {
    font-size: 1rem;
    margin-block-end: 7px;
  }

  .post-list__card-tag {
    font-size: 0.625rem;
    padding: 3px 10px;
    margin-block-end: 6px;
  }

  .post-list__card-excerpt {
    font-size: 0.75rem;
    margin-block-end: 6px;
  }

  .post-list__card-btn {
    height: 30px;
    font-size: 0.875rem;
  }

  .post-list__nav.swiper-button-next::after,
  .post-list__nav.swiper-button-prev::after {
    font-size: 2rem;
  }
}

/* ----------------------------------------------------------
 Contact Section
----------------------------------------------------------*/
.contact {
  position: relative;
  background-color: var(--black3);
  padding-block: 65px;
  color: var(--white);
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  top: 0;
  width: 100%;
  justify-self: auto;
  z-index: 1;
  pointer-events: none;
}

.contact__bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.contact__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
}

.contact__intro {
  font-size: 1rem;
  line-height: 1.5;
  margin-block-end: 48px;
  text-align: left;
}

/* フォーム全体の最大幅を制限 */
.contact__form .smf-form {
  max-width: 1000px;
  margin-right: auto;
}

.contact .smf-progress-tracker {
  display: none;
}

/* 各入力行のレイアウト */
.contact__form .smf-item {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  justify-content: space-between;
  border: none; /* デフォルトの境界線を消す */
  gap: 18px;
}

.contact__form .smf-form--letter .smf-item {
  padding-block: 8px;
}
.contact__form .smf-form--letter .smf-item__col--label {
  padding-bottom: 0;
}

.contact__form .smf-item__label__text {
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 27px;
}

/* 「必須」ラベルのカスタマイズ */
.contact__form .smf-item__label__text mark {
  border-radius: 5px;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--black3), var(--black3)), linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--yellow8) !important;
  font-size: 0.875rem;
  padding: 6px 10px;
  font-weight: 500;
}

/* コントロールエリア */
.contact__form .smf-item__col--controls {
  max-width: 700px;
  width: 100%;
}

/* 入力フィールド共通 */
.contact__form .smf-form .smf-text-control__control,
.contact__form .smf-form .smf-select-control__control,
.contact__form .smf-form .smf-textarea-control__control {
  max-width: 700px;
  width: 100%;
  background-color: var(--white);
  border: 1px solid var(--black3);
  padding: 20px 22px 20px 22px;
  font-size: 1.125rem;
  color: var(--black1);
}
.contact__form .smf-form .smf-select-control__control {
  background-color: transparent;
  padding-left: 20px;
  width: 90px;
}

.contact__form .smf-form .smf-placeholder[data-name="year"] .smf-select-control__control {
  width: 150px;
}

.smf-select-control {
  width: 100%;
}

.contact__form .smf-form .smf-placeholder[data-name="state"] .smf-select-control__control {
  width: 100%;
  padding: 20px 22px 20px 22px;
}

.contact__form .smf-form .smf-select-control__toggle:before {
  width: 10px;
  height: 10px;
  border-color: var(--black3);
  right: 10px;
}

.contact__form .smf-form .smf-placeholder[data-name="state"] .smf-select-control__toggle:before {
  right: 30px;
}

/* 生年月日の横並び（wp-block-group） */
.contact__form .wp-block-group.is-layout-flex {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* テキストエリア */
.contact__form .smf-textarea-control__control {
  min-height: 288px;
}

/* 送信ボタンエリア */
.snow-monkey-form[data-screen="confirm"] .smf-action {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 650px;
  margin-inline: auto;
}

.contact__form .smf-action .smf-button-control__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;
  width: 100%;
  height: 68px;
  background: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  border: none;
  border-radius: 999px;
  color: var(--black1);
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.4s ease;
}

.contact__form .smf-action .smf-button-control__control[data-action="back"] {
  background: var(--gray1);
}

.contact__form .smf-button-control__control:hover {
  opacity: 0.6;
}

.contact__form .smf-placeholder {
  font-size: 1.125rem;
}

.contact .smf-complete-content {
  color: var(--white);
  font-size: calc(clamp(0.875rem, 0.769rem + 0.47vw, 1.125rem));
  line-height: 1.6;
}

@media (max-width: 860px) {
  .contact {
    padding-block: 45px;
  }
  .contact__form .smf-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact__form .smf-form .smf-text-control__control,
  .contact__form .smf-form .smf-select-control__control,
  .contact__form .smf-form .smf-textarea-control__control {
    padding: 16px 20px;
  }
}

@media screen and (max-width: 528px) {
  .contact__inner {
    padding-inline: var(--padding-sp);
  }

  .contact__intro {
    font-size: 0.875rem;
    margin-block-end: 26px;
  }

  .contact .contact__form .smf-progress-tracker {
    display: none;
  }
  .contact__form .smf-item {
    gap: 10px;
  }

  .contact__form .smf-form .smf-item__col {
    max-width: 100%;
  }

  .contact__form .smf-item__label__text {
    font-size: 0.875rem;
    gap: 14px;
  }

  .contact__form .smf-item__label__text mark {
    font-size: 0.625rem;
    padding: 3px 6px;
  }
  .contact__form .smf-form .smf-text-control__control,
  .contact__form .smf-form .smf-select-control__control,
  .contact__form .smf-form .smf-textarea-control__control {
    padding: 12px 25px;
    font-size: 0.875rem;
  }

  .contact__form .wp-block-group.is-layout-flex {
    max-width: 100%;
    display: grid;
    grid-template-columns: 2fr auto 1.5fr auto 1.5fr auto;
    align-items: center;
    gap: 10px;
  }

  .contact__form .smf-form .smf-select-control__control {
    width: 100%;
    padding-left: 6px;
  }

  .contact__form .smf-form .smf-placeholder[data-name="year"] .smf-select-control__control {
    width: 100%;
  }

  .contact__form .smf-form .smf-placeholder[data-name="state"] .smf-select-control__control {
    padding: 12px 25px;
  }

  .contact__form .smf-textarea-control__control {
    min-height: 175px;
  }

  .contact__form .smf-action .smf-button-control__control {
    max-width: 320px;
    width: 100%;
    height: 40px;
    font-size: 0.875rem;
  }
}

/* ----------------------------------------------------------
 Footer Section
----------------------------------------------------------*/
.footer__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
}

/* 上部エリア（背景画像1） */
.footer__top {
  padding-block: 35px;
  background-image: url("../img/footer-menu-bg.webp");
  background-size: cover;
  background-position: center top;
}

.footer__tag-group {
  margin-block-end: 26px;
}

.footer__tag-group:last-child {
  margin-block-end: 0;
}

.footer__tag-label {
  color: var(--white);
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 16px;
}

.footer__tag-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  border-radius: 50%;
}

.footer__tag-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px 10px;
}

.footer__tag-item a {
  display: block;
  height: 40px;
  color: var(--yellow8);
  border: solid 1px var(--brown2);
  font-size: 1rem;
  padding-inline: 6px;
  display: grid;
  place-items: center;
  transition: all 0.4s ease-out;
}

.footer__tag-item a:hover {
  background-color: var(--yellow8);
  color: var(--white);
}

/* 下部エリア（背景画像2） */
.footer__bottom {
  padding-block: 60px 20px;
  background-image: url("../img/footer-bg.webp");
  background-size: cover;
  background-position: center -20px;
}

.footer__main {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-block-end: 20px;
}

.footer__info {
  grid-column: 1/2;
  grid-row: 1/2;
}

.footer__logo {
  display: block;
  margin-bottom: 30px;
  max-width: 220px;
}

.footer__logo img {
  width: 100%;
  height: 100%;
}

.footer__address {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.4;
}

.footer__sns {
  grid-column: 1/2;
  grid-row: 2/3;
  display: flex;
  gap: 25px;
}

.footer__sns-item {
  height: 32px;
}

.footer__sns-item img {
  height: 100%;
  width: auto;
}

.footer__nav {
  position: relative;
  grid-column: 2/3;
  grid-row: 1/2;
}

.footer__nav-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 0px;
  width: max-content;
  margin-left: auto;
}

.footer__nav-item a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 0.4s ease-out;
}

.footer__nav-item a:hover {
  color: var(--yellow1);
}

.footer__pmark {
  grid-column: 2/3;
  grid-row: 2/3;
  width: 60px;
  height: auto;
  aspect-ratio: 86/88;
  margin-left: auto;
}

.footer__pmark img {
  width: 100%;
  height: auto;
}

.footer__copyright {
  color: var(--gray1);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.4;
}

@media screen and (max-width: 1000px) {
  .footer__main {
    grid-template-rows: repeat(3, auto);
  }

  .footer__info {
    grid-column: 1/3;
    grid-row: 1/2;
  }

  .footer__sns {
    grid-column: 1/2;
    grid-row: 3/4;
    align-items: center;
  }

  .footer__nav {
    grid-column: 1/3;
    grid-row: 2/3;
  }

  .footer__nav-list {
    grid-template-columns: 1fr 2fr;
    gap: 20px 10px;
    width: auto;
  }

  .footer__nav-item a {
    width: max-content;
  }

  .footer__pmark {
    grid-column: 2/3;
    grid-row: 3/4;
  }
}

@media (max-width: 528px) {
  .footer__inner {
    padding-inline: var(--padding-sp);
  }

  .footer__top {
    padding-block: 36px 40px;
  }

  .footer__tag-label {
    font-size: 0.875rem;
    gap: 6px;
  }

  .footer__tag-label::before {
    width: 5px;
    height: 5px;
  }

  .footer__tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
  }

  .footer__tag-item a {
    width: auto;
    height: 25px;
    font-size: 0.75rem;
  }

  .footer__bottom {
    background-color: var(--black3);
    background-image: url(../img/footer-bg-sp.webp);
    padding-block: 36px;
  }

  .footer__logo {
    width: 180px;
    height: 40px;
  }

  .footer__address {
    font-size: 0.625rem;
  }

  .footer__nav-item a {
    font-size: calc(clamp(0.75rem, 0.661rem + 0.4vw, 0.875rem));
  }

  .footer__pmark {
    width: auto;
    height: 40px;
    margin-right: 20px;
  }
}

/* =================================================================
固定ページ
================================================================= */
.page-mainvisual {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 50;
  background: url(../img/archive-page-mainvisual.webp) no-repeat center center/cover;
  padding-inline: var(--padding-tab);
}

.page-mainvisual__inner {
  width: 100%;
  max-width: var(--content-width);
  height: 100%;
  margin-inline: auto;
  position: relative;
  display: flex;
  align-items: center;
}

.breadcrumbs {
  position: absolute;
  z-index: 60;
  bottom: 16px;
  left: 0;
  color: var(--white);
  font-size: 0.75rem;
  line-height: 1.2;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumbs > a,
.breadcrumbs > li {
  color: currentColor;
}

@media screen and (max-width: 528px) {
  .page-mainvisual {
    height: 280px;
    padding-inline: var(--padding-sp);
  }

  .breadcrumbs {
    gap: 7px;
    font-size: 0.625rem;
  }

  .page__title-ja {
    color: var(--white);
    font-size: 1.25rem;
    letter-spacing: 0.3em;
  }

  .page__title-en {
    font-size: 3.75rem;
    top: -20px;
    left: -7px;
  }
}

/* =================================================================
Contact and career contact page
================================================================= */
.contact-page-mainvisual .page-mainvisual__inner {
  justify-content: center;
}

.contact-page__heading {
  text-align: center;
}

.contact-page__heading-text {
  color: var(--white);
  font-weight: 500;
  line-height: 1.2;
  font-size: calc(clamp(2rem, 1.629rem + 1.66vw, 2.875rem));
}

.contact-page__heading-text--small {
  font-size: 0.56em;
}

.contact-page__wrapper {
  background-color: var(--gray3);
  padding-block: 65px 35px;
}

.contact-page__wrapper .contact__form {
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: var(--padding-tab);
  color: var(--black10);
}

.contact-page__lead {
  color: var(--black1);
  font-size: calc(clamp(0.875rem, 0.769rem + 0.47vw, 1.125rem));
  font-family: var(--noto-sans);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* トラッカー全体 */
.contact__form .smf-progress-tracker {
  width: 80%;
  height: 40px;
  /* display: grid; */
  /* grid-template-columns: repeat(3, 1fr); */
  border: 2px solid var(--black10);
  margin-top: 45px;
  border-radius: 30px;
  overflow: hidden;
  margin-inline: auto;
}

/* 各ステップ */
.smf-progress-tracker__item {
  font-size: 1.25rem;
  height: 100%;
  display: grid !important;
  place-items: center;
  border-right: solid 2px var(--black10);
  background-color: var(--white);
}
.smf-progress-tracker__item:last-of-type {
  border-right: none;
}

.contact__form .smf-progress-tracker__item__text {
  font-size: 1rem;
  margin-top: 0;
  color: var(--black10);
  font-family: var(--noto-sans);
}

.smf-progress-tracker__item::after,
.smf-progress-tracker__item::before {
  display: none !important;
}

/* 現在のステップ */
.smf-progress-tracker__item[aria-current="true"] {
  background-color: var(--black10);
}

.smf-progress-tracker__item[aria-current="true"] .smf-progress-tracker__item__text {
  color: var(--white) !important;
}

/* 番号を非表示（必要に応じて） */
.smf-progress-tracker__item__number {
  display: none !important;
}

.contact-page__wrapper .contact__form .smf-form {
  max-width: 100%;
  margin-right: initial;
}

.contact-page__wrapper .contact__form .smf-item {
  grid-template-columns: 270px 1fr;
}

/* プライバシーポリシーチェックボックス */
.contact-page__wrapper .smf-form .smf-checkbox-control {
  align-items: end;
}
.contact-form__privacy {
  margin-top: 30px;
}
.contact-form__privacy a {
  color: var(--yellow6);
  border-bottom: solid 1px var(--yellow6);
  transition: all 0.4s ease-out;
}
.contact-form__privacy a:hover {
  opacity: 0.6;
}
.contact__form .wp-block-group.is-layout-flex:has(.smf-checkbox-control) {
  grid-template-columns: 1fr;
}
.smf-label:has(.smf-checkbox-control) {
  display: flex;
  justify-content: center;
}

/* 「必須」ラベルのカスタマイズ */
.contact-page__wrapper .contact__form .smf-item__label__text mark {
  background-image: linear-gradient(var(--gray3), var(--gray3)), linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
}

.smf-item:has(.smf-placeholder[data-name="department"]) mark {
  visibility: hidden;
}
.snow-monkey-form[data-screen="confirm"] .smf-item:has(.smf-placeholder[data-name="department"]) mark {
  display: none;
}

.contact-page__wrapper .contact__form .smf-item__col--controls {
  max-width: 100%;
}

.contact-page__wrapper .contact__form .smf-item__col--controls > .smf-item__controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 13px;
}

.contact-page__wrapper .contact__form .smf-item__col--controls .wp-block-group.is-layout-flex.date-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 33px;
}

.date-info .wp-block-group.is-layout-flex {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 12px;
}

.contact__form .smf-form .date-info .smf-select-control__control {
  padding: 12px 22px 12px 10px;
}

.contact__form .smf-form .date-info .smf-select-control__control {
  width: 100%;
}

.contact-page__wrapper .contact__form .smf-form .smf-text-control__control,
.contact-page__wrapper .contact__form .smf-form .smf-select-control__control,
.contact-page__wrapper .contact__form .smf-form .smf-textarea-control__control {
  border: none;
  font-size: 1rem;
  color: var(--black1);
  max-width: 100%;
}

.snow-monkey-form[data-screen="confirm"] .date-info .wp-block-group.is-layout-flex {
  display: flex;
  justify-content: start;
  align-items: center;
}

.contact-page__wrapper .smf-complete-content {
  color: var(--black1);
  font-size: calc(clamp(0.875rem, 0.769rem + 0.47vw, 1.125rem));
  font-family: var(--noto-sans);
  line-height: 1.6;
  margin-bottom: 60px;
}

.contact-page__wrapper + .footer .footer__top {
  display: none;
}

@media screen and (max-width: 1100px) {
  .contact-page__wrapper .contact__form .smf-item__col--controls .wp-block-group.is-layout-flex.date-info {
    grid-template-columns: 1fr;
    gap: 13px;
  }
}

@media screen and (max-width: 1000px) {
  .date-info .wp-block-group.is-layout-flex {
    grid-template-columns: 1fr auto 1fr auto 1fr auto;
    gap: 10px;
  }
}

@media (max-width: 860px) {
  .contact-page__wrapper {
    padding-block: 30px;
  }
  .contact-page__wrapper .contact__form .smf-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media screen and (max-width: 528px) {
  .contact-page__lead {
    margin-bottom: 30px;
  }

  .contact__form .smf-progress-tracker {
    width: 100%;
    height: 30px;
    position: relative;
    margin-top: 0;
  }

  .contact__form .smf-progress-tracker__item__text {
    font-size: 0.75rem;
  }

  .smf-progress-tracker::after {
    content: "";
    background-color: var(--black10);
    display: block;
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin-inline: auto;
    z-index: -1;
  }

  .contact-page__wrapper .contact__form {
    padding-inline: var(--padding-sp);
  }

  .contact__form .smf-form .date-info .smf-select-control__control {
    padding: 20px;
  }

  .contact__form .wp-block-group.is-layout-flex {
    max-width: 100%;
    display: grid;
    grid-template-columns: 2fr auto 1.5fr auto 1.5fr auto;
    align-items: center;
    gap: 10px;
  }

  .contact__form .wp-block-group.is-layout-flex:has(.smf-placeholder[data-name="privacy"]) {
    grid-template-columns: 1fr;
  }
  /* .smf-checkbox-control__label {
  font-size: 1rem;
} */
  .smf-placeholder[data-name="privacy"] {
    font-size: 1rem;
  }
}

/* ----------------------------------------------------------
 Archive Interview
----------------------------------------------------------*/
.archive-page__container {
  background-color: var(--gray3);
  padding-block: 65px;
}

.archive-page__inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
}

/* タグリストエリア */
.archive-page__tags {
  margin-block-end: 55px;
}

.archive-page__tag-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.archive-page__tag-link {
  display: grid;
  place-items: center;
  height: 36px;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--white), var(--white)), linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  overflow: hidden;
  transition: all 0.4s ease-out;
  color: var(--yellow8);
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}

.archive-page__tag-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, var(--yellow1), var(--yellow2), var(--yellow3));
  opacity: 0;
  transition: opacity 0.4s ease-out;
}

.is-active.archive-page__tag-link::after {
  opacity: 1;
}

.archive-page__tag-link:hover::after {
  opacity: 1;
}

.archive-page__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px 30px;
}

.archive-page__container .post-list__card-title {
  color: var(--black1);
  font-size: 1rem;
}

.archive-page__container .post-list__card-excerpt {
  color: var(--black3);
}

.archive-page__container .post-list__card-btn {
  color: var(--black3);
  background-image: none;
  background-color: var(--white);
  background-origin: initial;
  background-clip: initial;
  border: solid 1px var(--black3);
}

.archive-page__container .post-list__card-btn:hover {
  background-color: var(--black3);
  color: var(--white);
}

/* ページネーション */
.c-pagination {
  margin-block-start: 80px;
}

.c-pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* 数字の円形スタイル */
.c-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.125rem;
  background-color: var(--gray2);
  color: var(--black7);
}

.c-pagination .page-numbers.current {
  background-color: var(--black3);
  color: var(--white);
}

.c-pagination .prev,
.c-pagination .next {
  background-color: transparent !important;
  width: 24px;
}

.c-pagination__arrow--prev,
.c-pagination__arrow--next {
  display: block;
  width: 10px;
  height: 10px;
  border-block-start: 2px solid #333;
  border-inline-end: 2px solid #333;
}

.c-pagination__arrow--prev {
  transform: rotate(-135deg);
}

.c-pagination__arrow--next {
  transform: rotate(45deg);
}

.archive-contact.contact {
  padding-block: 60px;
}

.archive-contact .contact__bg {
  top: -120px;
}

.archive-contact .contact__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
}

.archive-contact .section-title,
.archive-contact .contact__intro {
  margin-block-end: 40px;
}

.archive-contact .flow__btn {
  position: relative;
  z-index: 2;
  text-align: center;
}

.archive-contact .flow__btn-text {
  font-size: 1.25rem;
}

@media screen and (max-width: 860px) {
  .archive-contact .contact__bg {
    top: 0px;
  }
  .archive-contact .contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 528px) {
  .archive-page__grid {
    grid-template-columns: 1fr;
  }
  .archive-page__grid .post-list__card {
    padding: 10px 10px 10px 10px;
    background-color: var(--gray3);
    box-shadow: 3px 3px 6px 0px rgba(0, 0, 0, 0.2);
  }
  .archive-page__tags {
    margin-block-end: 30px;
  }
  .archive-page__tag-list {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 6px;
  }
  .archive-page__container {
    padding-block: 35px;
  }
  .archive-page__inner {
    padding-inline: var(--padding-sp);
  }
  .archive-page__tag-link {
    font-size: 0.8125rem;
    height: 28px;
  }
  .archive-contact .contact__inner {
    gap: 0px;
  }
  .archive-contact .flow__btn-text {
    font-size: 0.875rem;
  }
  .archive-contact .flow__btn img {
    width: 12px;
    height: auto;
  }
}

/* =================================================================
  works archive
================================================================= */
.works-archive .archive-page__inner {
  max-width: var(--content-width);
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); */
  grid-template-columns: repeat(3, 1fr);
  gap: 58px 10px;
}

.works-archive .works__card {
  max-width: 420px;
  margin-inline: auto;
  box-shadow: 6px 6px 13px 0px rgba(0, 0, 0, 0.2);
}

.works__card-content:hover .works__card-btn::after {
  opacity: 1;
}

.works-archive .c-pagination .nav-links {
  gap: 24px;
}

.works-archive .c-pagination .page-numbers {
  width: auto;
  height: auto;
  background-color: transparent;
  border-radius: 0;
  color: var(--black1);
  font-size: 1.25rem;
  font-weight: 500;
  padding-block-end: 4px;
  border-bottom: 2px solid transparent;
  transition:
    border-color 0.3s,
    color 0.3s;
}

.works-archive .c-pagination .page-numbers.current {
  color: var(--black1);
  border-bottom-color: var(--yellow1);
  font-weight: bold;
}

.works-archive .c-pagination .dots {
  border-bottom: none;
  padding-inline: 4px;
}

.works-archive .c-pagination .prev,
.works-archive .c-pagination .next {
  width: 32px;
  background-color: transparent !important;
}

.works-archive .c-pagination__arrow--prev,
.works-archive .c-pagination__arrow--next {
  border-block-start: 1px solid var(--gray1);
  border-inline-end: 1px solid var(--gray1);
  width: 12px;
  height: 12px;
}

.works-archive .c-pagination a.page-numbers:hover {
  color: var(--yellow1);
}

@media screen and (max-width: 1160px) {
  .works-archive .archive-page__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 860px) {
  .works-archive .archive-page__inner {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
  single
================================================================= */
.single {
  background-color: var(--gray3);
}

.single-page {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--padding-tab);
  padding-block: 35px;
}

.single-page .breadcrumbs {
  color: var(--black1);
  font-size: 0.75rem;
  font-weight: 700;
  position: initial;
}

.single-page__inner {
  padding-block: 0 57px;
}

.single-page__header {
  margin-block-end: 40px;
}

.single-page__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-end: 20px;
}

.single-page__date {
  font-size: 1rem;
  color: var(--black1);
}

.single-page__tag {
  display: inline-block;
  border: 1px solid var(--yellow6);
  color: var(--yellow6);
  font-size: 1rem;
  padding: 6px 12px;
  transition: all 0.4s ease-out;
}

.single-page__tag:hover {
  background-color: var(--yellow6);
  color: var(--white);
}

.single-page__title {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
}

.single-page__thumb {
  margin-block-end: 24px;
  width: 95%;
  margin-inline: auto;
}

.single-page__thumb img {
  width: 100%;
  height: auto;
}

.single-page__toc {
  background-color: var(--white);
  padding: 24px 24px 0px 24px;
  margin-block-end: 28px;
  overflow: hidden;
}

.single-page__toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  list-style: none; /* 三角矢印を消す */
  margin-block-end: 20px;
}

.single-page__toc-header::-webkit-details-marker {
  display: none;
}

.single-page__toc-title {
  font-size: 1.25rem;
  font-weight: bold;
}

.single-page__toc-btn {
  background-color: var(--white);
  border: 1px solid var(--black3);
  color: var(--black3);
  padding-inline: 14px;
  padding-block: 4px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 4px;
}

/* アニメーション用コンテナ */
.single-page__toc-body {
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s;
}

/* リストスタイル */
.single-page__toc-list {
  list-style: none;
  padding: 0;
}

.single-page__toc-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--black3);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-block-end: 24px;
}

.single-page__toc-list a span {
  flex-shrink: 0;
  background-color: var(--yellow7);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: bold;
  margin-top: 0.1em;
}

.single-page__toc-list ol {
  padding-inline-start: 28px;
}

.single-page__toc-list ol a {
  font-size: 1.25rem;
}

.single-page__toc-list ol a span {
  background-color: var(--gray3);
}

.single-page__body {
  line-height: 1.6;
  font-size: 1rem;
  color: var(--black3);
}

.single-page__body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: start;
  gap: 20px;
  margin-bottom: 16px;
  margin-top: 30px;
}

.single-page__body h2::before {
  content: "";
  display: block;
  height: 1.5em;
  width: auto;
  aspect-ratio: 13/40;
  background: linear-gradient(to top, var(--yellow10), var(--yellow9));
}

.single-page__body h3 {
  font-size: 1.5rem;
  padding: 12px 20px;
  background: linear-gradient(to left, var(--yellow10), var(--yellow9));
  margin-top: 30px;
}

.single-page__body figure {
  width: 85%;
  margin-inline: auto;
  margin-top: 30px;
}

.single-page__body figure img {
  width: 100%;
  height: auto;
}

.single-page__body p {
  margin-top: 30px;
  line-height: 1.6;
}

.single-page__body a {
  color: var(--yellow8);
  text-decoration: underline;
  font-weight: bold;
}

@media screen and (max-width: 528px) {
  .single-page {
    padding-inline: var(--padding-sp);
    padding-top: 0px;
  }

  .single-page__inner {
    padding-block: 24px;
  }

  .single-page__header {
    margin-block-end: 20px;
  }

  .single-page__meta {
    gap: 8px;
    margin-block-end: 12px;
  }

  .single-page__date {
    font-size: 0.875rem;
  }

  .single-page__tag {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .single-page__title {
    font-size: 1.25rem;
  }

  .single-page__thumb {
    margin-block-end: 24px;
  }

  .single-page__toc {
    padding: 15px 15px 0 15px;
  }

  .single-page__toc-header {
    margin-block-end: 15px;
  }

  .single-page__toc-title {
    font-size: 0.875rem;
  }

  .single-page__toc-btn {
    font-size: 0.75rem;
    padding: 2px 6px;
  }

  .single-page__toc-list a {
    gap: 6px;
    font-size: 0.9375rem;
    margin-block-end: 13px;
  }

  .single-page__toc-list a span {
    width: 16px;
    height: 16px;
    font-size: 0.625rem;
  }

  .single-page__toc-list ol {
    padding-inline-start: 18px;
  }

  .single-page__toc-list ol a {
    font-size: 0.875rem;
  }

  .single-page__body {
    font-size: 0.75rem;
  }

  .single-page__body h2 {
    font-size: 1.25rem;
    margin-block: 24px 16px;
  }

  .single-page__body h3 {
    font-size: 1rem;
    margin-block: 24px 16px;
    padding: 9px 13px;
  }

  .single-page__body figure {
    width: 100%;
  }

  .single-page__body p {
    margin-bottom: 16px;
  }
}

/* =================================================================
  single page information
================================================================= */
.single-page__author {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: repeat(4, auto);
  gap: 0px 20px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 20px;
  margin-block-start: 12px;
  color: var(--black3);
  font-weight: 700;
}

/* 著者画像エリア */
.single-page__author-img {
  width: 100px;
  height: 100px;
  grid-column: 1/2;
  grid-row: 1/5;
}

.single-page__author-img img,
.single-page__author-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-page__author-placeholder {
  background-color: var(--yellow1); /* 画像がない場合、テーマ色を表示 */
}

.single-page__author-label {
  font-size: 1rem;
  font-weight: 400;
  margin-block-end: 18px;
  grid-column: 2/3;
  grid-row: 1/2;
}

.single-page__author-name {
  font-size: 1.125rem;
  margin-block-end: 10px;
  grid-column: 2/3;
  grid-row: 2/3;
}

.single-page__author-job {
  font-size: 1rem;
  margin-block-end: 20px;
  grid-column: 2/3;
  grid-row: 3/4;
}

.single-page__author-introduction {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  grid-column: 2/3;
  grid-row: 4/5;
}

@media screen and (max-width: 528px) {
  .single-page__author {
    padding: 15px;
    gap: 0px 16px;
  }
  .single-page__author-img {
    width: 60px;
    height: 60px;
    grid-row: 1/4;
  }

  .single-page__author-label {
    font-size: 0.75rem;
  }

  .single-page__author-name {
    font-size: 1.25rem;
  }

  .single-page__author-job {
    font-size: 0.875rem;
  }

  .single-page__author-introduction {
    grid-column: 1/3;
    font-size: 0.75rem;
  }
}

/* =================================================================
  works single page
================================================================= */
.single-page.work-single {
  max-width: var(--content-width);
}

.work-single .single-page__toc,
.work-single .single-page__body {
  max-width: 900px;
  margin-inline: auto;
}

.work-single .works-intro__tag {
  display: inline-block;
  border: 1px solid var(--yellow6);
  color: var(--yellow6);
  font-size: 1rem;
  padding: 6px 12px;
  margin-bottom: 32px;
  transition: all 0.4s ease-out;
}

.works-intro__tag:hover {
  background-color: var(--yellow6);
  color: var(--white);
}

.works-intro__main {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0px 20px;
  margin-bottom: 40px;
}

.works-intro__profile {
  grid-column: 1/2;
  grid-row: 1/3;
  color: var(--black1);
}

.works-intro__avatar {
  width: 120px;
  height: 120px;
  margin-bottom: 13px;
}

.works-intro__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.works-intro__info {
  font-size: 0.875rem;
  font-weight: 700;
}

.works-intro__name {
  margin-block-end: 8px;
}

.works-intro__name span {
  display: inline-block;
  margin-left: 1em;
}

.works-intro__comparison {
  grid-column: 2/3;
  grid-row: 1/2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-end: 20px;
}

.works-intro__box {
  display: flex;
  border: 1px solid var(--gray4);
}

.works-intro__box span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 20px;
  padding-block: 10px;
  font-size: 0.875rem;
}

.works-intro__box--before .works-intro__box-company {
  background-color: var(--gray3);
}
.works-intro__box--before .works-intro__box-job {
  background-color: var(--gray3);
  border-left: 1px solid var(--gray4);
}

.works-intro__box--after {
  border-color: var(--black8);
  position: relative;
  margin-left: 30px;
}

.works-intro__box--after .works-intro__box-company {
  background: linear-gradient(45deg, var(--black8), var(--black9));
  color: var(--white);
  border-color: var(--black8);
}
.works-intro__box--after .works-intro__box-job {
  background-color: var(--gray3);
}

.works-intro__arrow {
  width: 10px;
  height: 10px;
  border-block-start: 2px solid var(--black3);
  border-inline-end: 2px solid var(--black3);
  transform: rotate(45deg);
  position: absolute;
  left: -30px;
  top: 40%;
}

.works-intro__text {
  grid-column: 2/3;
  grid-row: 2/3;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--black1);
}

.single-works .works {
  padding-top: 40px;
}

.single-works .works .section-title {
  margin-bottom: 30px;
}

@media screen and (max-width: 860px) {
  .works-intro__main {
    gap: 20px 40px;
  }

  .works-intro__box span {
    padding: 6px 13px;
  }

  .works-intro__profile {
    grid-row: 1/2;
  }

  .works-intro__comparison {
    height: 50%;
    padding-top: 20px;
  }

  .works-intro__text {
    grid-column: 1/3;
    grid-row: 2/3;
  }
}

@media screen and (max-width: 528px) {
  .works-intro .works-intro__tag {
    font-size: 0.75rem;
    padding: 4px 10px;
    margin-bottom: 10px;
  }
  .works-intro__main {
    gap: 10px 20px;
  }
  .works-intro__avatar {
    width: 70px;
    height: 70px;
  }

  .works-intro__info {
    font-size: 0.625rem;
  }

  .works-intro__box span {
    font-size: 0.75rem;
  }

  .works-intro__box--after {
    margin-left: 10px;
  }

  .works-intro__arrow {
    width: 6px;
    height: 6px;
    left: -15px;
  }

  .works-intro__text {
    font-size: 0.625rem;
  }
}

/* =================================================================
  privacy policy page
================================================================= */
.privacy-page .section-title__en {
  height: calc(clamp(3rem, 1.73rem + 5.69vw, 6rem));
}

.p-privacy {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--padding-tab);
  font-family: var(--noto-sans);
  color: var(--black3);
  line-height: 1.4;
  padding-block: 35px;
  font-size: 1rem;
}

.p-privacy__header {
  margin-block-end: 20px;
}

.p-privacy__title {
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
  margin-block-end: 12px;
}

.p-privacy__dates {
  text-align: right;
}

.p-privacy__text {
  margin-block-end: 12px;
}

.p-privacy__list {
  list-style: none;
  counter-reset: privacy-counter;
  padding: 0;
  margin-block-end: 20px;
}

.p-privacy__list li {
  counter-increment: privacy-counter;
  display: flex;
  gap: 8px;
  margin-block-end: 8px;
}

.p-privacy__list li::before {
  content: counter(privacy-counter) ".";
  flex-shrink: 0;
}

.p-privacy__sign {
  text-align: right;
  margin-block-end: 30px;
}

.p-privacy__contact {
  border: 1px solid var(--black3);
  padding: 20px;
  margin-block-end: 40px;
  text-align: center;
}

.p-privacy__contact-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin-block-end: 12px;
}

.p-privacy__contact-details {
  line-height: 1.4;
}

.p-privacy__section-title {
  font-size: 1.125rem;
  font-weight: 400;
  text-align: center;
  margin-block-end: 20px;
}

.p-privacy__item-title {
  font-weight: 600;
  margin-block-end: 8px;
}

.p-privacy__sub-list {
  list-style: none;
  padding: 0;
}

.p-privacy__sub-list > li {
  margin-block-end: 16px;
}

.p-privacy__sub-list-label {
  font-weight: bold;
}

.p-privacy__bullet-list {
  list-style: none;
  padding: 0;
}

.p-privacy__bullet-list li {
  position: relative;
  padding-inline-start: 1.2em;
}

.p-privacy__bullet-list li::before {
  content: "・";
  position: absolute;
  inset-inline-start: 0;
}

.p-privacy a {
  color: var(--yellow6);
  border-bottom: solid 1px var(--yellow6);
  transition: all 0.4s ease-out;
}

.p-privacy a:hover {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .p-privacy__contact {
    padding: 20px;
  }
}

@media screen and (max-width: 528px) {
  .p-privacy {
    font-size: 0.75rem;
    padding-inline: var(--padding-sp);
    padding-block: 30px;
  }

  .p-privacy__header {
    margin-block-end: 20px;
  }

  .p-privacy__title,
  .p-privacy__contact-title {
    font-size: 1.125rem;
    margin-block-end: 18px;
  }

  .p-privacy__text {
    margin-block-end: 18px;
  }

  .p-privacy__list {
    margin-block-end: 20px;
  }

  .p-privacy__list li {
    margin-block-end: 8px;
  }

  .p-privacy__sign {
    margin-block-end: 30px;
  }

  .p-privacy__section-title {
    font-size: 0.875rem;
    margin-inline-end: 20px;
  }

  .p-privacy__sub-list > li {
    margin-block-end: 16px;
  }
}

/* =================================================================
  404ページ
================================================================= */
.error__wrapper {
  max-width: var(--content-width-small);
  padding: 100px 20px 100px;
  margin-inline: auto;
}

.error__title {
  font-size: 2rem;
  text-align: center;
}

.error__content {
  color: var(--black1);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-top: 36px;
}

.error__content-link {
  display: inline-block;
  font-weight: bold;
  color: var(--red1);
  border-bottom: solid 1px var(--red1);
}

.error__content-link:hover {
  opacity: 0.6;
}
