:root {
  --color-ink: #252421;
  --color-text: #3c3935;
  --color-sub: #9c9287;
  --color-line: #dedbd5;
  --color-paper: #fff;
  --color-white: #fff;
  --color-beige: #eee8dd;
  --color-dark: #2f2e2c;
  --color-gold: #c8aa83;
  --font-serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-en: "Bellefair", "Times New Roman", Georgia, serif;
  --content: min(66.6667%, 60rem);
  --content-wide: min(83.3334%, 75rem);
  --ease: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-serif);
  font-feature-settings: "palt";
  line-height: 1.9;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

h1,
h2,
h3,
p {
  margin: 0;
  font-weight: 400;
}

figure {
  margin: 0;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: clamp(2.5rem, 4.7vw, 4.2rem);
  left: 0;
  z-index: 10;
  width: 100%;
  pointer-events: none;
  transition: opacity var(--ease);
}

.site-header__logo {
  display: block;
  width: clamp(7.3rem, 9.8vw, 8.85rem);
  margin-inline: auto;
  pointer-events: auto;
}

.site-header.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.floating-consult {
  position: fixed;
  top: clamp(5.5rem, 8vw, 7rem);
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 12.5rem;
  padding: 1.35rem 0.8rem;
  color: var(--color-white);
  background: #7a756f;
  font-size: clamp(0.8rem, 0.72rem + 0.24vw, 1rem);
  line-height: 1.55;
  writing-mode: vertical-rl;
  letter-spacing: 0.08em;
  transition: background var(--ease);
}

.floating-consult span[aria-hidden="true"] {
  writing-mode: horizontal-tb;
}

.floating-consult:hover {
  background: #31302f;
}

.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: min(55.5556vw, 50rem);
  min-height: 42rem;
  overflow: hidden;
  color: var(--color-white);
  background: #d7e6f1;
}

main > section:not(.hero) {
  position: relative;
  z-index: 1;
}

.hero picture,
.hero img,
.image-message picture,
.image-message img,
.night-house picture,
.night-house img,
.contact-cta picture,
.contact-cta img {
  width: 100%;
  height: 100%;
}

.hero img,
.image-message img,
.night-house img,
.contact-cta img {
  object-fit: cover;
}

.hero__copy {
  position: absolute;
  left: clamp(2rem, 3.7vw, 3.35rem);
  bottom: clamp(4rem, 5.4vw, 4.8rem);
}

.hero__copy h1 {
  font-size: clamp(1.9rem, 1.45rem + 1.2vw, 2.5rem);
  line-height: 1.55;
  letter-spacing: 0.1em;
}

.hero__copy p {
  margin-top: 1.15rem;
  font-size: clamp(0.78rem, 0.7rem + 0.18vw, 0.95rem);
  letter-spacing: 0.07em;
}

.section-line {
  display: block;
  width: 1px;
  height: clamp(2.5rem, 5vw, 4rem);
  margin-inline: auto;
  background: var(--color-line);
}

.lead {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(5.5rem, 8.8vw, 8rem);
  background-color: var(--color-paper);
  text-align: center;
}

.lead .section-line {
  position: relative;
  width: 1px;
  height: 2.5rem;
  margin-inline: auto;
  background: rgba(160, 160, 160, 0.28);
}

.lead .section-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1rem; /* 濃い線の長さ。好みで調整 */
  background: #a0a0a0;
}

.lead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(18.5rem, 22vw, 19.5rem);

  background-image: url("../images/pc/haikei.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;

  opacity: 0.7;
  pointer-events: none;
  z-index: 0;

  /* 英語より下から、ゆっくり透明にする */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 80%,
    rgba(0, 0, 0, 0.8) 86%,
    rgba(0, 0, 0, 0.4) 93%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 80%,
    rgba(0, 0, 0, 0.8) 86%,
    rgba(0, 0, 0, 0.4) 93%,
    transparent 100%
  );
}



.lead > * {
  position: relative;
  z-index: 1;
}

.lead__inner {
  padding-top: clamp(5.4rem, 8.2vw, 7.35rem);
}

.lead h2 {
  font-size: 1.125rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.lead p {
  margin-top: 1rem;
  color: #808080;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.concept {
  padding-bottom: clamp(9rem, 15vw, 14rem);
  background: var(--color-paper);
}

.concept__inner {
  display: grid;
  grid-template-columns: 26.25rem 1fr;
  align-items: center;
  width: var(--content);
  margin-inline: auto;
  gap: clamp(6rem, 11.8vw, 10.5rem);
}

.concept__image img {
  aspect-ratio: 420 / 560;
  object-fit: cover;
}

.concept__text h2 {
  display: grid;
  gap: 0.35rem;
  font-size: 1.125rem;
  line-height: 2.05;
  letter-spacing: 0.09em;
}

.concept__text p {
  margin-top: 2.55rem;
  color: #808080;
  font-family: var(--font-en);
  font-size: 0.76rem;
  line-height: 1.75;
  letter-spacing: 0.05em;
}

.image-message {
  position: relative;
  height: min(37.5vw, 33.75rem);
  min-height: 25rem;
  overflow: hidden;
  color: var(--color-white);
}

.image-message::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(28, 26, 22, 0.18);
}

