@charset "UTF-8";

/* ==================================================
   共通設定
   色・コンテンツ幅はここで調整できます
================================================== */

:root {
  --color-text: #352c27;
  --color-red: #993333;
  --color-gold: #b59a5d;
  --color-paper: #fffdf7;
  /* --page-width: 1920px; */
  --content-width: 1100px;
}


/* ==================================================
   Base
================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

/*
 * PCの基準幅は1920px。
 * 広い画面では中央配置し、小さい画面では可変幅にします。
 */
body {
  max-width: var(--page-width);
  margin: 0 auto;
  color: var(--color-text);
  background: var(--color-paper);
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 5px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}


/* ==================================================
   Layout
================================================== */

.container {
  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: 72px;
  padding-bottom: 300px;
}

.section  hr {
  margin: 0 auto 150px;
  border: none;
  border-bottom: solid 1px var(--color-red);
  width: 1100px;
}

.section-title {
  margin-bottom: 40px;
  text-align: center;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.12em;
}

.section-title > span {
  display: block;
  margin-bottom: 8px;
  color: var(--color-red);
  font-size: 1.25rem;
  letter-spacing: 0.2em;
}

.subsection-title {
  margin-bottom: 70px;
  color: var(--color-red);
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
}

.subsection-title::after {
  display: block;
  content: "";
  margin: 0 auto;
  border-bottom: solid 1px var(--color-red);
  bottom: 0px;
  width: 100px;
  height: 25px;
}

/* 和柄の本番背景は素材支給後に指定。現在は仮の淡色背景。 */
.section-pattern {
  background: #f2f0e5;
  background-image: url(https://.itembox.cloud/item/bk01.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 100px 0 200px;
}

.section-pattern2 {
  background: #f2f0e5;
  background-image: url(https://.itembox.cloud/item/bk02.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin: 100px 0 50px;
}


.section-lead {
  max-width: var(--content-width);
  margin: -12px auto 40px;
  text-align: center;
}


/* ==================================================
   Header
================================================== */

.site-header {
  border-top: 4px solid var(--color-red);
  border-bottom: 1px solid #e4d9c8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  width: min(var(--content-width), calc(100% - 48px));
  margin-inline: auto;
  padding-block: 15px;
}

.shop-name {
  color: var(--color-red);
  font-weight: 700;
  font-size: 1.5rem;
}

.site-header ul {
  display: flex;
  flex-wrap: wrap;
  color: var(--color-red);
  gap: 8px 24px;
  font-size: 1.4rem;
}

.site-header nav li + li,
.site-footer nav li + li {
  padding-left: 24px;
  border-left: 1px solid currentColor;
}


/* ==================================================
   Hero
================================================== */

.hero {
  position: relative;
}

.hero picture img,
.baum picture img {
  width: 100%;
}

.hero-title {
  position: absolute;
  top: 20%;
  left: max(24px, calc((100% - var(--content-width)) / 2));
  z-index: 1;

  width: min(var(--content-width), calc(100% - 48px));

  color: var(--color-red);
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 500;
}

.hero-title span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}


/* ==================================================
   Feature
================================================== */

.feature {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1.35fr);
  align-items: center;
  gap: 40px;
}

.feature + .feature {
  margin-top: 100px;
}

.feature > img {
  width: 100%;
}

.feature-copy {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  height: 100%;
}

.feature-text {
  height: 70%;
}

.feature-text :is(h3, h4) {
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.feature-text > p + p {
  margin-top: 24px;
}


/* ==================================================
   Product
================================================== */

.price {
  color: var(--color-red);
  font-size: 1.3rem;
  font-weight: 500;
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 400px;
  max-width: 100%;
  height: 80px;
  margin-top: 24px;
  padding: 0 20px;

  border: 1px solid var(--color-red);
  background: var(--color-red);
  color: #ffffff !important;

  font-size: 26px;
  text-align: center;
}

/* 注文リンクのホバー表示。 */
a.product-link:hover {
  opacity: 0.85;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 48px;
}

.product-grid > li {
  min-width: 0;
}

.product-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
  margin-inline: auto;
}

.product {
  /* text-align: center; */
  text-align: left;
}

.product img {
  width: 100%;
}

.product :is(h3, h4) {
  margin-top: 20px;
  font-size: 1.6rem;
  font-weight: 500;
}

.product .price {
  margin-top: 8px;
}

.product-description {
  margin-top: 16px;
  text-align: left;
  font-size: 1rem;
}


/* ==================================================
   Budget
================================================== */

.budget {
  padding-top: 40px;
}

.budget-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;

  margin-bottom: 48px;

  color: var(--color-red);
}


/* ==================================================
   Shipping
================================================== */

.shipping {
  padding-block: 48px;
}

.shipping .feature {
  max-width: 960px;
  margin-inline: auto;
}

.shipping .feature h4 {
  font-size: 1.6rem;
}

.shipping-note {
  margin-top: 0 !important;
  font-size: 1rem;
}

.note {
  margin-top: 24px;
  font-size: 1rem;
}


/* ==================================================
   Price Section
================================================== */

.price-section {
  padding-top: 64px;
}

/* 2件の最終価格帯を中央寄せします。 */
.price-section:last-child .product-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 345px;
  margin-inline: auto;
}


/* ==================================================
   Service
================================================== */

.service hr {
  margin: 0 auto 150px;
  border: none;
  border-bottom: solid 1px var(--color-red);
  width: 1100px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;

  text-align: center;
}

