/* ======================================
PRODUCT PAGE
====================================== */

.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10rem 3rem;
}

/* ---------- hero ---------- */

.product-hero {
  display: flex;
  align-items: center;
  gap: 6rem;
  margin-bottom: 10rem;
}

.product-hero__text {
  width: 48%;
}

.product-hero__image {
  width: 52%;
  margin-top: 8rem;
}

.product-hero__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.product-label {
  color: #c7a97f;
  font-family: var(--font-oswald);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.product-hero h3 {
  font-size: 4rem;
  margin-bottom: 3rem;
  color: #4a3326;
}

.product-hero p {
  line-height: 2;
}

.product-amount {
  margin-top: 3rem;
  background: #fff;
}

.product-amount span {
  display: block;
  color: #c7a97f;
  margin-bottom: 1rem;
}

.product-amount strong {
  display: block;
  font-size: 2.4rem;
  color: #4a3326;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.product-amount .amount-note {
  display: inline;
  margin: 0 0 0 0.6rem;
  color: #4a3326;
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 500;
}

.product-price {
  margin-top: 2.4rem;
  max-width: 48rem;
}

.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 0;
  margin-top: 0;
  border-bottom: 1px dashed rgba(199, 169, 127, 0.35);
}

.price-line span {
  color: #6b5648;
  font-size: 1.8rem;
  font-weight: 700;
}

.price-line strong {
  color: #4a3326;
  font-size: 3.4rem;
  line-height: 1;
}

.price-line.trial span {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  color: #b88b4a;
  font-weight: 700;
}

.price-line.trial strong {
  color: #b88b4a;
}

.product-hero__image {
  padding-top: 3rem;
}

.price-note {
  font-size: 1.4rem;
  margin-top: 1.4rem;
  text-align: right;
}

.product-hero__image img {
  max-width: 520px;
  margin-left: auto;
}
.price-name span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #4a3326;
  line-height: 1.2;
}

.price-name small {
  display: block;
  margin-top: 0.4rem;
  font-size: 1.4rem;
  line-height: 1.2;
}

/* ---------- basic ---------- */

.product-basic {
  display: flex;
  gap: 5rem;
  margin-bottom: 10rem;
}

.product-basic__item {
  flex: 1;
}

.product-basic__item figure {
  margin-bottom: 2rem;
}

.product-basic__item img {
  width: 100%;
  display: block;
}

.product-basic__item h4 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.nutrition-box {
  flex: 1;
  background: #fffaf4;
  border: 1px solid rgba(199, 169, 127, 0.25);
  border-radius: 16px;
  padding: 4rem;

  box-shadow: 0 5px 20px #8c7a662e;
}

.nutrition-box h4 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #996f57;
  padding-bottom: 1.4rem;
  border-bottom: 1px dashed #996f57;
}

.nutrition-box h4 span {
  display: inline-block;
  font-size: 1.3rem;
  margin-left: 0.5rem;
}

.nutrition-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.nutrition-item {
  padding: 0 1.5rem;
}

.nutrition-item:not(:last-child) {
  border-right: 1px solid rgba(199, 169, 127, 0.35);
}

.nutrition-item span {
  display: block;
  color: #8c7a66;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

.nutrition-item strong {
  display: block;
  color: #4a3326;
  font-size: 2.6rem;
  line-height: 1;
}

.nutrition-box span {
  font-size: 1.4rem;
}

.nutrition-box dl {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 0;
}

.nutrition-box dt,
.nutrition-box dd {
  padding: 1.4rem 0;
}

.nutrition-box dt:not(:last-of-type),
.nutrition-box dd:not(:last-of-type) {
  border-bottom: 1px dashed rgba(199, 169, 127, 0.4);
}

.nutrition-box dt {
  color: #5c4739;
  font-weight: 600;
  font-size: 1.8rem;
}

/* ---------- guide ---------- */

.product-guide {
  display: flex;
  gap: 6rem;
  margin-bottom: 10rem;
}

.guide-box {
  flex: 1;
  background: #fff;
  padding: 5rem 6rem;
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 4px 15px #8c7a663d;
  text-align: center;
}

/* アイコン */

.guide-icon {
  width: 72px;
  height: auto;
  opacity: 0.9;
  position: static;
  display: block;
  margin: 0 auto 2rem;
}

.guide-box h4 {
  font-size: 2.6rem;
  color: #4a3326;
  margin-bottom: 3rem;
  padding-top: 0;
  text-align: center;
}

.guide-box ul {
  max-width: 420px;
  margin: 0 auto;
  text-align: left;
}

.guide-box li {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  line-height: 2;
}

.guide-box li:not(:last-child) {
  margin-bottom: 1rem;
}

.guide-box li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c7a97f;
  position: absolute;
  left: 0;
  top: 1.2rem;
}

