/* =========================================
   MoonSail Top Page CSS
   カラーミーキット（2カラム）トップページ用
========================================= */

html {
  scroll-behavior: smooth;
}

.ms-site {
  color: #2a2520;
  background: #f8f5ef;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.ms-site * {
  box-sizing: border-box;
}

.ms-site a {
  text-decoration: none;
  color: inherit;
}

.ms-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   Hero
========================================= */

.ms-hero {
  margin: 0 auto 70px;
  padding: 104px 24px 96px;
  background:
    radial-gradient(circle at 82% 18%, rgba(181,138,82,0.22), transparent 28%),
    linear-gradient(120deg, rgba(31,37,41,0.9), rgba(91,63,46,0.62)),
    linear-gradient(135deg, #5b3f2e, #1f2529);
  color: #fff;
  border-radius: 0 0 36px 36px;
  text-align: left;
}

.ms-hero-box {
  max-width: 1120px;
  margin: 0 auto;
}

.ms-eyebrow {
  color: #e2c7a3;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ms-hero h1 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: 48px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.ms-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
}

/* =========================================
   Button
========================================= */

.ms-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ms-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.4;
  transition: 0.2s ease;
  text-indent: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ms-btn:hover {
  transform: translateY(-2px);
}

.ms-site .ms-hero .ms-btn-hero,
.ms-site .ms-hero .ms-btn-hero:link,
.ms-site .ms-hero .ms-btn-hero:visited {
  background: rgba(255,255,255,0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.58) !important;
  backdrop-filter: blur(4px);
}

.ms-site .ms-hero .ms-btn-hero:hover {
  background: rgba(255,255,255,0.18) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.9) !important;
}

.ms-btn-dark,
.ms-btn-dark:link,
.ms-btn-dark:visited {
  background: #1f2529 !important;
  color: #ffffff !important;
  border: 1px solid #1f2529 !important;
}

.ms-btn-dark:hover {
  background: #5b3f2e !important;
  color: #ffffff !important;
  border-color: #5b3f2e !important;
}

/* =========================================
   Section Common
========================================= */

.ms-section {
  padding: 76px 0;
}

.ms-section-white {
  background: #fff;
}

.ms-section-head {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 38px;
  align-items: start;
  margin-bottom: 38px;
}

.ms-label {
  color: #b58a52;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ms-title {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.55;
  font-weight: 500;
  color: #1f2529;
}

.ms-lead {
  margin: 18px 0 0;
  color: #6e665d;
  font-size: 15px;
}

/* =========================================
   Cards
========================================= */

.ms-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ms-card {
  background: #fff;
  border: 1px solid #e5ddd2;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(38,28,18,0.04);
}

.ms-section-white .ms-card {
  background: #f8f5ef;
}

.ms-card h3 {
  margin: 0 0 12px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 22px;
  font-weight: 500;
  color: #1f2529;
}

.ms-card p {
  margin: 0;
  color: #6e665d;
  font-size: 14px;
}

/* =========================================
   Brand
========================================= */

.ms-brand {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.ms-brand-visual {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 28% 24%, rgba(181,138,82,0.2), transparent 26%),
    linear-gradient(140deg, rgba(91,63,46,0.16), rgba(31,37,41,0.08)),
    #eee6dc;
  border: 1px solid #e5ddd2;
  display: grid;
  place-items: center;
  color: #8a745d;
  text-align: center;
  padding: 34px;
}

.ms-brand-visual::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(181,138,82,0.24);
  border-radius: 22px;
  pointer-events: none;
}

.ms-brand-visual strong {
  display: block;
  font-family: "Yu Mincho", serif;
  font-size: 34px;
  color: #5b3f2e;
  margin: 4px 0 8px;
  letter-spacing: 0.08em;
}

.ms-brand-small {
  display: block;
  color: #b58a52;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ms-feature-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.ms-feature {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #e5ddd2;
}

.ms-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b58a52;
  margin-top: 12px;
  flex: 0 0 auto;
}

.ms-feature strong {
  display: block;
  color: #1f2529;
  font-size: 15px;
}

.ms-feature span {
  display: block;
  color: #6e665d;
  font-size: 14px;
}

/* =========================================
   Store Channels
========================================= */

.ms-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.ms-channel {
  min-height: 166px;
  display: grid;
  align-content: space-between;
  background: #fff;
  border: 1px solid #e5ddd2;
  border-radius: 22px;
  padding: 22px;
  transition: 0.2s ease;
}

.ms-channel:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(38,28,18,0.08);
}

.ms-channel small {
  color: #b58a52;
  letter-spacing: 0.12em;
}

.ms-channel strong {
  display: block;
  font-family: "Yu Mincho", serif;
  font-size: 21px;
  margin-top: 8px;
  color: #1f2529;
}

.ms-channel span {
  color: #6e665d;
  font-size: 13px;
}

/* =========================================
   Company Table
========================================= */

.ms-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e5ddd2;
}

