body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", sans-serif;
  background-color: #fffaf6;
  color: #333;
  line-height: 1.7;
}

/* Typography */
.headline-en {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.headline-ja {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
}

.headline-left {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 40px;
  margin: 0;
}

.headline-right {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 170px;
  background: transparent;
  z-index: 999;
}

.header-inner {
  max-width: 1618px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 20px;
}

.site-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.site-logo img {
  width: 228px;
  height: 113px;
  object-fit: contain;
  transition: width 0.4s ease, height 0.4s ease;
}

.site-logo img.shrink {
  width: 150px;
  height: auto;
}

.global-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 10px 20px;
  background-color: #cfe1c8;
  border-radius: 9999px;
  gap: 20px;
}

.global-nav li a {
  font-size: 13px;
  text-decoration: none;
  color: #111;
}

/* PC用ヘッダーアイコン */
.header-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  position: absolute;
  right: 20px;
  top: 0;
  height: 100%;
}

/* スマホ用SPメニュー内のアイコンコンテナ */
.sp-icons {
  display: none; /* デフォルトでは非表示 */
}

/* SPメニューが開いたときにbodyに.menu-openクラスが付与されると仮定 */
/* これによりSPメニュー表示中はPC用アイコンが非表示になります */
body.menu-open .header-icons {
    display: none !important; /* SPメニューが開いたらヘッダーのPC用アイコンを非表示 */
}

/* SPメニューが開いている時のカートアイコンの絶対配置を無効化 */
/* ハンバーガーメニュー押下でsp-menu.activeクラスが付与されることを想定 */
.sp-menu.active .cart-icon {
    position: static !important; /* 絶対配置を無効化し、通常の配置にする */
    margin: 0 !important; /* 既存のマージンをリセット */
    top: auto !important;
    right: auto !important;
}


@media (max-width: 768px) {
  /* スマホでPC用右上アイコン非表示 */
  .header-icons {
    display: none !important;
  }

  /* SPメニューの全体的な配置調整 */
  .sp-menu {
    padding-top: 150px; /* 必要に応じて調整 */
    padding-bottom: 50px; /* メニュー全体の下部にも余白を持たせる */
    justify-content: flex-start; /* コンテンツを上揃えに */
    /* 既存のdisplay: flex; flex-direction: column; align-items: center; は維持 */
  }

  /* SPメニュー内のアイコンコンテナ */
  .sp-icons {
    display: flex !important; /* ★重要: これでアイコンが横並びになります */
    justify-content: center !important; /* ★重要: 横方向の中央揃え */
    align-items: center !important; /* 縦方向の中央揃え */
    gap: 40px !important; /* アイコン間の余白（赤い枠の幅に合わせて調整） */
    margin-top: 60px !important; /* メニュー項目（APPAREL）との間のマージン */
    margin-bottom: 0 !important; /* 不要な下マージンをリセット */
    width: 100% !important;
  }

  /* 個々のSPアイコン（aタグ）のスタイル */
  .sp-icon {
    display: flex !important; /* アイコン画像を円内で中央配置するため */
    align-items: center !important; /* 画像を垂直方向中央に配置 */
    justify-content: center !important; /* 画像を水平方向中央に配置 */
    width: 60px !important; /* アイコンの円のサイズ */
    height: 60px !important; /* アイコンの円のサイズ */
    border-radius: 50% !important;
    background-color: #cfe1c8 !important; /* mypage-iconのデフォルト背景色 */
  }

  .sp-icon.cart-icon {
    background-color: #ff5e4f !important; /* cart-iconの背景色 */
  }

  /* SPアイコン画像自体のスタイル */
  .sp-icon img {
    width: 30px !important; /* アイコン画像のサイズ */
    height: 30px !important; /* アイコン画像のサイズ */
    object-fit: contain !important; /* 画像がはみ出さないように */
    display: block !important; /* imgタグをブロック要素にする */
    margin: 0 auto !important; /* 中央揃え */
    /* ここに背景画像やcontentプロパティの指定は入れません */
  }
}

.header-icons .mypage-icon a,
.header-icons .cart-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.header-icons .mypage-icon a {
  background: #cfe1c8;
}

