/*
 * OLBIA front page custom styles v3
 * TCD Ankle / WooCommerce 機能を壊さず、トップページの見た目だけを強めに調整します。
 */

:root {
  --olbia-cream: #fff6ec;
  --olbia-cream-2: #ffe8d5;
  --olbia-pink: #e84f6a;
  --olbia-pink-dark: #c92d50;
  --olbia-pink-soft: #ffd9df;
  --olbia-green: #1f6b57;
  --olbia-green-deep: #124838;
  --olbia-green-soft: #dcefe7;
  --olbia-gold: #c28b23;
  --olbia-gold-soft: #f4d28c;
  --olbia-black: #171312;
  --olbia-brown: #3a2924;
  --olbia-text: #332722;
  --olbia-white: #ffffff;
  --olbia-shadow: 0 22px 54px rgba(54, 36, 28, .18);
  --olbia-radius: 28px;
}

.olbia-front {
  color: var(--olbia-text);
  background: var(--olbia-cream);
  font-family: inherit;
  line-height: 1.9;
  overflow: hidden;
}

.olbia-front *,
.olbia-front *::before,
.olbia-front *::after {
  box-sizing: border-box;
}

.olbia-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.olbia-eyebrow {
  margin: 0 0 14px;
  color: var(--olbia-pink-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.olbia-hero h1,
.olbia-section h2,
.olbia-closing h2 {
  margin: 0;
  color: var(--olbia-black);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.35;
}

.olbia-hero {
  position: relative;
  padding: 92px 0 86px;
  background:
    radial-gradient(circle at 8% 6%, rgba(232, 79, 106, .28), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(31, 107, 87, .24), transparent 38%),
    linear-gradient(135deg, #fff7ed 0%, #ffe3d2 52%, #ffd3db 100%);
}

.olbia-hero__bg {
  position: absolute;
  inset: 0;
  opacity: .44;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.3) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,.24) 25%, transparent 25%);
  background-size: 80px 80px;
  pointer-events: none;
}

.olbia-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 500px);
  gap: 58px;
  align-items: center;
}

.olbia-hero__text {
  position: relative;
}

.olbia-hero__text::before {
  content: "";
  position: absolute;
  left: -28px;
  top: -26px;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  background: rgba(194, 139, 35, .22);
  z-index: -1;
}

.olbia-hero h1 {
  font-size: clamp(38px, 5.2vw, 68px);
}

.olbia-hero__lead {
  margin: 24px 0 0;
  max-width: 620px;
  color: #47332d;
  font-size: 17px;
  font-weight: 500;
}

.olbia-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}

.olbia-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 16px;
  border: 1px solid rgba(201, 45, 80, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--olbia-pink-dark);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(201, 45, 80, .08);
}

.olbia-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 32px;
}

.olbia-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 214px;
  min-height: 54px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.olbia-button:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.olbia-button--primary {
  background: linear-gradient(135deg, var(--olbia-pink) 0%, var(--olbia-pink-dark) 100%);
  color: #fff !important;
  box-shadow: 0 16px 32px rgba(201, 45, 80, .32);
}

.olbia-button--primary:hover {
  box-shadow: 0 20px 38px rgba(201, 45, 80, .38);
}

.olbia-button--ghost {
  border: 2px solid var(--olbia-green);
  background: rgba(255, 255, 255, .78);
  color: var(--olbia-green-deep) !important;
}

.olbia-button--ghost:hover {
  background: var(--olbia-green);
  color: #fff !important;
}

.olbia-note {
  margin: 14px 0 0;
  color: #6c5750;
  font-size: 13px;
}

.olbia-hero__visual {
  position: relative;
  min-height: 560px;
}

.olbia-hero__photo {
  position: absolute;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--olbia-shadow);
}

.olbia-hero__photo img,
.olbia-photo-frame img,
.olbia-gallery__grid img,
.olbia-closing__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.olbia-hero__photo--main {
  inset: 0 44px 76px 0;
  border-radius: 44px 44px 14px 44px;
  transform: rotate(-1.5deg);
}

.olbia-hero__photo--sub {
  right: 0;
  bottom: 0;
  width: 58%;
  aspect-ratio: 1 / 1;
  border: 8px solid #fff;
  border-radius: 32px 12px 32px 32px;
  transform: rotate(3.5deg);
}

