

body {
  font-family: "Yu Gothic", "Hiragino Sans", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9fcfd;
  color: #333;
  overflow-x: hidden;
}

.hero {
  position: relative;
  text-align: center;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: 0px auto;
}

.hero-text {
  position: absolute;

  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: rgba(0, 160, 200, 0.6);
  padding: 1em 2em;
}

.uv-knowledge-box {
  max-width: 720px;
  padding: 0.75em;
  margin: 0.5em auto -2.2em;
  font-size: 1em;
}

.uv-knowledge-box h2 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 0.7em;
  color: #575656;
}

.uv-knowledge-box h3 {
 font-size: 1.6em;
 color: #575656;
 margin: -0.5em;
}
.uv-knowledge-box strong {
  color: #444;
}


.section {
  padding: 1em;
  max-width: 720px;
  margin: 0 auto;
  text-align: center; /* これを追加 */
}

.section-comment {
  font-size: 1.1em;
  font-weight: bold;
  color: #555;
  margin-bottom: 1.5em;
  line-height: 1.6;
}

h2 {
  position: relative;
  display: inline-block;
  font-size: 2.5em;
  font-weight: bold;
  color: #007fa8;
  margin-bottom: 1em;
  padding-bottom: 0.3em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: #b3ddee;
  border-radius: 3px;
  z-index: -1;
}


.category-block {
  margin-bottom: 0.5em;
}

.category-block h3 {
  background-color: #d7f0fa;
  max-width: 720px;
  padding: 0.4em 0.8em;
  border-left: 4px solid #89cdeb;
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 1em;
}

.category-block-pink h3 {
  background-color: #fabacf;
  max-width: 720px;
  padding: 0.4em 0.8em;
  border-left: 4px solid #fd78a4;
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 1em;
}

.category-title {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  text-align: left;
  margin-bottom: 1em;
  gap: 0.2em;
  position: relative;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: 0.2em; /* 下寄せ */
  left: 0;
  width: 100%;
  height: 0.6em;
  background: rgba(255, 255, 255, 0.5); /* 半透明白 */
  z-index: -1;
}

.category-title .icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: 0.9; /* 透過感を出す */
}

/* 商品カードの2カラム対応 */
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 2em auto; /* 中央寄せ */
  padding: 1em;
  background-color: #e3f7fc;
  border-radius: 0.75em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 720px;     /* 統一の横幅 */
  min-height: 320px;    /* 高さ統一（調整可） */
  box-sizing: border-box;
}

/* カード内画像 */
.product-card img {
  width: 100%;
  max-width: 320px;
  margin-bottom: 1em;
}

/* テキスト部分 */
.product-text {
  width: 100%;
  max-width: 640px;
  text-align: left;
}

/* スキンケア用ピンクカード */
.product-card-pink {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 2em auto; /* 中央寄せ */
  padding: 1em;
  background-color: #fff0f5; /* ライトピンク系背景 */
  border-radius: 0.75em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 720px;     /* 統一の横幅 */
  min-height: 320px;    /* 高さ統一（調整可） */
  box-sizing: border-box;
}

.product-card-pink:hover {
  box-shadow: 0 4px 10px rgba(245, 180, 200, 0.3);
}

.product-card-pink img {
  width: 100%;
  max-width: 320px;
  margin-bottom: 1em;
}

.product-card-pink .product-info {
  flex: 1;
}

.product-card-pink .product-info h3 {
  font-size: 1.1em;
  margin: 0 0 8px;
  color: #c74870; /* 濃いめのピンク */
}

.product-card-pink .product-info p {
  font-size: 0.9em;
  color: #444;
  margin-bottom: 4px;
}

.product-card-pink .product-info .price {
  font-weight: bold;
  color: #d0608c;
}

.product-card-pink .product-info .btn {
  display: inline-block;
  background-color: #d0608c;
  color: #fff;
  padding: 6px 12px;
  font-size: 0.9em;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 6px;
}

.product-card-pink .product-info .btn:hover {
  background-color: #b94e75;
}

/* PC表示では左右2カラム */
@media screen and (min-width: 769px) {
  .product-card {
    flex-direction: row;
    justify-content: center;
    gap: 2em;
    min-height: 240px;  /* PC時に高さ調整する場合はこちら */
  }

  .product-card img {
    margin-bottom: 0;
    max-width: 300px;
    flex-shrink: 0;
  }

  .product-text {
    text-align: left;
  }

    .product-card-pink {
    flex-direction: row;
    justify-content: center;
    gap: 2em;
    min-height: 240px;  /* PC時に高さ調整する場合はこちら */
  }

  .product-card-pink img {
    margin-bottom: 0;
    max-width: 300px;
    flex-shrink: 0;
  }

  .product-text {
    text-align: left;
  }
}

/* 商品名 */
.product-name {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0.3em;
}

/* SPF・PA */
.product-spf {
  font-size: 0.9em;
  font-weight: bold;
  color: #444;
  margin-bottom: 0.8em;
}

/* 説明文 */
.product-desc {
  font-size: 1em;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1em;
}

/* 価格 */
.product-price {
  font-size: 1.2em;
  font-weight: bold;
  color: #007fa8;
  margin-bottom: 1em;
}

/* CTAボタン */
.product-btn {
  display: inline-block;
  padding: 0.6em 1.2em;
  background-color: #b3ddee;
  color: #ffffff;
  text-decoration: none;
  border-radius: 0.5em;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.product-btn:hover {
  background-color: #a2d4e8;
}

.product-btn::after {
  content: " ▶";
}

.product-price{
  text-align: right;
  display: block;
}

.product-footer {
  text-align: right;
}

.product-discount {
  color: #e83e6f;
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 12px;
  margin-bottom: -1rem;
}


.column-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.column-item {
  background: #f6f7ff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.3s;
}

.column-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.column-item img {
  width: 100%;
  display: block;
  height: auto;
}

.column-item h4 {
  font-size: 1.1em;
  padding: 12px;
  line-height: 1.4;
  font-weight: bold;
}

.column-intro {
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
}

.column-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #575656;
}

.column-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: #575656;
  line-height: 1.8;
}

.temiru-header {
  text-align: center;
  padding: 6px 0;
}

.temiru-logo {
  width: 180px;
  height: auto;
}

.temiru-footer {
  text-align: center;
  margin: 40px 0;
}

.to-top-btn {
  display: inline-block;
  background-color: #b5c0ff;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 40px;
  font-weight: bold;
  font-size: 1.5rem;
  transition: background-color 0.3s;
}

.to-top-btn:hover {
  background-color: #ad96ff;
}

.other-features {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 60px auto;
  max-width: 1000px;
  text-align: center;
}

.feature-banner {
  display: inline-block;
  text-align: center;
}

.feature-banner img {
  display: block; /* ←これが原因で左寄せになってた */
  margin: 0 auto;  /* これを追加して中央寄せに */
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.feature-banner img:hover {
  transform: scale(1.03);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-text {
    top: 10%;
    font-size: 0.9em;
    padding: 0.5em 1em;
  }

  .product-card {
    width: 100%;
  }

  h2 {
    font-size: 1.4em;
  }

  .uv-knowledge-box h2 {
  font-size: 1.5em;
}

.uv-knowledge-box h3 {
 font-size: 1.3em;
}
  .column-list {
    margin-top: 1.5em;
    grid-template-columns: 1fr;
  }

.temiru-header {
  padding: 8px 0;
}

.temiru-logo {
  width: 120px;
  height: auto;
}

.to-top-btn {
  font-size: 1rem;
}

}