html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #222;
  background: #fff;
  font-family: "Yu Gothic", "YuGothic", "游ゴシック体", sans-serif;
  line-height: 1.9;
}

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

a {
  color: inherit;
}

.fd-header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.fd-header__inner {
  width: min(1100px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.fd-header__logo {
  color: #222;
  text-decoration: none;
  font-family: "Yu Mincho", "YuMincho", "游明朝体", serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.fd-header__nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.fd-header__nav a {
  color: #333;
  text-decoration: none;
}

.fd-header__nav a:hover {
  text-decoration: underline;
}

.fd-page {
  background: #fff;
}

.fd-inner,
.fd-products,
.fd-hero__inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.fd-hero {
  padding: 72px 0 64px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.fd-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.fd-label,
.fd-section-label,
.fd-product__category {
  margin: 0 0 12px;
  color: #8a6a42;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.fd-hero h1 {
  margin: 0 0 24px;
  font-family: "Yu Mincho", "YuMincho", "游明朝体", serif;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.fd-lead {
  margin: 0;
  font-size: 17px;
}

.fd-hero__image {
  margin: 0;
}

.fd-hero__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f3f3f3;
}

.fd-concept {
  padding: 64px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.fd-concept h2,
.fd-closing h2 {
  margin: 0 0 22px;
  font-family: "Yu Mincho", "YuMincho", "游明朝体", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.fd-concept p,
.fd-closing p {
  max-width: 820px;
  margin: 0 0 16px;
}

.fd-products {
  padding: 72px 0;
}

.fd-product {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 0 0 72px;
  margin: 0 0 72px;
  border-bottom: 1px solid #eee;
}

.fd-product:last-child {
  margin-bottom: 0;
}

.fd-product--reverse .fd-product__content {
  order: 2;
}

.fd-product--reverse .fd-gallery {
  order: 1;
}

.fd-product h2 {
  margin: 0 0 18px;
  font-family: "Yu Mincho", "YuMincho", "游明朝体", serif;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.fd-product__catch {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.fd-product__content p {
  margin: 0 0 16px;
}

.fd-use-box {
  margin: 26px 0;
  padding: 20px 22px;
  background: #fafafa;
  border-left: 4px solid #9b7a4d;
}

.fd-use-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.fd-use-box p {
  margin: 0;
}

.fd-gallery {
  width: 100%;
}

.fd-gallery__main {
  margin: 0 0 12px;
  background: #f5f5f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fd-gallery__main img {
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #f5f5f5;
}

.fd-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.fd-gallery__thumbs button {
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  opacity: 0.72;
}

.fd-gallery__thumbs button.is-active,
.fd-gallery__thumbs button:hover {
  opacity: 1;
  border-color: #222;
}

.fd-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f3f3f3;
}

.fd-closing {
  padding: 72px 0;
  background: #fff;
  border-top: 1px solid #eee;
}

.fd-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 50px;
  padding: 10px 22px;
  border: 1px solid #222;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.fd-button:hover {
  opacity: 0.82;
}

.fd-button--sub {
  background: #fff;
  color: #222;
}

.fd-footer {
  padding: 30px 0;
  background: #f7f7f7;
  border-top: 1px solid #e5e5e5;
}

.fd-footer__inner {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.fd-footer__name,
.fd-footer__copy {
  margin: 0;
}

.fd-footer__copy {
  font-size: 13px;
  color: #777;
}

@media (max-width: 900px) {
  .fd-hero {
    padding: 48px 0;
  }

  .fd-hero__inner,
  .fd-product {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fd-product--reverse .fd-product__content,
  .fd-product--reverse .fd-gallery {
    order: initial;
  }

  .fd-product {
    padding-bottom: 56px;
    margin-bottom: 56px;
  }
}

@media (max-width: 640px) {
  .fd-header__inner {
    display: grid;
    gap: 8px;
    padding: 12px 0;
  }

  .fd-header__nav {
    overflow-x: auto;
    white-space: nowrap;
    gap: 14px;
  }

  .fd-hero h1 {
    font-size: 32px;
  }

  .fd-lead {
    font-size: 16px;
  }

  .fd-buttons {
    display: grid;
  }

  .fd-button {
    width: 100%;
  }

  .fd-footer__inner {
    display: grid;
    gap: 6px;
  }
}
.fd-price {
  display: inline-block;
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid #ddd;
  background: #fafafa;
}

.fd-price__label {
  margin: 0 0 4px;
  color: #777;
  font-size: 13px;
  line-height: 1.4;
}

.fd-price__main {
  margin: 0;
  color: #222;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.fd-product__intro {
  margin: 0 0 28px;
}

.fd-product-group {
  display: grid;
  gap: 28px;
}

.fd-item {
  padding: 22px 0 0;
  border-top: 1px solid #e8e8e8;
}

.fd-item:first-child {
  padding-top: 0;
  border-top: none;
}

.fd-item__name {
  margin: 0 0 14px;
  font-family: "Yu Mincho", "YuMincho", "游明朝体", serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.fd-item__text {
  margin: 0 0 16px;
}

@media (max-width: 640px) {
  .fd-item__name {
    font-size: 22px;
  }
}

.fd-products {
  width: 100%;
  padding: 0;
}

.fd-feature-section {
  position: relative;
  padding: 90px 0;
  background: #fff;
  overflow: hidden;
}

.fd-feature-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--fd-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 0;
}

.fd-feature-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.84);
  z-index: 0;
}

.fd-feature-section__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: center;
}

.fd-feature-section--reverse .fd-feature-section__text {
  order: 2;
}

.fd-feature-section--reverse .fd-photo-grid {
  order: 1;
}

.fd-feature-section__text h2 {
  margin: 0 0 18px;
  font-family: "Yu Mincho", "YuMincho", "游明朝体", serif;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.fd-feature-section__text p {
  margin: 0 0 16px;
}

.fd-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.fd-photo-grid figure {
  margin: 0;
  background: #f3f3f3;
  overflow: hidden;
}

.fd-photo-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.fd-photo-grid figure:first-child {
  grid-column: span 2;
}

.fd-photo-grid figure:first-child img {
  aspect-ratio: 4 / 3;
}

.fd-item {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.fd-item h3 {
  margin: 0 0 14px;
  font-family: "Yu Mincho", "YuMincho", "游明朝体", serif;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .fd-feature-section {
    padding: 64px 0;
  }

  .fd-feature-section__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fd-feature-section--reverse .fd-feature-section__text,
  .fd-feature-section--reverse .fd-photo-grid {
    order: initial;
  }
}

@media (max-width: 560px) {
  .fd-feature-section {
    padding: 52px 0;
  }

  .fd-photo-grid {
    gap: 8px;
  }

  .fd-photo-grid figure:first-child {
    grid-column: span 2;
  }

  .fd-item h3 {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .fd-gallery__main {
    background: #f5f5f5;
  }

  .fd-gallery__main img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
  }

  .fd-gallery__thumbs {
    gap: 6px;
  }
}

.fd-price-list {
  margin: 0 0 24px;
  border: 1px solid #ddd;
  background: #fafafa;
}

.fd-price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
}

.fd-price-row:last-child {
  border-bottom: none;
}

.fd-price-row__name,
.fd-price-row__price {
  margin: 0;
  line-height: 1.5;
}

.fd-price-row__name {
  font-weight: 700;
}

.fd-price-row__price {
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .fd-price-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fd-price-row__price {
    font-size: 17px;
  }
}

.fd-feature-section__text h2 {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .fd-feature-section__text h2 {
    white-space: normal;
  }
}

.fd-feature-section__inner {
  grid-template-columns: 1.08fr 0.92fr;
}

.fd-feature-section__text h2 {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .fd-feature-section__inner {
    grid-template-columns: 1fr;
  }

  .fd-feature-section__text h2 {
    white-space: normal;
  }
}

.fd-feature-section__inner {
  width: min(1220px, calc(100% - 32px));
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
}

.fd-feature-section--reverse .fd-feature-section__inner {
  grid-template-columns: 1.18fr 0.82fr;
}

.fd-gallery__main img {
  width: 100%;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.fd-gallery__main {
  width: 100%;
}

.fd-photo-grid figure:first-child img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 900px) {
  .fd-feature-section__inner,
  .fd-feature-section--reverse .fd-feature-section__inner {
    width: min(100% - 32px, 720px);
    grid-template-columns: 1fr;
  }
}

body.is-embed {
  background: #fff;
}

body.is-embed .fd-page {
  background: #fff;
}

body.is-embed .fd-hero {
  padding-top: 48px;
}

body.is-embed .fd-feature-section {
  padding: 64px 0;
}

body.is-embed .fd-closing {
  padding-bottom: 56px;
}

body.is-embed .fd-header,
body.is-embed .fd-footer {
  display: none;
}

body.is-embed .fd-inner,
body.is-embed .fd-hero__inner,
body.is-embed .fd-feature-section__inner {
  width: min(1080px, calc(100% - 28px));
}

@media (max-width: 640px) {
  body.is-embed .fd-hero {
    padding-top: 36px;
  }

  body.is-embed .fd-feature-section {
    padding: 48px 0;
  }
}

body.is-embed .fd-header,
body.is-embed .fd-footer {
  display: none !important;
}