.olbia-hero__stamp {
  position: absolute;
  left: -20px;
  bottom: 62px;
  width: 178px;
  min-height: 178px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--olbia-green-deep);
  color: #fff;
  box-shadow: 0 18px 34px rgba(18,72,56,.28);
  outline: 6px solid rgba(255,255,255,.78);
  transform: rotate(-9deg);
}

.olbia-hero__stamp strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  letter-spacing: .12em;
}

.olbia-hero__stamp small {
  display: block;
  margin-top: 4px;
  color: var(--olbia-gold-soft);
  font-size: 11px;
  letter-spacing: .08em;
}

.olbia-trust {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.olbia-trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 24px;
  background: var(--olbia-green-deep);
  box-shadow: 0 18px 38px rgba(18, 72, 56, .2);
}

.olbia-trust__grid div {
  padding: 24px 26px;
  border-right: 1px solid rgba(255,255,255,.16);
}

.olbia-trust__grid div:last-child {
  border-right: 0;
}

.olbia-trust__grid strong,
.olbia-trust__grid span {
  display: block;
}

.olbia-trust__grid strong {
  color: var(--olbia-gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: .08em;
}

.olbia-trust__grid span {
  margin-top: 4px;
  color: #fff;
  font-size: 13px;
}

.olbia-section {
  padding: 92px 0;
}

.olbia-section:nth-of-type(even) {
  background: rgba(255,255,255,.46);
}

.olbia-two-column {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 60px;
}

.olbia-two-column--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.olbia-two-column--center {
  align-items: center;
}

.olbia-copy h2,
.olbia-section-head h2 {
  font-size: clamp(28px, 3.6vw, 46px);
}

.olbia-text,
.olbia-lead,
.olbia-section-head p {
  color: #51403a;
  font-size: 16px;
}

.olbia-text p {
  margin: 0 0 16px;
}

.olbia-lead {
  margin: 22px 0 0;
}

.olbia-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--olbia-radius);
  background: #fff;
  box-shadow: var(--olbia-shadow);
}

.olbia-photo-frame--layered::before,
.olbia-photo-frame--bold::before,
.olbia-photo-frame--gift::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: calc(var(--olbia-radius) - 8px);
  z-index: 2;
  pointer-events: none;
}

.olbia-photo-frame--layered {
  transform: rotate(-2deg);
}

.olbia-photo-frame--bold {
  border: 10px solid var(--olbia-green-deep);
}

.olbia-photo-frame--gift {
  border: 10px solid var(--olbia-pink-dark);
}

.olbia-purchase-reason {
  background:
    linear-gradient(180deg, rgba(255,255,255,.64), rgba(255,246,236,.96)),
    radial-gradient(circle at 15% 20%, rgba(232,79,106,.18), transparent 28%);
}

.olbia-section-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.olbia-reason-cards article {
  position: relative;
  padding: 30px 22px 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(54, 36, 28, .1);
}

.olbia-reason-cards span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--olbia-pink-dark);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.olbia-reason-cards h3 {
  margin: 0 0 12px;
  color: var(--olbia-black);
  font-size: 18px;
  font-weight: 700;
}

.olbia-reason-cards p {
  margin: 0;
  color: #574740;
  font-size: 14px;
}

.olbia-check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.olbia-check-list li {
  position: relative;
  padding: 14px 18px 14px 48px;
  border-radius: 16px;
  background: #fff;
  color: var(--olbia-brown);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(54, 36, 28, .08);
}

.olbia-check-list li::before {
  content: "✿";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--olbia-pink-dark);
}

.olbia-lineup {
  background:
    linear-gradient(135deg, rgba(31,107,87,.12), rgba(232,79,106,.12)),
    #fff;
}

.olbia-lineup__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.olbia-lineup__grid a {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 20px;
  background: var(--olbia-green-deep);
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 14px 28px rgba(18,72,56,.16);
}

.olbia-lineup__grid a:nth-child(2n) {
  background: var(--olbia-pink-dark);
  box-shadow: 0 14px 28px rgba(201,45,80,.16);
}

.olbia-lineup__grid a:hover {
  transform: translateY(-2px);
}

.olbia-gallery__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr 1.1fr;
  gap: 14px;
}

.olbia-gallery__grid figure {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  margin: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(54,36,28,.12);
}

.olbia-gallery__grid figure:nth-child(1),
.olbia-gallery__grid figure:nth-child(4) {
  min-height: 440px;
}

