/*
Theme Name: BlueSilverTheme
Author: yamaoka
Version: 1.0
*/

/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, p, ul, table {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    color: #2b2b2b;
    background: #fff;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

:root {
    --color-white: #ffffff;
    --color-dark: #1c2530;
    --color-beige: #f4efe9;
    --color-beige-dark: #e8e0d5;
    --color-dark-gary: #333333;
    --color-light-dark: #666666;
    --color-gray: #f8f8f8;
    --color-text-sub: #6b6b6b;
    --max-width: 1200px;
}

.container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===========================
   Buttons
=========================== */
.btn {
    display: inline-block;
    font-size: clamp(12px, 1.167vw, 14px);
    padding: clamp(5px, 0.833vw, 10px) clamp(14px, 2.333vw, 28px);
    border-radius: 999px;
    transition: opacity 0.2s ease;
}

.btn:hover {
    opacity: 0.8;
}

.btn--dark {
    background: var(--color-dark);
    color: #fff;
}

.btn--outline {
    border: 1px solid #ccc;
    color: #2b2b2b;
}

/* ===========================
   Header
=========================== */
.site-header {
    margin: 5px 0;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.site-header__title {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

/* .site-logo {
    display: flex;
    align-items: baseline;
    gap: 12px;
} */

.site-logo__name {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: bold;
}

.site-logo__tagline {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
    font-size: 12px;
    color: var(--color-text-sub);
}

.site-nav__list {
    display: flex;
    margin: 0 auto;
    gap: 32px;
    font-size: 16px;
}

.site-header__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cart-icon {
    display: inline-flex;
}

.cart-icon svg {
    width: clamp(24px, 2.5vw, 40px);
    height: clamp(24px, 2.5vw, 40px);
}

/* ===========================
   Hero
=========================== */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 2300 / 1268;
    margin-bottom: 50px;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url(assets/images/hero-cat.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    opacity: 0.8;
    z-index: -1;
    pointer-events: none;
}

.hero__media {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__content {
    position: absolute;
    top: 15%;
    left: 0;
    width: 55%;
}

.hero__title {
    color: var(--color-dark-gary);
    /* font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; */
    font-size: clamp(20px, 3.2vw, 44px);
    line-height: 1.4;
    font-weight: bold;
    margin-bottom: clamp(16px, 2.5vw, 40px);
}

.hero__subtitle {
    color: var(--color-light-dark);
    /* font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif; */
    font-weight: bold;
    font-size: clamp(14px, 1.5vw, 22px);
    margin-bottom: clamp(16px, 2.5vw, 40px);
}

.hero__description {
    font-size: clamp(12px, 1.2vw, 16px);
    line-height: 1.8;
    color: var(--color-text-sub);
    margin-bottom: clamp(20px, 3vw, 50px);
}

.hero__catch {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.hero__handwriting {
    font-family: "Dancing Script", cursive;
    color: #f5f5f5;
    font-size: clamp(6px, 3vw, 40px);
    line-height: 1.2;
    transform: rotate(-15deg);
    white-space: nowrap;
}

.hero__badge {
    position: absolute;
    width: clamp(70px, 13.2vw, 180px);
    aspect-ratio: 1 / 1;
    top: 65%;
    right: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(8px, 1.2vw, 16px);
}

.hero__badge-label {
    font-size: clamp(6px, 1vw, 14px);
    color: var(--color-text-sub);
}

.hero__badge-title {
    font-size: clamp(8px, 1.5vw, 20px);
    font-weight: bold;
}

.hero__badge-sub {
    font-size: clamp(6px, 1vw, 14px);
    color: var(--color-text-sub);
}

/* ===========================
   Product Lineup
=========================== */
.product-lineup {
    margin-bottom: 50px;
    text-align: center;
}

.product-lineup__header {
    margin-bottom: clamp(20px, 2.2vw, 30px);
}

.product-lineup__title {
    font-size: clamp(24px, 2.6vw, 36px);
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: clamp(8px, 1.2vw, 16px);
}

.product-lineup__description {
    color: var(--color-text-sub);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.8;
    margin-bottom: clamp(8px, 1.2vw, 16px);
}

.product-lineup__grid {
    margin: 0 auto;
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card__image {
    width: 100%;
    object-fit: cover;
}

.product-card__body {
    padding: clamp(12px, 1.8vw, 24px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__name {
    font-size: clamp(20px, 2vw, 28px);
    font-weight: bold;
    margin-bottom: clamp(2px, 0.3vw, 4px);
}

.product-card__catch {
    color: #a08a5c;
    font-size: clamp(16px, 1.2vw, 16px);
    font-weight: bold;
    margin-bottom: clamp(8px, 0.9vw, 12px);
}

.product-card__description {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--color-text-sub);
    margin-bottom: clamp(12px, 1.2vw, 16px);
}

.product-card__award {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(4px, 0.6vw, 8px);
    font-size: clamp(10px, 0.9vw, 12px);
    margin-bottom: clamp(12px, 1.2vw, 16px);
}

.product-card__link {
    margin-top: auto;
    align-self: center;
}

/* ===========================
   Why Us
=========================== */
.why-us {
    min-height: 30vw;
    background-image: url(assets/images/why-us-bg-cat.jpg);
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: 95% 100%;
    display: flex;
    position: relative;
    margin-bottom: 50px;
}

.why-us > .container {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
}

.why-us__handwriting {
    position: absolute;
    right: 12%;
    top: auto;
    bottom: 20vw;
    font-family: "Dancing Script", cursive;
    color: #f5f5f5;
    font-size: clamp(18px, 3vw, 30px);
    line-height: 1.2;
    white-space: nowrap;
    transform: rotate(-10deg);
}

.why-us__inner {
    width: 70%;
    height: auto;
    color: #2b2b2b;
}

.why-us__title {
    text-align: center;
    font-size: clamp(24px, 2.6vw, 36px);
    margin-bottom: clamp(20px, 3vw, 40px);
}

.why-us__title-number {
    color: #a08a5c;
    font-size: clamp(30px, 3.3vw, 46px);
}

.why-us__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.why-us__icon svg {
    width: clamp(34px, 3vw, 42px);
    height: clamp(34px, 3vw, 42px);
}

.why-us__item + .why-us__item {
    border-left: 0.5px solid var(--color-beige-dark);
}

.why-us__item-title {
    font-weight: bold;
    font-size: clamp(14px, 1.2vw, 16px);
    margin-bottom: clamp(2px, 0.3vw, 4px);
}

.why-us__item-description {
    font-size: clamp(14px, 1vw, 14px);
    color: var(--color-text-sub);
}

/* ===========================
   Comparison Table
=========================== */
.comparison {
    position: relative;
    min-height: 30vw;
    background: var(--color-gray);
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.comparison::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    aspect-ratio: 800 / 550;
    background-image: url(assets/images/comparison-table-bg.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50%);
    mask-image: linear-gradient(to right, transparent 0%, #000 50%);
    pointer-events: none;
}

.comparison > .container {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
}

.comparison__inner {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    align-items: center;
}

.comparison__title {
    font-size: clamp(22px, 2.6vw, 36px);
    margin-bottom: 30px;
}

.comparison__description {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--color-text-sub);
}

.comparison__table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.comparison__table th,
.comparison__table td {
    padding: clamp(8px, 1vw, 14px) clamp(10px, 1.5vw, 20px);
    font-size: clamp(11px, 1.2vw, 16px);
    text-align: left;
    border-bottom: 1px solid var(--color-beige-dark);
}

.comparison__table tr:last-child th,
.comparison__table tr:last-child td {
    border-bottom: none;
}

.comparison__table-header {
    background: #d9d9d9;
    font-weight: bold;
}

.comparison__table-header--highlight {
    background: var(--color-dark);
    color: #fff;
}

.comparison__table-highlight {
    background: var(--color-beige);
    font-weight: bold;
}

.comparison__check {
    color: #a08a5c;
    margin-right: 6px;
}

.comparison__handwriting {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: #fff;
    font-size: clamp(12px, 1.1vw, 16px);
}

/* ===========================
   Brand Story banner
=========================== */
.brand-story {
    margin-bottom: 50px;
    color: #2b2b2b;
    overflow: hidden;
}

.brand-story__inner {
    display: flex;
    gap: 0.5vw;
}

.brand-story__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    margin-right: 1vw;
    flex-shrink: 0;
}

.brand-story__title {
    font-size: clamp(24px, 2.6vw, 36px);
}

.brand-story__description {
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.4;
    color: var(--color-text-sub);
}

.brand-story__cta {
    font-size: clamp(12px, 1vw, 13px);
    padding: clamp(12px, 1.2vw, 16px) clamp(24px, 2.5vw, 36px);
    align-self: flex-start;
}

.brand-story__bg-image {
    border-radius: 10px;
}

/* ===========================
   Footer
=========================== */
.site-footer {
    background: var(--color-gray);
    color: #3f3f3f;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
}

.site-footer__copyright {
    font-size: clamp(12px, 1.2vw, 16px);
    opacity: 0.6;
}

/* ===========================
   woocommerce
=========================== */
.pswp .pswp__bg {
    background: rgba(0,0,0,0.65);
}

/* ===========================
   Responsive (簡易)
=========================== */
@media (max-width: 768px) {
  /* ===========================
     Reset & Base
  =========================== */
  .container {
    padding: 0 25px;
  }

  /* ===========================
     header
  =========================== */
    .site-logo__tagline {
      display: none;
    }

    .site-nav__list {
        display: none;
    }

  /* ===========================
     Hero
  =========================== */
  .hero {
      aspect-ratio: auto;
      height: auto;
  }

  .hero__media {
    position: relative;
    height: auto;
  }

  .hero__content {
    position: static;
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    padding: 40px 0;
    }

  .hero__catch {
    display: none;
  }

  /* .hero__badge {
    display: none;
  } */

  /* ===========================
     Product Lineup
  =========================== */
  .product-lineup__grid {
    flex-direction: column;
  }

  /* ===========================
     Why Us
  =========================== */
  .why-us {
    display: block;
    background-image: none;
    min-height: 0;
  }

  .why-us > .container {
    display: block;
  }

  .why-us__inner {
    width: 100%;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    margin-bottom: 20px;
  }

  .why-us__background {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.7;

    background-image: url(assets/images/why-us-bg-cat.jpg);
    background-repeat: no-repeat;
    background-size: 70% auto;
    background-position: center top;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    padding-top: 20px;
  }

  .why-us__handwriting {
    position: static;
    transform: rotate(-10deg);
    text-align: center;
  }

  .why-us::after {
    content: none;
  }

  .why-us__item + .why-us__item {
    border-left: none;
  }

  /* ===========================
     Comparison Table
  =========================== */
  /* セクション全体 */
  .comparison {
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 0;
    padding: 20px 0;
  }

  /* コンテンツ */
  .comparison > .container {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  /* コンテンツを縦並び */
  .comparison__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  /* 上段：タイトルと説明文 */
  .comparison__content {
    width: 100%;
    text-align: center;
  }

  .comparison__title {
    margin-bottom: 15px;
  }

  /* 中段：比較テーブル */
  .comparison__table-wrapper {
    width: 100%;
  }

  .comparison__table {
    width: 100%;
  }

  /* 背景画像 */
  .comparison::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    aspect-ratio: auto;

    background-image: url(assets/images/comparison-table-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

    -webkit-mask-image: none;
    mask-image: none;

    opacity: 0.5;

    pointer-events: none;
  }

  /* ===========================
     Comparison Table
  =========================== */
  .brand-story__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .brand-story__text {
    grid-column: 1 / -1;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .brand-story__cta {
    align-self: center;
  }

  .brand-story__image1,
  .brand-story__image2,
  .brand-story__image3,
  .brand-story__image4 {
    min-width: 0;
  }

  .brand-story__bg-image {
    width: 100%;
    height: auto;
    display: block;
  }


}