.image-message__copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
}

.image-message__copy h2 {
  font-size: 1.125rem;
  line-height: 2.1;
  letter-spacing: 0.08em;
}

.image-message__copy p {
  margin-top: 1.15rem;
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
}

.tailor {
  position: relative;
  --tailor-bleed: min(-16.6667vw, calc((60rem - 100vw) / 2));

  min-height: 44.375rem;
  padding-bottom: 0;
  background-color: #fff;
  background-image: linear-gradient(
    rgba(242, 239, 232, 0.4),
    rgba(242, 239, 232, 0.4)
  );
}

.tailor .section-line {
  position: absolute;
  top: 0;
  left: max(16.6667%, calc((100% - 60rem) / 2));
  width: 0.5px;
  height: 2.5rem;
  margin-inline: 0;
  background: #d0d0d0;
}

.tailor .section-line::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 0.5px;
  height: 0.72rem;
  background: #a0a0a0;
  content: "";
}

.tailor::before,
.tailor::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.tailor::before,
.tailor::after {
  display: none;
}

.tailor__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 21.875rem 1fr;
  width: var(--content);
  min-height: 44.375rem;
  margin-inline: auto;
  gap: 8.125rem;
}

.tailor__text {
  padding-top: 8rem;
}

.tailor__text h2 {
  font-size: 1.125rem;
  line-height: 2;
  letter-spacing: 0.08em;
}

.tailor__text p {
  margin-top: 1.6rem;
  font-size: 0.8125rem;
  line-height: 2.15;
  letter-spacing: 0.06em;
}

.tailor__collage {
  position: relative;
  min-height: 44.375rem;
}

.tailor__collage::before,
.tailor__collage::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.tailor__collage::before {
  top: 0;
  left: 13.75rem;
  right: var(--tailor-bleed);
  width: auto;
  height: 36.875rem;
  border-left: 0.5px solid rgba(208, 208, 208, 0.8);
  border-bottom: 0.5px solid rgba(208, 208, 208, 0.8);
}

.tailor__collage::after {
  top: 30rem;
  left: calc(-30rem + var(--tailor-bleed));
  right: calc(100% - 17.5rem);
  width: auto;
  height: 14.375rem;
  border-top: 0.5px solid rgba(208, 208, 208, 0.8);
  border-right: 0.5px solid rgba(208, 208, 208, 0.8);
}
.tailor__pic {
  position: absolute;
  z-index: 2;
  display: block;
  object-fit: cover;
}

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

.tailor__pic--large {
  left: 6.875rem;
  top: 14.375rem;
  width: 22.5rem;
  aspect-ratio: 360 / 270;
}

.tailor__pic--small-top {
  left: 26.875rem;
  top: 7.5rem;
  width: 11.25rem;
  aspect-ratio: 1;
}

.tailor__pic--small-bottom {
  left: 0;
  top: 25.625rem;
  width: 10rem;
  aspect-ratio: 160 / 240;
}

.features {
  color: var(--color-white);
  background-image: linear-gradient(rgba(88, 132, 136, 0.5), rgba(88, 132, 136, 0.5)), url("../images/pc/bg.jpg");
  background-position: center;
  background-size: cover;
}

.features__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: var(--content-wide);
  min-height: min(40vw, 33.5rem);
  margin-inline: auto;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
}

.feature-item__meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
}

.feature-item__meta::before {
  display: block;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
  content: "";
  grid-column: 2;
  grid-row: 1;
}

.feature-item__meta span:first-child {
  grid-column: 1;
}

.feature-item__meta span:last-child {
  grid-column: 3;
}

