@charset "UTF-8";
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Yu Gothic", YuGothic, "Meiryo", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  padding: 0 clamp(16px, 4vw, 80px);
}

.intro {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 1.2s ease;
}
.intro--fade-out {
  opacity: 0;
  pointer-events: none;
}
.intro__canvas {
  position: absolute;
  inset: 0;
}
.intro__text {
  position: relative;
  font-size: clamp(2rem, 5vw, 2.2rem);
  font-weight: 600;
  color: #414141;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  gap: 0;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.intro__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  filter: blur(4px);
  transition: opacity 0.55s ease, transform 0.55s ease, filter 0.55s ease;
}
.intro__char--show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0px);
}

.main {
  opacity: 0;
  transition: opacity 1s ease;
  padding: 0 40px;
}
.main--show {
  opacity: 1;
}
.main__title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(12px, 2.4vw, 40px);
  background: #ffffff;
  border-bottom: 1px solid #e8e0d5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-text {
  font-family: "Lato", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #414141;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}
.header__logo-text:hover {
  color: #3e3082;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.header__nav-item {
  display: flex;
  align-items: center;
}

.header__nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #414141;
  text-decoration: none;
  letter-spacing: 0.08em;
  position: relative;
  transition: color 0.3s ease;
}
.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 1px;
  background: #3e3082;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.header__nav-link:hover {
  color: #3e3082;
}
.header__nav-link:hover::after {
  transform: scaleX(1);
}
.header__nav-link--contact {
  border: 1px solid #3e3082;
  border-radius: 2px;
  color: #3e3082;
  margin-left: 8px;
}
.header__nav-link--contact::after {
  display: none;
}
.header__nav-link--contact:hover {
  background: #3e3082;
  color: #ffffff;
}

.header__menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d9d9d9;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.header__menu-toggle-bar {
  width: 18px;
  height: 1px;
  background: #4a4a4a;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__container.is-menu-open .header__menu-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.header__container.is-menu-open .header__menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.header__container.is-menu-open .header__menu-toggle-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.fv {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(32px, 4vw, 48px) clamp(24px, 5vw, 48px) clamp(56px, 8vw, 96px);
  background: #ffffff;
  box-sizing: border-box;
}

.fv__content {
  flex: 1;
  min-width: 0;
  max-width: min(36rem, 100%);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  justify-content: space-between;
}

.fv__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.35rem);
  font-weight: 700;
  color: #414141;
  line-height: 1.5;
}
.fv__title::before {
  content: "";
  display: block;
  height: 0;
  margin-top: -0.3em;
}

.fv__lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.4rem);
  font-weight: 500;
  color: #311414;
  line-height: 1.85;
}

.fv__actions {
  margin-top: auto;
}

.fv__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 64px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: #3e3082;
  text-decoration: none;
  border: 1px solid #3e3082;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}
.fv__button:hover {
  background: transparent;
  color: #3e3082;
  font-weight: 600;
}

.fv__media {
  width: min(720px, 52%);
  flex-shrink: 0;
  min-height: clamp(200px, 42vh, 480px);
  background-image: url("./imgs/fv_.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.works__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  gap: 0;
  padding: clamp(56px, 8vw, 96px) 40px;
  background: #f5f4f4;
  color: #414141;
}

.works__title {
  margin: 0 0 28px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
}

.works__content {
  display: flex;
  gap: clamp(16px, 2.5vw, 28px);
}

.works__image-wrap {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.works__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.works__caption {
  padding: 12px 0 0;
  color: #414141;
  line-height: 1.6;
}

.works__actions {
  margin-top: clamp(20px, 3vw, 30px);
  display: flex;
  justify-content: center;
}

.works__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #dcdcdc;
  text-decoration: none;
  color: #515151;
  background: linear-gradient(180deg, #f8f8f8, #ececec);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.works__more-link::after {
  content: "▶";
  margin-left: 6px;
  font-size: 0.7em;
}
.works__more-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.works__item-title {
  margin: 0 0 4px;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  font-weight: 600;
}

.works__item-text {
  margin: 0;
  color: #311414;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  line-height: 1.7;
}

.works__item-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.works__item-link:hover {
  color: #3e3082;
  border-color: #3e3082;
}

.service__container {
  padding: clamp(40px, 6vw, 72px) 40px;
  max-width: 1440px;
  margin: 0 auto;
  color: #393939;
}

.service__title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
}

.service__text {
  margin: 0 0 28px;
  line-height: 1.9;
  color: #311414;
}

.service__content-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
}