.ms-table th,
.ms-table td {
  padding: 18px 22px;
  border-bottom: 1px solid #e5ddd2;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}

.ms-table th {
  width: 220px;
  background: #fbf8f3;
  color: #1f2529;
  font-weight: 600;
}

.ms-table td {
  color: #6e665d;
}

.ms-table a {
  color: #5b3f2e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ms-table tr:last-child th,
.ms-table tr:last-child td {
  border-bottom: none !important;
}

/* =========================================
   News
========================================= */

.ms-news {
  background: #fff;
  border: 1px solid #e5ddd2;
  border-radius: 24px;
  overflow: hidden;
}

.ms-news-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid #e5ddd2;
  font-size: 14px;
}

.ms-news-item:last-child {
  border-bottom: none;
}

.ms-news-item:first-child {
  background: #fbf8f3;
}

.ms-news-item time {
  color: #b58a52;
}

.ms-news-item:first-child time,
.ms-news-item:first-child strong {
  font-weight: 600;
}

.ms-news-item strong {
  color: #1f2529;
  font-weight: 500;
}

/* =========================================
   Contact
========================================= */

.ms-contact {
  background:
    radial-gradient(circle at 90% 20%, rgba(181,138,82,0.16), transparent 30%),
    #1f2529;
  color: #fff;
  border-radius: 30px;
  padding: 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.ms-contact h2 {
  margin: 0;
  font-family: "Yu Mincho", serif;
  font-size: 34px;
  font-weight: 500;
}

.ms-contact p {
  color: rgba(255,255,255,0.72);
  margin: 16px 0 0;
}

.ms-contact-links {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 22px;
  padding: 22px;
}

.ms-contact-links a {
  display: block;
  padding: 12px 0;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.ms-contact-links a:last-child {
  border-bottom: none;
}

/* =========================================
   MoonSail Footer
========================================= */

.ms-footer {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 36px 0 46px;
  border-top: 1px solid #e5ddd2;
  background: #f8f5ef;
}

.ms-footer * {
  visibility: visible !important;
  opacity: 1 !important;
}

.ms-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 20px;
}

.ms-footer-brand strong {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.4;
  color: #1f2529;
  letter-spacing: 0.06em;
}

.ms-footer-brand p {
  margin: 8px 0 0;
  color: #6e665d;
  font-size: 14px;
}

.ms-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.ms-footer-links a {
  color: #5b3f2e !important;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.ms-footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ms-footer-copy {
  padding-top: 18px;
  border-top: 1px solid #e5ddd2;
  color: #8c8378;
  font-size: 13px;
  text-align: center;
}

/* =========================================
   カラーミー標準パーツ非表示
   重複footer / cart / powered by を隠す
========================================= */

#footer-wrapper,
#footer,
#footer_area,
#footerArea,
#footer-inner,
#footer_inner,
#footer-nav,
#footer_nav,
#footer-bottom,
#footer_bottom,
#footer_menu,
.footer,
.footer-area,
.footerArea,
.footer-inner,
.footer_inner,
.footer-nav,
.footer_nav,
.footer-menu,
.footer_menu,
.footer-bottom,
.footer_bottom,
.footer-link,
.footer-links,
.footer-list,
.footer-content,
.footer_contents,
.shop-footer,
.shopFooter,
.shop-footer-nav,
.shop_footer,
.shop_footer_nav,
.copyright,
#copyright,
.shop-copyright,
.shopCopyright,
address.copyright,
address,
#powered,
.powered,
.powered-by,
.powered-by-colorme,
.colorme-footer,
.colormeShopFooter,
#colorme,
.view-cart,
.btn-viewcart,
a[href*="cart/proxy/basket"],
a[href*="mode=myaccount"],
a[href*="mode=login"],
a[href*="mode=srh"],
a[href*="rss"],
a[href*="atom"],
a[href*="colorme"],
img[alt*="カラーミーショップ"],
img[alt*="Color Me Shop"],
img[src*="powered"],
img[src*="colorme"] {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* =========================================
   Responsive
========================================= */

@media screen and (max-width: 768px) {
  .ms-inner {
    padding: 0 20px;
  }

  .ms-hero {
    margin-bottom: 42px;
    padding: 64px 22px 58px;
    border-radius: 0 0 24px 24px;
  }

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

  .ms-hero p {
    font-size: 14px;
  }

  .ms-buttons {
    gap: 10px;
  }

  .ms-btn {
    width: 100%;
    min-height: 44px;
  }

  .ms-section {
    padding: 54px 0;
  }

  .ms-section-head,
  .ms-brand,
  .ms-contact {
    grid-template-columns: 1fr;
  }

  .ms-grid-3,
  .ms-channels {
    grid-template-columns: 1fr;
  }

  .ms-title {
    font-size: 27px;
  }

  .ms-brand-visual {
    min-height: 240px;
  }

  .ms-table th,
  .ms-table td {
    display: block;
    width: 100%;
  }

  .ms-table th {
    padding-bottom: 6px;
  }

  .ms-table td {
    padding-top: 6px;
  }

  .ms-news-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ms-news-item:first-child {
    background: #ffffff;
  }

  .ms-contact {
    padding: 32px 24px;
  }

  .ms-footer {
    padding: 30px 0 38px;
  }

  .ms-footer-top {
    flex-direction: column;
    gap: 18px;
  }

  .ms-footer-links {
    justify-content: flex-start;
    gap: 14px 18px;
  }

  .ms-footer-links a {
    white-space: normal;
  }

  .ms-footer-brand strong {
    font-size: 20px;
  }

  .ms-footer-copy {
    text-align: left;
    line-height: 1.7;
  }
}