.feature-item h2 {
  margin-top: 1.45rem;
  font-family: var(--font-en);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.feature-item p:last-child {
  margin-top: 1.35rem;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.workmanship {
  background: var(--color-paper);
}

.workmanship > .section-line {
  width: 1px;
  height: 2.5rem;
  margin-inline: auto;
  background: linear-gradient(
    to bottom,
    #a0a0a0 0,
    #a0a0a0 1rem,
    rgba(160, 160, 160, 0.28) 1.4rem,
    rgba(160, 160, 160, 0.28) 100%
  );
}
.workmanship__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(17rem, 24rem) 1fr;
  align-items: start;
  width: var(--content-wide);
  min-height: clamp(49rem, 64vw, 58rem);
  margin-inline: auto;
  padding-top: clamp(5rem, 8.4vw, 7.5rem);
  gap: clamp(3rem, 6vw, 5.5rem);
}

.workmanship__media {
  position: relative;
}

.workmanship__media--left {
  padding-top: 5.4rem;
}

.workmanship__media--right {
  padding-top: 5.4rem;
}

.workmanship__media--left > img:not(.workmanship__photo--overlap),
.workmanship__media--right > picture:first-child {
  width: min(100%, 18.75rem);
  aspect-ratio: 300 / 450;
  object-fit: cover;
}

.workmanship__media picture {
  display: block;
}

.workmanship__media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workmanship__photo--overlap {
  position: absolute;
  top: 0;
  right: -4.4rem;
  z-index: 1;
  width: 13.125rem;
  aspect-ratio: 210 / 140;
  object-fit: cover;
}

.workmanship__photo--small {
  width: 13.125rem;
  aspect-ratio: 210 / 140;
  transform: translate(-4.5rem, -3.2rem);
}

.workmanship__text {
  align-self: center;
  text-align: center;
}

.workmanship__text h2 {
  font-size: 1.125rem;
  line-height: 2;
  letter-spacing: 0.08em;
}

.workmanship__text p {
  margin-top: 2.1rem;
  font-size: 0.8125rem;
  line-height: 2.15;
  letter-spacing: 0.06em;
}

.night-house {
  --night-bg: url("../images/pc/pic9.jpg");
  position: relative;
  height: min(37.5vw, 33.75rem);
  max-height: 33.75rem;
  overflow: hidden;
  background: transparent;
  clip-path: inset(0);
}

.night-house::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  content: "";
  background-image: var(--night-bg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  pointer-events: none;
}

.night-house picture {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.night-house picture,
.night-house img {
  min-width: 0;
  min-height: 0;
}

.night-house img {
  width: 100%;
  height: auto;
}

.reasons {
  padding-block: clamp(6rem, 10vw, 9.3rem)
    clamp(7rem, 11vw, 10rem);

  background:
    radial-gradient(
      ellipse farthest-corner at 100% 100%,
      rgba(191, 163, 127, 0.4) 0%,
      rgba(191, 163, 127, 0) 100%
    ),
    linear-gradient(
      rgba(242, 239, 232, 0.4),
      rgba(242, 239, 232, 0.4)
    ),
    #fff;
}

.reasons__inner {
  width: min(58.3334%, 52.5rem);
  margin-inline: auto;
}

.reasons h2 {
  text-align: center;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
}

.reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(3rem, 5vw, 4.8rem) clamp(4rem, 8vw, 7.5rem);
  margin-top: clamp(4rem, 7vw, 6rem);
}

.reasons__grid article {
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(151, 139, 124, 0.35);
}

.reasons__grid p {
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
}

.reasons__grid h3 {
  margin-top: 1.05rem;
  font-size: 0.8125rem;
  line-height: 1.85;
  letter-spacing: 0.08em;
}

.works {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(7.5rem, 12vw, 11rem);
  background-color: var(--color-paper);
}

.works::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(8.5rem, 16vw, 14rem);
  content: "";
  background-image: url("../images/pc/haikei.png");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
  opacity: 0.7;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 68%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 68%, transparent 100%);
}

.works > * {
  position: relative;
  z-index: 1;
}

.works__inner {
  width: var(--content);
  margin-inline: auto;
}

.works__heading {
  margin-top: clamp(6rem, 10vw, 8.8rem);
}

.works__heading h2 {
  font-size: clamp(1.35rem, 1.05rem + 0.8vw, 1.9rem);
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.works__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4.2vw, 3.75rem);
  margin-top: clamp(2.5rem, 4.7vw, 4.3rem);
}

.works > .section-line {
  width: 1px;
  height: 2.5rem;
  margin-inline: auto;
  background: linear-gradient(
    to bottom,
    #a0a0a0 0,
    #a0a0a0 1rem,
    rgba(160, 160, 160, 0.28) 1.4rem,
    rgba(160, 160, 160, 0.28) 100%
  );
}

.work-card img {
  aspect-ratio: 1;
  object-fit: cover;
}

.work-card > p:first-of-type {
  margin-top: 1.55rem;
  color: #bfa37f;
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.work-card h3 {
  margin-top: 0.45rem;
  color: #000;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
}

.work-card p {
  margin-top: 1rem;
  font-size: 0.8125rem;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.work-card p.work-card__tag {
  color: #808080;
  font-size: 0.75rem;
}

.work-card a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  width: min(100%, 8.75rem);
  margin-top: 1.55rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #808080;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
}

.work-card a::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 2.5rem;
  height: 1px;
  background: #a0a0a0;
  content: "";
}