.service__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #d8d8d8;
}

.service__content-title {
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.service__content-text {
  margin: 0;
  line-height: 1.9;
}

.service__content-h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.contact .contact {
  padding: clamp(56px, 8vw, 96px) 40px;
  max-width: 1440px;
  margin: 0 auto;
  color: #393939;
}

.contact__title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
}

.contact__lead {
  margin: 0 0 16px;
  line-height: 1.7;
  color: #311414;
}

.contact__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}

.contact__info,
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f9f9ff 100%);
  width: 100%;
}

.contact__fallback {
  margin: 0;
  line-height: 1.9;
  color: #5e5e5e;
}

.cf7-form {
  --cf7-label-col: 200px;
  --cf7-col-gap: 16px;
  display: flex;
  flex-direction: column;
}

.cf7-form__row {
  display: grid;
  grid-template-columns: var(--cf7-label-col) minmax(0, 1fr);
  -moz-column-gap: var(--cf7-col-gap);
       column-gap: var(--cf7-col-gap);
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid #e8e8e8;
}
.cf7-form__row:first-child {
  border-top: 0;
  padding-top: 4px;
}

.cf7-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  color: #414141;
}

.cf7-form__label-text {
  white-space: nowrap;
}

.cf7-form__req {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  background: #3e3082;
}

.cf7-form__field {
  min-width: 0;
}
.cf7-form__field input[type=text],
.cf7-form__field input[type=email],
.cf7-form__field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  font: inherit;
  line-height: 1.7;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cf7-form__field input[type=text]:focus,
.cf7-form__field input[type=email]:focus,
.cf7-form__field textarea:focus {
  border-color: #6d61a8;
  outline: none;
  box-shadow: 0 0 0 3px rgba(109, 97, 168, 0.12);
}
.cf7-form__field textarea {
  min-height: 160px;
  resize: vertical;
}
.cf7-form__field .wpcf7-list-item {
  display: inline-flex;
  align-items: center;
  margin: 0 20px 8px 0;
}
.cf7-form__field .wpcf7-list-item:last-child {
  margin-right: 0;
  margin-bottom: 0;
}
.cf7-form__field .wpcf7-list-item-label {
  margin-left: 6px;
}

.cf7-form__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  width: 100%;
}

.cf7-form__submit {
  order: 1;
  display: flex;
  justify-content: center;
  width: 100%;
  position: relative;
}
.cf7-form__submit p {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
}
.cf7-form__submit .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: #3e3082;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.cf7-form__submit .wpcf7-submit:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
.cf7-form__submit .wpcf7-spinner {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}

.cf7-form__spam-guard {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  opacity: 0.85;
  transform: scale(0.9);
  transform-origin: center top;
  margin: 0;
}

.cf7-form__spam-guard iframe,
.cf7-form__spam-guard .cf-turnstile,
.cf7-form__spam-guard > div {
  margin-left: auto;
  margin-right: auto;
}

.blog__content-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 20px);
  padding: clamp(56px, 8vw, 96px) 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.blog__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(12px, 1.8vw, 18px);
}

.blog__meta {
  font-size: 0.76rem;
  line-height: 1.5;
  color: #6a6a6a;
}

.blog__title {
  margin: 0;
  font-size: clamp(0.92rem, 1.15vw, 1rem);
  line-height: 1.6;
}
.blog__title a {
  color: inherit;
  text-decoration: none;
}

.blog__excerpt {
  font-size: 0.82rem;
  line-height: 1.75;
  color: #555555;
}

.blog__read-more a {
  color: #4a4a4a;
  text-underline-offset: 2px;
}