.olbia-product-intro {
  background:
    radial-gradient(circle at 95% 4%, rgba(31,107,87,.16), transparent 30%),
    linear-gradient(180deg, #fff6ec 0%, #fff 100%);
}

.olbia-product-setting-wrap {
  background: #fff;
}

.olbia-product-setting-wrap #index_product_list {
  padding-top: 78px;
  padding-bottom: 86px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,246,236,.72)) !important;
}

.olbia-product-setting-wrap #index_product_list .inner {
  width: min(1120px, calc(100% - 40px));
}

.olbia-product-setting-wrap #index_product_list .common_header {
  margin-bottom: 42px;
}

.olbia-product-setting-wrap #index_product_list .common_header .heading_top,
.olbia-product-setting-wrap #index_product_list .common_header .heading_bottom {
  color: var(--olbia-black);
  font-weight: 700;
}

.olbia-product-setting-wrap #index_product_list .common_header .description {
  color: #51403a;
}

.olbia-product-setting-wrap #index_product_list ul.products li.product,
.olbia-product-setting-wrap #index_product_list .products .product {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(54,36,28,.1);
  transition: transform .25s ease, box-shadow .25s ease;
}

.olbia-product-setting-wrap #index_product_list ul.products li.product:hover,
.olbia-product-setting-wrap #index_product_list .products .product:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(54,36,28,.16);
}

.olbia-product-setting-wrap #index_product_list .button_wrap {
  margin-top: 34px;
}

.olbia-product-setting-off {
  padding: 34px 0 78px;
  text-align: center;
  background: #fff;
}

.olbia-product-setting-off p {
  margin-bottom: 20px;
  color: #62504a;
}

.olbia-blog-carousel-wrap {
  background: #fff;
}

.olbia-faq {
  background:
    linear-gradient(135deg, rgba(18,72,56,.08), rgba(201,45,80,.08)),
    #fff6ec;
}

.olbia-faq__list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.olbia-faq details {
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(54,36,28,.09);
}

.olbia-faq summary {
  position: relative;
  cursor: pointer;
  padding: 22px 58px 22px 24px;
  color: var(--olbia-black);
  font-weight: 700;
  list-style: none;
}

.olbia-faq summary::-webkit-details-marker {
  display: none;
}

.olbia-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--olbia-green-deep);
  color: #fff;
  display: grid;
  place-items: center;
  line-height: 1;
}

.olbia-faq details[open] summary::after {
  content: "−";
  background: var(--olbia-pink-dark);
}

.olbia-faq details p {
  margin: 0;
  padding: 0 24px 24px;
  color: #574740;
}