/* ---------- arrange ---------- */

.arrange-section {
  text-align: center;
}

.arrange-section h3 {
  font-size: 3.4rem;
  margin-bottom: 1.4rem;
  color: #4a3326;
  font-family: "Shippori Mincho", serif !important;
}

.arrange-section > p {
  margin-bottom: 5.5rem;
}

.arrange-list {
  display: flex;
  gap: 4rem;
}

.arrange-card {
  width: 50%;
}

.arrange-card figure {
  margin-bottom: 2rem;
}

.arrange-card img {
  width: 100%;
  display: block;
}

.arrange-card h4 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.arrange-card p {
  color: #777;
}

.arrange-heading {
  position: relative;
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.arrange-en {
  position: absolute;
  top: -35px;
  left: -80px;

  margin: 0;
  z-index: 1;
}

.arrange-en img {
  width: 160px;
  opacity: 0.75;

  transform: rotate(-12deg);
}

.arrange-leaf {
  position: absolute;
  right: -75px;
  top: -2rem;
  width: 78px;
  opacity: 0.65;
  transform: rotate(-8deg);
}

.arrange-section h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #8f987f;
  margin: 1.6rem auto 0;
}

/* ---------- SP ---------- */

@media screen and (max-width: 768px) {
  .product-page {
    padding: 6rem 3rem;
  }

  .product-hero,
  .product-basic,
  .product-guide,
  .arrange-list {
    display: block;
  }

  .product-hero__text,
  .product-hero__image,
  .arrange-card {
    width: 100%;
  }

  .product-hero__image {
    margin-top: 3rem;
  }

  .product-basic {
    margin-bottom: 6rem;
  }

  .nutrition-box {
    margin-top: 3rem;
  }

  .guide-box:not(:last-child) {
    margin-bottom: 3rem;
  }

  .arrange-card:not(:last-child) {
    margin-bottom: 4rem;
  }

  .product-hero h3 {
    font-size: 3rem;
  }

  .guide-box {
    padding: 3rem;
  }
  .guide-icon {
    width: 60px;
    margin-bottom: 1.6rem;
  }

  .arrange-en {
    top: -1rem;
    left: -4rem;
  }

  .arrange-en img {
    width: 9rem;
  }

  .arrange-leaf {
    right: -2.5rem;
    top: 1.3rem;
    width: 4.8rem;
  }

  .product-hero {
    display: flex;
    flex-direction: column;
  }

  .product-hero__image {
    order: 1;
    width: 100%;
  }

  .product-hero__text {
    order: 2;
    width: 100%;
  }
}

/*  ----------------------------------------------------------

float shop btn

----------------------------------------------------------  */

/*  

.fixed-shop-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 310px;
  height: 80px;

  background: #5f7751;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  text-decoration: none;

  border-radius: 999px;

  box-shadow: 0 6px 18px rgba(111, 138, 95, 0.15), 0 1px 4px rgba(0, 0, 0, 0.05);

  z-index: 9999;

  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.fixed-shop-btn:hover {
  background: #6f8a5f;
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(111, 138, 95, 0.22);
  opacity: 1 !important;
  transform: translateY(-4px);
}
.fixed-shop-btn::after {
  content: "→";
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.fixed-shop-btn:hover::after {
  transform: translateX(4px);
}
@media screen and (max-width: 768px) {
  .fixed-shop-btn {
    width: calc(100% - 24px);
    max-width: 360px;

    height: 64px;

    right: 12px;
    bottom: 12px;

    font-size: 2.4rem;
  }
}
*/

.fixed-shop-btn {
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  z-index: 9999;

  width: 180px;
  -webkit-filter: drop-shadow(0 8px 18px rgba(111, 98, 92, 0.15));
  filter: drop-shadow(0 12px 28px rgba(111, 98, 92, 0.22));

  transition: all 0.3s ease;
}

.fixed-shop-btn img {
  width: 100%;
  height: auto;
  display: block;
}

.fixed-shop-btn:hover {
  transform: translateY(-4px);
  opacity: 1 !important;
}

@media screen and (max-width: 768px) {
  .fixed-shop-btn {
    width: 125px;
    right: 1.2rem;
    bottom: 1.2rem;
  }
}