.about__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  gap: 0;
  padding: clamp(40px, 6vw, 72px) 40px;
  background: #f5f4f4;
  color: #414141;
}
.about__container > .about__card {
  display: grid;
  grid-template-columns: minmax(240px, 24%) minmax(0, 1fr);
  align-items: stretch;
}
.about__container > .about__card .about__image-wrap {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__container > .about__card .about__image-wrap img {
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 4/3;
  -o-object-fit: contain;
     object-fit: contain;
}

.about__card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
}

.about__panel {
  margin-top: clamp(12px, 2vw, 16px);
}

.about__card--panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 24%);
  align-items: stretch;
}
.about__card--panel .about__content {
  order: 1;
}
.about__card--panel .about__image-wrap {
  order: 2;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__card--panel .about__image-wrap img {
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 4/3;
  -o-object-fit: contain;
     object-fit: contain;
}

.about__image-wrap {
  margin: 0;
  padding: clamp(12px, 2vw, 20px);
}
.about__image-wrap img {
  display: block;
  width: min(88%, 360px);
  margin: 0 auto;
  aspect-ratio: 4/3;
  height: auto;
  -o-object-fit: cover;
     object-fit: cover;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
  padding: clamp(20px, 3vw, 28px);
}

.about__content-title {
  margin: 0;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
}

.about__content-text {
  margin: 0;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  letter-spacing: 0.05em;
}
.about__content-text--small {
  font-size: 0.9rem;
  color: #515151;
}

.about-skills {
  margin-top: 0.25rem;
}

.about-skills__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  -moz-column-gap: clamp(12px, 2vw, 20px);
       column-gap: clamp(12px, 2vw, 20px);
  row-gap: 10px;
}

.about-skills__category {
  border-top: 1px solid #d7d7d7;
  padding-top: 8px;
}

.about-skills__category-title {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #3f3f3f;
  line-height: 1.4;
}

.about-skills__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.about-skills__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: #ededed;
  color: #4d4d4d;
  font-size: 0.8rem;
  line-height: 1.3;
}

.works-list {
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(52px, 7vw, 92px) clamp(16px, 4vw, 28px);
  color: #414141;
}
.works-list .adl-section-head {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.works-list .adl-title {
  position: relative;
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: center;
}
.works-list .adl-title::before, .works-list .adl-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(44px, 8vw, 120px);
  height: 1px;
  background: #dbdbdb;
  transform: translateY(-50%);
}
.works-list .adl-title::before {
  right: calc(100% + 18px);
}
.works-list .adl-title::after {
  left: calc(100% + 18px);
}

.works-lead {
  margin: 0 0 28px;
  text-align: center;
  color: #555555;
  font-size: clamp(0.86rem, 1.25vw, 0.96rem);
  line-height: 1.9;
}