.olbia-closing {
  padding: 86px 0 96px;
  background:
    radial-gradient(circle at 18% 18%, rgba(232,79,106,.22), transparent 28%),
    linear-gradient(135deg, var(--olbia-green-deep), #1f6b57 58%, #c92d50);
  color: #fff;
}

.olbia-closing__inner {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.olbia-closing__logo {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 8px solid rgba(255,255,255,.88);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(0,0,0,.16);
}

.olbia-closing h2,
.olbia-closing p {
  color: #fff;
}

.olbia-closing .olbia-eyebrow {
  color: var(--olbia-gold-soft);
}

.olbia-closing__copy p {
  max-width: 680px;
}

.olbia-closing .olbia-button--primary {
  background: #fff;
  color: var(--olbia-pink-dark) !important;
  box-shadow: 0 16px 32px rgba(0,0,0,.18);
}

.olbia-closing .olbia-button--ghost {
  border-color: #fff;
  background: transparent;
  color: #fff !important;
}

.olbia-closing .olbia-button--ghost:hover {
  background: #fff;
  color: var(--olbia-green-deep) !important;
}

/* 既存TCDのフリースペースは内容を壊さず、OLBIAページの余白に馴染ませる */
.olbia-theme-top-settings .index_free_space {
  position: relative;
}

@media (max-width: 1100px) {
  .olbia-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .olbia-hero__visual {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .olbia-reason-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .olbia-lineup__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .olbia-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  .olbia-inner,
  .olbia-hero__inner {
    width: min(100% - 28px, 560px);
  }

  .olbia-hero {
    padding: 62px 0 60px;
  }

  .olbia-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .olbia-hero__lead {
    font-size: 15px;
  }

  .olbia-button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .olbia-button {
    width: 100%;
    min-width: 0;
  }

  .olbia-proof {
    gap: 8px;
  }

  .olbia-proof span {
    font-size: 12px;
  }

  .olbia-hero__visual {
    min-height: 450px;
  }

  .olbia-hero__photo--main {
    inset: 0 24px 82px 0;
    border-radius: 32px 32px 12px 32px;
  }

  .olbia-hero__photo--sub {
    width: 58%;
    border-width: 6px;
    border-radius: 24px 10px 24px 24px;
  }

  .olbia-hero__stamp {
    left: 0;
    bottom: 56px;
    width: 138px;
    min-height: 138px;
  }

  .olbia-hero__stamp strong {
    font-size: 22px;
  }

  .olbia-trust {
    margin-top: 0;
  }

  .olbia-trust__grid {
    grid-template-columns: 1fr;
    border-radius: 0;
    width: 100%;
  }

  .olbia-trust__grid div {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }

  .olbia-section {
    padding: 66px 0;
  }

  .olbia-two-column,
  .olbia-two-column--reverse,
  .olbia-closing__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .olbia-photo-frame {
    min-height: 360px;
  }

  .olbia-reason-cards {
    grid-template-columns: 1fr;
  }

  .olbia-lineup__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .olbia-lineup__grid a {
    min-height: 74px;
  }

  .olbia-gallery__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .olbia-gallery__grid figure,
  .olbia-gallery__grid figure:nth-child(1),
  .olbia-gallery__grid figure:nth-child(4) {
    min-height: 250px;
    border-radius: 18px;
  }

  .olbia-closing__logo {
    width: 220px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .olbia-hero__visual {
    min-height: 390px;
  }

  .olbia-hero__stamp {
    width: 116px;
    min-height: 116px;
  }

  .olbia-hero__stamp strong {
    font-size: 18px;
  }

  .olbia-section-head {
    text-align: left;
  }

  .olbia-gallery__grid {
    grid-template-columns: 1fr;
  }

  .olbia-gallery__grid figure,
  .olbia-gallery__grid figure:nth-child(1),
  .olbia-gallery__grid figure:nth-child(4) {
    min-height: 330px;
  }
}


/* v3: 実商品がある場合にWooCommerce商品一覧をしっかり見せる */
.olbia-product-setting-wrap #index_product_list.olbia-product-fallback {
  padding-top: 82px;
  padding-bottom: 92px;
  background:
    radial-gradient(circle at 8% 10%, rgba(201,45,80,.14), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(18,72,56,.12), transparent 32%),
    #fffaf4 !important;
}

.olbia-product-setting-wrap #index_product_list .common_header .heading_top {
  color: var(--olbia-pink-dark);
  letter-spacing: .16em;
}

.olbia-product-setting-wrap #index_product_list .common_header .heading_bottom {
  color: var(--olbia-black);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: .06em;
}

.olbia-product-setting-wrap #index_product_list .products {
  gap: 22px !important;
}

.olbia-product-setting-wrap #index_product_list ul.products li.product,
.olbia-product-setting-wrap #index_product_list .products .product {
  border: 1px solid rgba(194,139,35,.22);
  background: #fff;
}

.olbia-product-setting-wrap #index_product_list ul.products li.product .woocommerce-loop-product__title,
.olbia-product-setting-wrap #index_product_list .products .product .woocommerce-loop-product__title {
  color: var(--olbia-black);
  font-weight: 700;
  line-height: 1.55;
}

.olbia-product-setting-wrap #index_product_list ul.products li.product .price,
.olbia-product-setting-wrap #index_product_list .products .product .price {
  color: var(--olbia-pink-dark);
  font-weight: 700;
}

.olbia-product-setting-wrap #index_product_list ul.products li.product .button,
.olbia-product-setting-wrap #index_product_list .products .product .button,
.olbia-product-setting-wrap #index_product_list .button_wrap a {
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--olbia-pink), var(--olbia-pink-dark)) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(201,45,80,.24);
}

.olbia-admin-note {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(18,72,56,.08);
  color: var(--olbia-green-deep);
  font-size: 13px;
}

@media (max-width: 780px) {
  .olbia-product-setting-wrap #index_product_list {
    padding-top: 58px;
    padding-bottom: 66px;
  }

  .olbia-product-setting-wrap #index_product_list .products {
    gap: 14px !important;
  }
}