.work-card a span {
  width: auto;
  color: #808080;
  line-height: 1;
}

.outline-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  width: min(100%, 14.5rem);
  margin: clamp(3.5rem, 6vw, 5.5rem) auto 0;
  padding: 0.95em 1.5em;
  border: 1px solid var(--color-line);
  border-radius: 0.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.flow {
  padding-block: 10rem clamp(7.5rem, 12vw, 10.8rem);
  background:
    linear-gradient(rgba(242, 239, 232, 0.4), rgba(242, 239, 232, 0.4)),
    #fff;
}

.flow__inner {
  display: grid;
  grid-template-columns: 13.4375rem minmax(0, 35.75rem);
  width: min(calc(100% - 4rem), 60.75rem);
  margin-left: max(2rem, calc((100vw - 60rem) / 2));
  margin-right: auto;
  gap: 11.5625rem;
}

.flow__heading h2 {
  color: #000;
  font-size: 1.25rem;
  line-height: 2;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.flow__list {
  display: grid;
  gap: clamp(2.2rem, 4vw, 3.2rem);
}

.flow__list article {
  position: relative;
  padding-left: 1.4rem;
}

.flow__list article::before {
  position: absolute;
  top: 0.44rem;
  left: 0;
  width: 0.3125rem;
  aspect-ratio: 1;
  border: 1px solid #d9d9d9;
  border-radius: 50%;
  background: transparent;
  content: "";
}

.flow__list article::after {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: 0.15625rem;
  width: 1px;
  height: 5rem;
  background: #d9d9d9;
  transform: translateX(-50%);
}

.flow__list article > p:first-child {
  color: #bfa37f;
  font-family: var(--font-en);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

.flow__list h3 {
  margin-top: 0.65rem;
  color: #303030;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.flow__list article > p:last-child {
  margin-top: 0.5rem;
  color: #000;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
}

.contact-cta {
  position: relative;
  height: min(38.8889vw, 35rem);
  min-height: 35rem;
  overflow: hidden;
  color: var(--color-white);
  background: #fff;
}

.contact-cta::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: rgba(82, 81, 79, 0.9);
}

.contact-cta picture {
  position: relative;
  z-index: 1;
  opacity: 0.7;
}

.contact-cta__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.contact-cta__content h2 {
  font-size: 1.125rem;
  letter-spacing: 0.08em;
}

.contact-cta__content p {
  margin-top: 2rem;
  font-size: 0.8125rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.contact-cta__buttons {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
}

.contact-cta__buttons a {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  width: 18.75rem;
  min-height: 3.1875rem;
  padding: 0.85em 3rem;
  border: 1px solid rgba(208, 208, 208, 0.5);
  border-radius: 0.3125rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  transition: border-color var(--ease);
}


.contact-cta__buttons a:hover {
  border-color: rgba(208, 208, 208, 1);
}

.contact-cta__buttons span {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  width: 0.625rem;
  color: #808080;
  line-height: 1;
  transform: translate(0, -50%);
  transition: transform var(--ease);
}

.contact-cta__buttons a:hover span {
  transform: translate(0.5rem, -50%);
}

.contact {
  padding-block: clamp(8rem, 13vw, 11rem);
  background: var(--color-paper);
}

.contact__inner {
  display: grid;
  grid-template-columns: 20rem 1fr;
  width: var(--content);
  margin-inline: auto;
  gap: clamp(5rem, 11vw, 10rem);
}

.contact__heading h2 {
  font-size: clamp(1.2rem, 1rem + 0.5vw, 1.5rem);
  letter-spacing: 0.08em;
}

.contact__heading p {
  margin-top: 2rem;
  font-size: 0.92rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

.required-dot {
  display: inline-block;
  width: 0.25rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #bfa37f;
  vertical-align: 0.12em;
}

.contact-form {
  display: grid;
  width: min(100%, 30rem);
  gap: 0.65rem;
}

.contact-form label {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.contact-form label > .required-dot {
  display: inline-block;
  width: 0.25rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  background: #bfa37f;
  line-height: 1;
}

.contact-form > label:not(:first-child):not(.contact-form__privacy) {
  margin-top: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.72em 0.78rem;
  border: 1px solid rgba(208, 208, 208, 0.5);
  border-radius: 0.25rem;
  color: var(--color-ink);
  background: transparent;
  font-size: 0.8125rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #808080;
  opacity: 1;
  font-size: 0.8125rem;
}

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

.contact-form__split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 14.6875rem));
  gap: 0.625rem;
}

.contact-form__privacy {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
  color: #000;
}

.contact-form__privacy input {
  width: 0.9rem;
  min-height: 0;
  aspect-ratio: 1;
  padding: 0;
  /* accent-color: #bfa37f; */
}

.contact-form label.contact-form__privacy span {
  display: inline;
  width: auto;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  color: #000;
  background: transparent;
}

.contact-form label.contact-form__privacy a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form button {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  justify-content: center;
  margin-top: 0.8rem;
  min-height: 3.1875rem;
  padding: 0.85em 3rem;
  border: 0;
  border-radius: 0.25rem;
  color: var(--color-white);
  background: var(--color-dark);
  font-size: 0.8125rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background var(--ease);
}

.contact-form button:hover {
  background: #31302f;
}

.contact-form button span {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  width: 0.625rem;
  color: #fff;
  transform: translateY(-50%);
}

.site-footer {
  padding: clamp(5.2rem, 8vw, 7rem) 0 clamp(3rem, 5vw, 4.2rem);
  color: var(--color-white);
  background: var(--color-dark);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(88.8889%, 80rem);
  margin-inline: auto;
  gap: 3rem;
}

.site-footer img {
  width: 8.8rem;
}

.site-footer address {
  margin-top: 2.5rem;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.site-footer__aside {
  display: flex;
  min-height: 14.8rem;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  gap: 1.4rem 4rem;
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social a {
  display: grid;
  width: 1.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--color-white);
}

.footer-social svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-social path {
  fill: currentColor;
  stroke: none;
}

.site-footer__copy {
  width: min(88.8889%, 80rem);
  margin: 3.2rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 64rem) {
  :root {
    --content: min(79.4872%, 31rem);
    --content-wide: min(86.1539%, 34rem);
    --sp-narrow: min(79.4872vw, 19.375rem);
    --sp-wide: min(89.7436vw, 21.875rem);
    --sp-form: min(76.9231vw, 18.75rem);
  }

  body {
    min-width: 0;
  }

  .site-header {
    top: 3.1rem;
  }

  .site-header__logo {
    width: 7.3rem;
  }

  .floating-consult {
    top: 6.9rem;
    right: 0;
    min-width: 2.65rem;
    min-height: 12.55rem;
    padding: 1.3rem 0.68rem;
    font-size: 0.82rem;
  }

  .hero {
    height: 43.75rem;
    min-height: 43.75rem;
  }

  .hero img {
    object-position: 22% center;
  }

  .hero__copy {
    left: 1.7rem;
    bottom: 3rem;
  }

  .hero__copy h1 {
    font-size: 1.75rem;
  }

  .lead {
    padding-bottom: 3.75rem;
  }

  .lead::before,
  .works::before {
    height: 9rem;
    background-size: 100% auto;
    opacity: 0.26;
  }

  .lead .section-line {
    height: 2.5rem;
  }

  .lead__inner {
    padding-top: 3.4rem;
  }

  .lead h2 {
    font-size: 1.125rem;
    line-height: 1.95;
  }

  .lead p {
    margin-top: 0.9rem;
    color: #808080;
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .concept {
    padding-bottom: 5.8rem;
  }

  .concept__inner {
    grid-template-columns: 1fr;
    width: var(--sp-narrow);
    gap: 3.2rem;
  }

  .concept__text {
    order: 2;
  }

  .concept__image img {
    aspect-ratio: 310 / 450;
    object-fit: cover;
  }

  .concept__text h2 {
    font-size: 1.125rem;
    line-height: 2.05;
  }

  .concept__text p {
    margin-top: 2.2rem;
    color: #808080;
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .image-message {
    height: 33.75rem;
    min-height: 33.75rem;
  }

  .image-message__copy {
    align-content: end;
    padding-inline: 1.5rem;
    padding-bottom: 4.4rem;
  }

  .image-message__copy h2,
  .image-message__copy p {
    max-width: var(--sp-wide);
    margin-inline: auto;
  }

  .image-message__copy h2 {
    font-size: 1.125rem;
    line-height: 2.05;
    letter-spacing: 0.08em;
  }

  .image-message__copy p {
    font-size: 0.875rem;
    letter-spacing: 0.03em;
  }

  .tailor {
    min-height: auto;
    overflow: hidden;
    padding-bottom: 0;
    background:
      linear-gradient(rgba(242, 239, 232, 0.4), rgba(242, 239, 232, 0.4)),
      #fff;
  }

  .tailor .section-line {
    display: block;
    left: 10%;
    height: 2.5rem;
    background: #d0d0d0;
  }

  .tailor::before,
  .tailor::after {
    display: none;
  }

  .tailor__inner {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: auto;
    gap: 0;
  }

  .tailor__text {
    width: var(--sp-wide);
    margin-inline: auto;
    padding-top: 5rem;
  }

  .tailor__text h2 {
    font-size: 1.125rem;
    line-height: 2;
  }

  .tailor__text p {
    font-size: 0.8125rem;
  }

  .tailor__collage {
  width: min(100%, 34rem);
  min-height: 33.75rem;
  margin-inline: auto;
}

  .tailor__collage::before,
  .tailor__collage::after {
    display: block;
  }

  .tailor__collage::before {
    top: 3.75rem;
    right: 0;
    bottom: auto;
    left: auto;
    width: 14.375rem;
    height: 18.75rem;
    border-top: 0.5px solid rgba(208, 208, 208, 0.8);
    border-left: 0.5px solid rgba(208, 208, 208, 0.8);
    border-bottom: 0.5px solid rgba(208, 208, 208, 0.8);
  }

  .tailor__collage::after {
    top: auto;
    bottom: 0;
    right: 12.1875rem;
    left: auto;
    width: 12.1875rem;
    height: 16.25rem;
    border-top: 0.5px solid rgba(208, 208, 208, 0.8);
    border-right: 0.5px solid rgba(208, 208, 208, 0.8);
  }

  .tailor__pic--small-top {
    top: 1.875rem;
    right: 0;
    left: auto;
    width: 7.5rem;
    aspect-ratio: 1;
  }

  .tailor__pic--large {
    top: 6.875rem;
    left: calc((100% - 15rem) / 2);
    right: auto;
    width: 15rem;
    aspect-ratio: 240 / 180;
  }

  .tailor__pic--small-bottom {
    top: 15rem;
    left: 1.25rem;
    right: auto;
    width: 7.5rem;
    aspect-ratio: 120 / 180;
  }

  .features {
    background-image: linear-gradient(rgba(88, 132, 136, 0.5), rgba(88, 132, 136, 0.5)), url("../images/sp/bg.jpg");
  }

  .features__inner {
    grid-template-columns: 1fr;
    width: min(81.5385vw, 19.875rem);
    min-height: 52.5rem;
    padding-block: 5.2rem;
    align-content: center;
    gap: 3.35rem;
  }

  .feature-item__meta {
    font-size: 0.875rem;
  }

  .feature-item h2 {
    font-size: 1.5rem;
  }

  .feature-item p:last-child {
    font-size: 0.8125rem;
    line-height: 1.8;
    letter-spacing: 0.08em;
  }

  .workmanship__inner {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 0;
    padding-top: 0;
    gap: 0;
  }

  .workmanship__media--left {
    padding-top: 0;
  }

  .workmanship__media--left > img:not(.workmanship__photo--overlap) {
    display: none;
  }

  .workmanship__photo--overlap {
    position: static;
    display: block;
    width: 100%;
    aspect-ratio: 390 / 360;
  }

  .workmanship__text {
    width: var(--sp-narrow);
    margin-inline: auto;
    padding-block: 4.8rem;
    text-align: left;
  }

  .workmanship__text p,
  .flow__list article > p:last-child,
  .contact__heading p {
    font-size: 0.88rem;
  }

  .workmanship__media--right {
    display: grid;
    width: var(--sp-wide);
    margin-inline: auto;
    padding: 0 0 5.6rem;
    gap: 2.5rem;
  }

  .workmanship__media--right > picture:first-child {
    width: 12.5rem;
    aspect-ratio: 200 / 300;
  }

  .workmanship__photo--small {
    width: 15rem;
    margin-left: auto;
    aspect-ratio: 240 / 140;
    transform: none;
  }
  .workmanship {
    position: relative;
  }

  .workmanship > .section-line {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 2;
    margin: 0;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .workmanship__inner {
    padding-top: 0;
  }

  .night-house {
    --night-bg: url("../images/sp/pic9.jpg");
    height: 22.5rem;
    max-height: none;
  }

  .reasons {
    padding-block: 5.2rem;
  }

  .reasons__inner {
    width: var(--sp-narrow);
  }

  .reasons h2 {
    text-align: center;
    font-size: 1.125rem;
  }

  .reasons__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
  }

  .reasons__grid p {
    font-size: 0.875rem;
  }

  .reasons__grid h3 {
    font-size: 0.8125rem;
    line-height: 1.85;
  }

  .works {
    padding-bottom: 5rem;
  }

  .works__inner {
    width: 100%;
  }

  .works__heading {
    width: var(--sp-narrow);
    margin: 5.2rem auto 0;
  }

  .works__heading h2 {
    font-size: 1.125rem;
  }

  .works__cards {
    display: flex;
    width: 100%;
    grid-template-columns: none;
    gap: 1.25rem;
    margin-top: 2.5rem;
    padding-inline: max(2rem, calc((100% - 19.375rem) / 2));
    padding-bottom: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: max(2rem, calc((100% - 19.375rem) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .works__cards::-webkit-scrollbar {
    display: none;
  }

  .work-card {
    flex: 0 0 19.375rem;
    scroll-snap-align: center;
  }

  .work-card img {
    width: 100%;
    aspect-ratio: 310 / 245;
  }

  .outline-button {
    width: min(58.9744%, 14.375rem);
    margin-top: 3rem;
  }

  .flow {
    padding-block: 5.4rem 5.8rem;
  }

  .flow__inner {
    grid-template-columns: 1fr;
    width: var(--sp-narrow);
    margin-inline: auto;
    gap: 3.4rem;
  }

  .flow__heading h2 {
    text-align: left;
    white-space: normal;
  }

  .flow__list {
    gap: 2.15rem;
  }

  .flow__list article {
    padding-left: 1.25rem;
  }

  .flow__list article::after {
    bottom: -1.35rem;
  }

  .contact-cta {
    height: 35rem;
  }

  .contact-cta__content {
    width: var(--sp-form);
    margin-inline: auto;
  }

  .contact-cta__buttons {
    display: grid;
    width: 100%;
    gap: 1rem;
  }

  .contact-cta__buttons a {
    width: 100%;
  }

  .contact {
    padding-block: 5.8rem;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    width: var(--sp-form);
    gap: 3.8rem;
  }

  .contact-form {
    width: 100%;
  }

  .contact-form__split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
  }

  .contact-form button {
    width: 100%;
    gap: 0;
  }

  .site-footer {
    padding: 5rem 0 3.2rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__inner,
  .site-footer__copy {
    width: var(--sp-narrow);
  }

  .site-footer__aside {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.2rem;
  }

  .footer-social {
    order: -1;
    margin-top: 0.4rem;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    justify-content: start;
    width: 100%;
    padding-top: 2.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    gap: 1.45rem 4.5rem;
  }

  .workmanship__text {
    position: relative;
    padding-top: 5rem;
  }

  .workmanship__text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0.3rem;
    width: 1px;
    height: 2.5rem;

    background: linear-gradient(
      to bottom,
      #a0a0a0 0,
      #a0a0a0 1rem,
      rgba(160, 160, 160, 0.28) 1.4rem,
      rgba(160, 160, 160, 0.28) 100%
    );
}
}

@media screen and (min-width: 64.0625rem) {
  :root {
    --content: min(66.6667%, 60rem);
    --content-wide: min(83.3334%, 75rem);
  }

  .tailor {
    overflow: hidden;
  }

  .tailor__inner {
    grid-template-columns: clamp(14rem, 24vw, 21.875rem) 1fr;
    gap: clamp(2rem, 9vw, 8.125rem);
  }

  .tailor__pic--large {
    left: clamp(0rem, calc(100vw - 75rem), 6.875rem);
    width: clamp(15rem, 25vw, 22.5rem);
  }

  .tailor__pic--small-top {
    left: clamp(5.5rem, calc(100vw - 53rem), 26.875rem);
    width: clamp(7.5rem, 12.5vw, 11.25rem);
  }

  .tailor__pic--small-bottom {
    width: clamp(7.5rem, 11vw, 10rem);
  }
}

/* スマホでは非表示、タブレット・PCでは改行 */
.sp-br {
  display: none;
}

.pc-br {
  display: block;
}

/* スマホ */
@media screen and (max-width: 64rem) {
  .sp-br {
    display: block;
  }

  .pc-br {
    display: none;
  }
}
@media screen and (max-width: 64rem) {
  .lead::before,
  .works::before {
    background-position: center top;
    background-size: auto 100%;
    opacity: 0.7;

    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 55%,
      rgba(0, 0, 0, 0.85) 68%,
      rgba(0, 0, 0, 0.55) 80%,
      rgba(0, 0, 0, 0.25) 91%,
      transparent 100%
    );

    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 55%,
      rgba(0, 0, 0, 0.85) 68%,
      rgba(0, 0, 0, 0.55) 80%,
      rgba(0, 0, 0, 0.25) 91%,
      transparent 100%
    );
  }

  /* 上質な普段着のように */
  .lead::before {
    height: 17rem;
  }

  /* 美しく暮らすための住まい実例 */
  .works::before {
    height: 16rem;
  }

  /* ①「美しく暮らすための住まい実例」上の線を左へ */
 .works > .section-line {
    margin-right: 0;
     margin-left: calc((100% - var(--sp-wide)) / 2 + 1rem);
  }

  /* ②「まずは、美しい住まいの話をしませんか。」下の文章を左揃え */
  .contact-cta__content > p {
    width: min(90%, 20rem);
    margin-inline: auto;
    text-align: left;
  }

  /* ③ 家づくりの進め方：Stepの縦線を少し長く */
  .flow__list article::after {
    height: 7rem;
  }
    /* 施工事例一覧を見る */
  .outline-button {
    font-size: 0.8125rem;
  }

  /* お問い合わせフォーム上の説明文 */
  .contact__heading p {
    font-size: 0.8125rem;
  }

  .site-footer {
    padding-block: 6.875rem 5rem;
  }

  .site-footer__inner,
  .site-footer__copy {
    width: var(--sp-narrow);
  }

  .site-footer img {
    width: 11.375rem;
  }

  .site-footer address {
    margin-top: 2.4rem;
    font-size: 0.8125rem;
    line-height: 1.78;
    letter-spacing: 0.02em;
  }

  .site-footer__aside {
    gap: 2.15rem;
  }

  .footer-social {
    margin-top: 0;
    gap: 1rem;
  }

  .footer-social a {
    width: 1.5rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 0;
    padding-top: 2.35rem;
  }

  .site-footer__copy {
    margin-top: 2.35rem;
    padding-top: 2.3rem;
    font-size: 0.75rem;
  }
}


/* =========================================================
   Contact Form 7
   ========================================================= */
.contact-form .wpcf7,
.contact-form .wpcf7-form {
  width: 100%;
}

.contact-form .wpcf7-form {
  display: grid;
  gap: 1.85rem;
}

.contact-form .form-field {
  display: grid;
  gap: 0.65rem;
}

.contact-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.contact-form .contact-form__split .wpcf7-form-control-wrap {
  min-width: 0;
}

.contact-form input:not([type="checkbox"]):not([type="submit"]),
.contact-form textarea {
  width: 100%;
}

.contact-form__privacy {
  display: block;
  margin-top: -0.25rem;
}

.contact-form__privacy .wpcf7-list-item {
  margin: 0;
}

.contact-form__privacy label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.contact-form__privacy input[type="checkbox"] {
  flex: 0 0 auto;
  width: 0.9rem;
  min-height: 0;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
}

.contact-form__privacy .wpcf7-list-item-label,
.contact-form .wpcf7-form-control-wrap,
.contact-form .wpcf7-list-item,
.contact-form .wpcf7-not-valid-tip {
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  color: inherit;
  background: transparent;
}

.contact-form__privacy a {
  color: #000;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.contact-form__submit {
  position: relative;
  margin-top: -0.4rem;
}

.contact-form input[type="submit"] {
  width: 100%;
  min-height: 3.1875rem;
  padding: 0.85em 3rem;
  border: 0;
  border-radius: 0.25rem;
  color: var(--color-white);
  background: var(--color-dark);
  font-size: 0.8125rem;
  cursor: pointer;
  letter-spacing: 0.06em;
  transition: background var(--ease);
}

.contact-form input[type="submit"]:hover {
  background: #31302f;
}

.contact-form__submit::after {
  position: absolute;
  top: 0;
  right: 2.5rem;
  left: auto;
  display: flex;
  align-items: center;
  height: 3.1875rem;
  color: #fff;
  content: "→";
  line-height: 1;
  pointer-events: none;
  transform: none;
}

.contact-form .wpcf7-spinner {
  display: block;
  margin: 0.75rem auto 0;
}

.contact-form .wpcf7-not-valid-tip {
  display: block;
  width: auto;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.6;
}

.contact-form .wpcf7-response-output {
  margin: 0;
  padding: 0.8rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.8;
}

.contact-form__notice {
  padding: 1rem;
  border: 1px solid #c8aa83;
  font-size: 0.8125rem;
  line-height: 1.8;
}

@media screen and (max-width: 64rem) {
  .contact-form .wpcf7-form {
    gap: 1.65rem;
  }
}
.recaptcha-note {
  margin: 0;
  color: #808080;
  font-size: 0.6875rem;
  line-height: 1.7;
}

.recaptcha-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.grecaptcha-badge {
  visibility: hidden;
}
.thanks-page {
  display: grid;
  min-height: 70vh;
  padding: 11rem 1.5rem 8rem;
  background: #fff;
  place-items: center;
  text-align: center;
}

.thanks-page__inner {
  width: min(100%, 40rem);
}

.thanks-page__en {
  color: var(--color-gold);
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.thanks-page h1 {
  margin-top: 1.5rem;
  font-size: clamp(1.3rem, 1rem + 0.8vw, 1.8rem);
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.thanks-page__content {
  margin-top: 2rem;
  font-size: 0.875rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

.thanks-page__content p + p {
  margin-top: 1.5rem;
}

.thanks-page .outline-button {
  margin-top: 3rem;
}

@media screen and (max-width: 64rem) {
  .thanks-page {
    min-height: 65vh;
    padding-block: 9rem 6rem;
  }

  .thanks-page__inner {
    width: min(80vw, 30rem);
  }
}