.service-grid h3 {
  color: var(--color-red);
  font-size: 1rem;
  font-weight: 500;
}

.service-grid p {
  margin-top: 12px;
  font-size: 1rem;
}

/*
 * ギフトサービス：
 * PCは350×210px、狭い画面では比率を保って縮小。
 */
.service-thumbnail {
  margin: 0 auto 20px;
  border: solid 1px #993333;
  box-sizing: border-box;
  width: 350px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 350 / 210;
  object-fit: cover;
}


/* ==================================================
   Footer
================================================== */

.site-footer {
  padding-block: 24px 40px;
  border-top: 1px solid var(--color-red);
  font-size: 1.4rem;
}

.site-footer .container {
  display: flex;
  justify-content: end;
  gap: 24px;
}

.site-footer nav ul {
  display: flex;
  color: var(--color-red);
  flex-wrap: wrap;
  gap: 8px 24px;
}

#return-btn {
  display: none;
  position: fixed;
  right: 3%;
  bottom: 3%;
}

#return-btn.is-show {
  display: block;
  color: var(--color-red);
}

#return-btn a {
  display: flex;
  align-items: center;
  font-family: sans-serif;
  font-size: 1.5rem;
}

#return-btn img {
  display: inline-block;
  margin-left: 8px;
  width: 50px;
  height: 50px;
}

/* ==================================================
   Accessibility
================================================== */

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  display: block;
  padding: 12px;
}


/* ==================================================
   PC
   768px以上
================================================== */

@media (min-width: 768px) {

  /*
   * PCの3カラム商品は画像と同じ幅にします。
   */
  .price-section:not(:last-child) .product-link {
    width: 100%;
  }

  /*
   * PCの2カラム商品は、
   * 説明文の長さにかかわらずボタンの下端を揃えます。
   */
  .product-grid-two > li,
  .price-section:last-child .product-grid > li {
    display: flex;
  }

  .product-grid-two .product,
  .price-section:last-child .product {
    display: flex;
    flex-direction: column;
    /* align-items: center; */

    width: 100%;
  }

  .product-grid-two .product > p:last-of-type,
  .price-section:last-child .product > p:last-of-type {
    margin-bottom: 24px;
  }

  .product-grid-two .product-link,
  .price-section:last-child .product-link {
    margin-top: auto;
  }

  .is-pc {
    display: block;
  }
  .is-sp {
    display: none;
  }
}


/* ==================================================
   SP
   767px以下
   画像の切替条件も767pxに統一。
   商品一覧を含めて1カラム。
================================================== */

@media (max-width: 767px) {

  .container,
  .header-inner {
    width: calc(100% - 40px);
  }

  .section {
    padding-block: 48px;
  }

  .section-title {
    margin-bottom: 28px;
    letter-spacing: 0.06em;
  }

  .section-lead {
    margin-bottom: 28px;
    text-align: left;
  }


  /* ---------- Header ---------- */

  .header-inner {
    display: block;
    padding-block: 12px;
  }

  .site-header ul {
    justify-content: center;
    gap: 8px 16px;
    margin-top: 8px;
    font-size: 1rem;
  }

  .site-header nav li + li {
    padding-left: 16px;
  }

  .shop-name {
    text-align: center;
  }


  /* ---------- Hero ---------- */

  .hero-title {
    top: 12%;
    left: 20px;

    width: calc(100% - 40px);

    font-size: clamp(1.4rem, 6vw, 2rem);
  }


  /* ---------- Grid ---------- */

  .feature,
  .product-grid,
  .product-grid-two,
  .price-section:last-child .product-grid,
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
  }


  /* ---------- Feature ---------- */

  .feature {
    gap: 24px;
  }

  .feature + .feature {
    margin-top: 40px;
  }

  .feature > img,
  .product-grid,
  .service-grid {
    max-width: 440px;
    margin-inline: auto;
  }

  .feature-copy {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

  /* ---------- Product ---------- */

  .product-grid {
    gap: 40px;
  }

  .product-link {
    margin-top: 20px;
    height: 60px;
  }

  .price-section {
    padding-top: 48px;
  }


  /* ---------- Budget ---------- */

  .budget-nav ul {
    gap: 12px 24px;
    margin-bottom: 32px;
  }


  /* ---------- Shipping ---------- */

  .shipping {
    padding-block: 36px;
  }


  /* ---------- Service ---------- */

  .service-grid {
    gap: 28px;
  }


  /* ---------- Footer ---------- */

  .site-footer {
    padding-bottom: 80px;
  }

  .site-footer .container {
    flex-direction: column;
    gap: 12px;
  }

  .site-footer nav ul {
    justify-content: center;
    font-size: 0.9rem;
  }


  /* ---------- Utility ---------- */

  .pc-break {
    display: none;
  }

  #return-btn {
  display: none;
  position: fixed;
  right: 3%;
  bottom: 3%;
}

  #return-btn.is-show {
    display: block;
  }

  #return-btn a {
    display: flex;
    align-items: center;
    font-family: sans-serif;
    font-size: 1.2rem;
  }

  #return-btn img {
    display: inline-block;
    margin-left: 8px;
    width: 30px;
    height: 30px;
  }

  hr {
    margin-bottom: 75px !important;
    width: 100% !important;
  }

  .is-pc {
    display: none;
  }
  .is-sp {
    display: block;
  }
}


/* ==================================================
   Reduced Motion
================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}