.header-icons .mypage-icon img,
.header-icons .cart-icon img {
  width: 20px;
  height: 20px;
}

.cart-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ff5e4f;
}

.cart-icon img {
  width: 20px;
  height: 20px;
}

.mypage-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #cfe1c8; /* cartと差別化しつつ馴染ませる色 */
  margin-right: 10px; /* カートとの間隔 */
}

.mypage-icon img {
  width: 20px;
  height: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  position: absolute;
  left: 20px;
  top: 20px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  display: block;
  border-radius: 3px;
}

.sp-menu {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(199, 217, 191, 0.95);
  backdrop-filter: blur(8px);
  /* padding-top は @media 内で調整 */
  text-align: center;
  z-index: 998;

  /* 追加：縦並びの中で中央配置するためのフレックス設定 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sp-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sp-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-menu li {
  padding: 15px 0;
}

.sp-menu li a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
}

.close-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #333;
  cursor: pointer;
  z-index: 999;

  /* ↓↓↓ 上書きで共通ボタンスタイルをキャンセル！！ ↓↓↓ */
  min-width: auto;
  min-height: auto;
  padding: 0;
}


/* Main Visual */
.main-visual {
  text-align: center;
  margin-top: 170px;
  padding: 0 20px;
}

.main-visual img {
  max-width: 1800px;
  width: 100%;
  border-radius: 200px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}


/* lower Page */
.lower-page {
  font-family: 'Noto Sans JP', sans-serif !important;
  text-align: left;
  max-width: 1618px;
  margin: 170px auto auto;
}


.ec-role {
  font-family: 'Noto Sans JP', sans-serif !important;
  text-align: left;
  max-width: 1618px;
  margin: 0 auto;
}

.ec-cartRole {
  margin-bottom: 60px;
}


/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #000;
  max-width: 1618px;
  margin: 0 auto;
  padding: 40px 20px 10px;
}

/* Product List */
.product-section {
  max-width: 1618px;
  margin: 0 auto;
  padding: 40px 20px;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2px;
  row-gap: 20px;
}

.product-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.product-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.product-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  margin-bottom: 20px;
}

.product-price {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  margin-bottom: 90px;
}

/* Feature Section */
.feature-section {
  display: flex;
  max-width: 1618px;
  margin: 100px auto;
  padding: 0 20px;
  gap: 40px;
}

.feature-image {
  flex: 2;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 200px;
}

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.feature-title {
  font-size: 50px;
  margin-bottom: 70px;
}

.feature-description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  margin-bottom: 70px;
}

/* 共通ボタン */
button,
.feature-button,
.newsletter button {
  min-width: 340px;
  min-height: 75px;
  padding: 0 40px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  border: none;
  background-color: #ff5e4f;
  color: #fff;
  border-radius: 40px;
  cursor: pointer;
  position: relative;
  text-align: center;
}

button span:not(.arrow),
.feature-button span:not(.arrow),
.newsletter button span:not(.arrow) {
  display: inline-block;
  width: 100%;
}

.arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

/* Description Section */
.description-section {
  max-width: 1618px;
  margin: 100px auto;
  padding: 0 20px;
}