.works-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.works-filter__btn {
  min-width: 64px;
  padding: 7px 16px;
  border: 1px solid #d7d7d7;
  border-radius: 7px;
  background: #f8f8f8;
  color: #565656;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.24s ease;
}
.works-filter__btn:hover {
  background: #ececec;
}
.works-filter__btn.is-active {
  background: #3f3f3f;
  border-color: #3f3f3f;
  color: #ffffff;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}

.works-card {
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  background: #ffffff;
  padding: clamp(18px, 2.3vw, 26px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.works-card[hidden] {
  display: none !important;
}

.works-card__thumb {
  --works-thumb-offset: 0px;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center calc(50% + var(--works-thumb-offset));
  margin-bottom: clamp(16px, 2.5vw, 24px);
}

.works-card__title {
  margin: 0 0 6px;
  padding: 0 0 8px;
  border-bottom: 1px solid #ebebeb;
  color: #4a4a4a;
  font-size: clamp(1rem, 1.5vw, 1rem);
  font-weight: 600;
  line-height: 1.7;
}

.works-card__text {
  margin: 0 0 18px;
  color: #5a5a5a;
  font-size: clamp(0.84rem, 1.15vw, 0.95rem);
  line-height: 1.9;
}

.works-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-top: auto;
  min-width: 116px;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(180deg, #f8f8f8, #ececec);
  border: 1px solid #dcdcdc;
  color: #515151;
  font-size: 0.84rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.works-card__button::after {
  content: "▶";
  margin-left: 6px;
  font-size: 0.7em;
}
.works-card__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.adl-works-detail {
  padding: clamp(56px, 8vw, 92px) clamp(16px, 4vw, 24px);
  background: #f7f7f8;
}
.adl-works-detail .adl-container {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid #e5e5e8;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(45, 45, 45, 0.08);
}
.adl-works-detail .adl-section-head {
  margin-bottom: clamp(14px, 2.2vw, 22px);
}
.adl-works-detail .adl-title {
  margin: 0;
  text-align: center;
  color: #2f2f2f;
  font-size: clamp(1rem, 2.8vw, 1rem);
  line-height: 1.55;
  letter-spacing: 0.04em;
}
.adl-works-detail .works-card__thumb {
  border: 1px solid #ededed;
  border-radius: 12px;
  background-color: #f5f5f5;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.works-detail {
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 76px) clamp(16px, 4vw, 24px);
}

.works-detail__article {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  padding: clamp(18px, 3vw, 32px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}
.works-detail__article .adl-section-head {
  margin-bottom: clamp(18px, 2.8vw, 26px);
}
.works-detail__article .adl-title {
  margin: 10px 0 0;
  text-align: left;
  line-height: 1.5;
  color: #393939;
}

.blog-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-post__meta-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #dddddd;
  background: #fafafa;
  color: #5a5a5a;
  font-size: 0.78rem;
  line-height: 1.4;
}

.single-post .works-detail__image {
  max-width: 600px; /* 横幅の上限。お好みで 500〜720px で調整 */
  height: 320px; /* 高さを固定して圧迫感を軽減 */
  -o-object-fit: cover;
     object-fit: cover; /* はみ出しは自然にトリミング */
  margin: 0 auto 2rem; /* 中央寄せ＋下余白 */
}

/* サムネイルを囲む div も中央寄せに */
.single-post .works-detail__thumb {
  text-align: center;
}

.works-detail__thumb {
  margin-bottom: clamp(18px, 2.5vw, 24px);
}

.works-detail__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.works-detail__content {
  color: #3f3f3f;
  font-size: clamp(0.95rem, 1.5vw, 1rem);
  line-height: 1.95;
}
.works-detail__content > * + * {
  margin-top: 1.1em;
}
.works-detail__content h2,
.works-detail__content h3,
.works-detail__content h4 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  line-height: 1.6;
  color: #2f2f2f;
}
.works-detail__content h2 {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  border-left: 4px solid #444444;
  padding-left: 10px;
}
.works-detail__content h3 {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}
.works-detail__content p,
.works-detail__content ul,
.works-detail__content ol,
.works-detail__content blockquote {
  margin: 0;
}
.works-detail__content ul,
.works-detail__content ol {
  padding-left: 1.3em;
}
.works-detail__content li + li {
  margin-top: 0.35em;
}
.works-detail__content a {
  color: #3e3082;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.works-detail__content blockquote {
  padding: 12px 14px;
  border-left: 4px solid #d5d5d5;
  background: #f8f8f8;
  color: #555555;
}
.works-detail__content pre {
  overflow-x: auto;
  background: #f5f5f5;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 12px;
}
.works-detail__content code {
  font-size: 0.92em;
}

.works-detail__table {
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
}

.works-detail__row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  border-bottom: 1px solid #ececec;
}
.works-detail__row:last-child {
  border-bottom: none;
}

.works-detail__label {
  padding: 12px 14px;
  background: #fafafa;
  border-right: 1px solid #ececec;
  color: #555;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.works-detail__value {
  padding: 12px 14px;
  color: #3f3f3f;
  font-size: 0.92rem;
  line-height: 1.8;
}

.works-detail__summary {
  margin: 2px 0;
  padding: 14px 16px;
  border-left: 4px solid #d9d9d9;
  background: #fcfcfc;
  color: #4f4f4f;
  font-size: 0.9rem;
  line-height: 1.9;
}

.works-detail .works-card__title {
  margin-top: 8px;
}

.works-detail .works-card__text {
  margin-bottom: 8px;
}

.works-detail__link {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(20px, 3vw, 30px);
}
.works-detail__link .works-card__button {
  min-width: 200px;
}

.works-detail__note {
  margin: 16px 0 0;
  text-align: center;
  color: #7a7a7a;
  font-size: 0.78rem;
  line-height: 1.7;
}

.works-pagination {
  margin-top: clamp(24px, 4vw, 36px);
}
.works-pagination ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.works-pagination a,
.works-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #d7d7d7;
  text-decoration: none;
  color: #4f4f4f;
  background: #fff;
  font-size: 0.85rem;
}
.works-pagination .current {
  color: #fff;
  background: #3f3f3f;
  border-color: #3f3f3f;
}

.works-note {
  margin-top: clamp(20px, 3vw, 28px);
  text-align: center;
  color: #7a7a7a;
  font-size: 0.9rem;
  line-height: 1.7;
}

.site-footer {
  margin-top: clamp(40px, 7vw, 80px);
  background: #2d2d2d;
  color: #ffffff;
}

.site-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px) clamp(16px, 3vw, 40px);
}

.site-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(24px, 5vw, 64px);
  width: min(100%, 600px);
  margin: 0 auto;
}

.site-footer__left {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 50%;
}

.site-footer__right {
  display: flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: clamp(16px, 2.4vw, 28px);
  flex: 1 1 50%;
}

.site-footer__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__nav-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}
.site-footer__nav-link:hover {
  opacity: 1;
}

.site-footer__brand {
  font-size: 1.4rem;
  font-weight: 600;
}

.site-footer__copy {
  margin-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 769px) {
  .blog-list .works-grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 2.2vw, 28px);
  }
  .blog-list .works-card {
    display: grid;
    grid-template-columns: minmax(260px, 34%) minmax(0, 1fr);
    -moz-column-gap: clamp(18px, 2.4vw, 28px);
         column-gap: clamp(18px, 2.4vw, 28px);
    align-items: start;
  }
  .blog-list .works-card__thumb {
    grid-row: 1/span 4;
    margin-bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 180px;
  }
  .blog-list .works-card > :not(.works-card__thumb) {
    grid-column: 2;
  }
  .blog-list .works-card__button {
    align-self: start;
    margin-top: 6px;
  }
}
@media (max-width: 1024px) {
  .main {
    padding: 0 24px;
  }
  .header__logo-text {
    font-size: 1.28rem;
  }
  .header__nav-link {
    padding: 8px 12px;
    font-size: 0.84rem;
  }
  .fv {
    gap: 24px;
    padding: 24px 0 18px;
  }
  .works__content {
    gap: 16px;
  }
  .works__image-wrap {
    flex-basis: calc(50% - 8px);
  }
  .blog__content-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cf7-form {
    --cf7-label-col: 170px;
  }
}
@media (max-width: 768px) {
  .main {
    padding: 0 16px;
  }
  .header__container {
    position: sticky;
    padding: 0 12px;
  }
  .header__menu-toggle {
    display: inline-flex;
  }
  .header__nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e0d5;
    padding: 8px 12px 12px;
    display: none;
    z-index: 99;
  }
  .header__container.is-menu-open .header__nav {
    display: block;
  }
  .header__nav-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .header__nav-item {
    width: 100%;
  }
  .header__nav-link {
    padding: 10px 12px;
  }
  .header__nav-link::after {
    left: 12px;
    right: 12px;
  }
  .header__nav-link--contact {
    margin-left: 0;
    text-align: center;
  }
  .fv {
    flex-direction: column;
    align-items: stretch;
    padding: clamp(24px, 5vw, 36px) 0 clamp(56px, 8vw, 96px);
  }
  .fv__content {
    max-width: 100%;
  }
  .fv__media {
    width: 100%;
    min-height: clamp(180px, 36vh, 320px);
  }
  .works__container,
  .service__container,
  .about__container,
  .contact {
    padding-left: 0;
    padding-right: 0;
  }
  .works__content {
    flex-wrap: wrap;
  }
  .works__image-wrap {
    flex-basis: calc(50% - 8px);
  }
  .works-list {
    padding: 44px 16px 52px;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
  .works-card {
    border-radius: 12px;
    padding: 18px 14px;
  }
  .adl-works-detail {
    padding: 36px 14px;
  }
  .adl-works-detail .adl-container {
    padding: 18px 14px 22px;
    border-radius: 12px;
  }
  .works-detail {
    padding: 36px 14px;
  }
  .works-detail__article {
    padding: 16px 14px 20px;
    border-radius: 12px;
  }
  .works-detail__row {
    grid-template-columns: 1fr;
  }
  .works-detail__label {
    border-right: none;
    border-bottom: 1px solid #ececec;
    padding: 9px 12px;
  }
  .works-detail__value {
    padding: 10px 12px;
  }
  .works-detail__summary {
    padding: 12px 13px;
  }
  .works-detail__link .works-card__button {
    width: 100%;
    min-width: 0;
  }
  .about__container > .about__card {
    grid-template-columns: 1fr;
  }
  .about__container > .about__card .about__image-wrap {
    padding: clamp(12px, 2vw, 20px);
  }
  .about__container > .about__card .about__image-wrap img {
    width: min(88%, 360px);
    height: auto;
    margin: 0 auto;
    aspect-ratio: 4/3;
  }
  .about__card--panel {
    grid-template-columns: 1fr;
  }
  .about__card--panel .about__content,
  .about__card--panel .about__image-wrap {
    order: initial;
  }
  .about__card--panel .about__image-wrap {
    padding: clamp(12px, 2vw, 20px);
  }
  .about__card--panel .about__image-wrap img {
    width: min(88%, 360px);
    height: auto;
    margin: 0 auto;
    aspect-ratio: 4/3;
  }
  .about-skills__grid {
    grid-template-columns: 1fr;
  }
  .service__content-wrap {
    grid-template-columns: 1fr;
  }
  .contact__layout {
    grid-template-columns: 1fr;
  }
  .cf7-form__row {
    grid-template-columns: 1fr;
    row-gap: 8px;
    padding: 12px 0;
  }
  .cf7-form__label {
    padding-top: 0;
  }
  .cf7-form__submit .wpcf7-submit {
    width: 100%;
    max-width: 280px;
  }
  .blog__content-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__inner {
    padding: 22px 16px;
  }
  .site-footer__top {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .site-footer__right {
    align-items: flex-start;
    border-left: 0;
    padding-left: 0;
  }
  .site-footer__left {
    align-items: flex-start;
    justify-content: flex-start;
  }
  .site-footer__nav-list {
    gap: 8px;
  }
}
@media (max-width: 480px) {
  body {
    padding: 0 10px;
  }
  .main {
    padding: 0 10px;
  }
  .header__container {
    height: 64px;
    padding: 0 8px;
  }
  .header__menu-toggle {
    width: 38px;
    height: 38px;
  }
  .header__logo-text {
    font-size: 1.1rem;
    letter-spacing: 0.03em;
  }
  .fv {
    gap: 14px;
  }
  .fv__title {
    font-size: 1.26rem;
    line-height: 1.55;
  }
  .fv__lead {
    font-size: 1rem;
    line-height: 1.75;
  }
  .fv__button {
    display: flex;
    width: calc(100% - 24px);
    max-width: 320px;
    margin: 0 auto;
    font-size: 1rem;
    padding: 10px 14px;
  }
  .works-list {
    padding: 32px 10px 44px;
  }
  .works-card {
    padding: 14px 10px;
  }
  .works-filter__btn {
    min-width: 56px;
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .works-detail {
    padding: 24px 8px;
  }
  .works-detail__link {
    gap: 10px;
  }
  .works-detail__note {
    font-size: 0.72rem;
  }
  .works__image-wrap {
    flex-basis: 100%;
  }
  .blog__content-wrap {
    grid-template-columns: 1fr;
  }
  .single-post .works-detail__image {
    max-width: 100%;
    height: 220px;
  }
}/*# sourceMappingURL=style.css.map */