.description-content {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.description-text {
  flex: 2;
}

.description-image {
  flex: 1;
}

.description-image img {
  width: 100%;
  border-radius: 200px;
  display: block;
}

.description-button {
  min-width: 340px;
  min-height: 75px;
  padding: 0 40px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  border: none;
  background-color: #C7D9BF;
  color: #fff;
  border-radius: 40px;
  cursor: pointer;
  position: relative;
  text-align: center;
  margin-top: 40px;
}

.description-button span:not(.arrow) {
  display: inline-block;
  width: 100%;
}

.description-button .arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

@media (max-width: 768px) {
  .description-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Newsletter */
.newsletter {
  text-align: center;
  background-color: #f7f7f7;
  padding: 40px 20px;
}

.newsletter h4 {
  font-size: 40px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 30px;
  font-family: 'Playfair Display', serif;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  padding: 10px;
  font-size: 14px;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 30px;
  text-align: center;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: #aaa;
  border-top: 1px solid #ddd;
  background-color: #fff;
  margin-top: 40px;
}

.footer-links {
  margin: 1em 0;
  font-size: 0.9em;
}

.footer-links a {
  color: #666;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Animation */
.fade-target {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1400px) {

  .feature-image,
  .feature-text,
  .description-text,
  .description-image {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .global-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .site-logo {
    position: static;
    transform: none;
    margin: 0 auto;
    text-align: center;
  }

  /* PC表示時のカートアイコン位置は@media外で制御されるべきですが、
     もしSPメニュー開閉に影響があるならここも調整が必要かもしれません。
     今回はSPメニュー開閉時に.sp-menu.active .cart-icon で制御します。 */
  .cart-icon {
    /* position: absolute; */ /* 無効化 */
    /* right: 20px; */ /* 無効化 */
    /* top: 20px; */ /* 無効化 */
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-section,
  .description-content {
    flex-direction: column;
  }

  .feature-image,
  .feature-text,
  .description-text,
  .description-image {
    width: 100%;
  }

  .main-visual {
    padding: 0 5px;
    margin-top: 80px;
  }

  .main-visual img {
    border-radius: 70px;
  }

  .lower-page {
    margin-top: 80px;
  }

  .site-header {
    height: 80px;
  }

  .site-logo img {
    width: 100px;
    height: auto;
  }

  .close-btn {
    position: fixed;
    top: 10px;
    left: 20px;
  }

  .headline-left {
    font-size: 20px;
  }

  .headline-right {
    font-size: 12px;
  }

  .product-price {
    margin-bottom: 20px;
  }

  .feature-section {
    margin: 10px auto;
  }

  .feature-title {
    font-size: 25px;
    margin-bottom: 20px;
  }

  .description-button {
    margin-left: auto;
    margin-right: auto;
  }
}

.footer-sns {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-sns a img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.footer-sns a:hover img {
  opacity: 0.6;
}


/*****商品詳細ページ******/

.ec-productRole__btn--2col {
  display: flex;
  gap: 1em;
}

.ec-productRole__btn--2col .ec-blockBtn--action,
.ec-productRole__btn--2col .ec-blockBtn--cancel {
  flex: 1;
}

@media screen and (max-width: 768px) {

  .ec-grid2__cell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ec-grid2 {
    box-sizing: border-box;
  }

  .ec-grid2__cell {
    box-sizing: border-box;
    width: 100%;
  }

}

.ec-productRole__btn.ec-productRole__btn--2col {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.ec-productRole__btn.ec-productRole__btn--2col .ec-blockBtn--action,
.ec-productRole__btn.ec-productRole__btn--2col .ec-blockBtn--cancel {
  flex: 0 0 calc(50% - 8px);
  max-width: calc(50% - 8px);
  box-sizing: border-box;
  width: 100%;
}


.ec-productRole__btn {
  margin-bottom: 30px !important;
}

.ec-productRole__btn button {
  min-width: auto !important;
  width: 100%;
}

.ec-productRole__description {
  margin-bottom: 30px !important;
}

.ec-productRole__priceRegular {
  font-size: 16px !important;
  margin-bottom: 10px;
}

.ec-productRole__price {
  font-size: 16px !important;
  margin-bottom: 10px;
}

.ec-price .ec-price__tax {
  font-size: 14px;
}

@media screen and (max-width: 428px) {
  .ec-productRole__btn.ec-productRole__btn--2col {
    flex-direction: column;
  }

  .ec-productRole__btn.ec-productRole__btn--2col .ec-blockBtn--action,
  .ec-productRole__btn.ec-productRole__btn--2col .ec-blockBtn--cancel {
    max-width: 100%;
    flex: 1 1 100%;
  }

}



/*****強制CSS******/
div.product-item a {
  color: #000000 !important;
  text-decoration: none;
}

.product-item {
  text-align: left !important;
}

/* トピックパス（パンくずリスト）左寄せ */
.section-header__breadcrumbs .ec-topicpath {
  margin-left: 0;
  padding-left: 0;
  text-align: left;
  justify-content: flex-start;
}