/* ==========================================================
   WINECOMPLEX / Components
   - buttons
   - clickable banner
   - sidebar
   - accordion
   - tile
   - category grid
   - cta / info
   - english blocks
========================================================== */

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

.wc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(31, 31, 31, 0.18);
  border-radius: 6px;
  background: transparent;
  font-family: "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.wc-btn:hover {
  transform: translateY(-1px);
}

.wc-btn--primary {
  background: #8a7458;
  border-color: #8a7458;
  color: #fff;
  box-shadow: 0 6px 18px rgba(138, 116, 88, 0.30);
}

.wc-btn--primary:hover {
  background: #7a6449;
  border-color: #7a6449;
  color: #fff;
  box-shadow: 0 8px 22px rgba(138, 116, 88, 0.38);
}

.wc-btn--secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(31, 31, 31, 0.28);
  color: #1f1f1f;
}

.wc-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(31, 31, 31, 0.48);
  color: #1f1f1f;
}

.wc-btn--visitor {
  background: #2d7a6c;
  border-color: #2d7a6c;
  color: #fff;
  box-shadow: 0 6px 18px rgba(45, 122, 108, 0.28);
}

.wc-btn--visitor:hover {
  background: #246358;
  border-color: #246358;
  color: #fff;
  box-shadow: 0 8px 22px rgba(45, 122, 108, 0.36);
}

.wc-btn--full {
  width: 100%;
}

/* ==========================================================
   Clickable banner
========================================================== */

.wc-clickable-banner {
  display: block;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(31, 31, 31, 0.04);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.wc-clickable-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(31, 31, 31, 0.07);
  border-color: rgba(31, 31, 31, 0.14);
}

.wc-clickable-banner--soft {
  background: rgba(251, 248, 243, 0.82);
}

.wc-clickable-banner__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(31, 31, 31, 0.05);
}

.wc-clickable-banner__image,
.wc-clickable-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wc-clickable-banner__body {
  display: block;
  padding: 14px 14px 16px;
}

.wc-clickable-banner__meta {
  display: block;
  margin: 0 0 8px;
  font-family: "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.72);
}

.wc-clickable-banner__title {
  display: block;
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  color: #2f2823;
}

/* ==========================================================
   Sidebar
========================================================== */

.wc-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wc-sidebar__section {
  padding: 22px 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(31, 31, 31, 0.035);
}

.wc-sidebar__section--events {
  padding-bottom: 18px;
}

.wc-sidebar__title {
  margin: 0 0 14px;
  font-family: "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.54);
}

.wc-sidebar__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(31, 31, 31, 0.74);
}

.wc-sidebar__cards {
  display: grid;
  gap: 12px;
}

.wc-sidebar__card-item {
  min-width: 0;
}

.wc-sidebar__nav {
  display: block;
}

.wc-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wc-sidebar__list li + li {
  margin-top: 10px;
}

.wc-sidebar__list a {
  display: block;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(31, 31, 31, 0.78);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.wc-sidebar__list a:hover {
  color: #8a7458;
}

.wc-sidebar__list--events li + li {
  margin-top: 12px;
}

.wc-sidebar__event-meta {
  display: block;
  margin-bottom: 4px;
  font-family: "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.44);
}

.wc-sidebar__event-title {
  display: block;
  font-size: 15px;
  line-height: 1.8;
  color: #2f2823;
}

/* ==========================================================
   Accordion
========================================================== */

.wc-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wc-accordion__item,
.wc-accordion > * {
  min-width: 0;
}

.wc-accordion__toggle {
  position: relative;
  width: 100%;
  min-height: 68px;
  padding: 20px 60px 20px 20px;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.wc-accordion__toggle:hover {
  border-color: rgba(31, 31, 31, 0.14);
  box-shadow: 0 10px 24px rgba(31, 31, 31, 0.04);
}

.wc-accordion__toggle::before,
.wc-accordion__toggle::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: rgba(31, 31, 31, 0.58);
  transform: translateY(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.wc-accordion__toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

.wc-accordion__toggle[aria-expanded="true"]::after {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scaleX(0);
}

.wc-accordion__toggle-label {
  display: block;
  font-size: 15px;
  line-height: 1.75;
}

.wc-accordion__toggle-label--open,
.wc-accordion__toggle-label--close {
  display: inline;
}

.wc-accordion__panel {
  display: none;
  padding: 0 20px 4px;
}

.wc-accordion__panel.is-open {
  display: block;
}

.wc-accordion__panel > *:first-child {
  margin-top: 0;
}

.wc-accordion__panel > *:last-child {
  margin-bottom: 0;
}

/* ==========================================================
   Tile
========================================================== */

.wc-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.wc-tile-card {
  min-width: 0;
}

.wc-tile-card--wide {
  grid-column: 1 / -1;
}

/* C案: 3層カード（番号帯 → 見出し帯 → 本文） */
.wc-tile-card__inner {
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 31, 31, 0.03);
}

/* meta行: ゴールド帯 */
.wc-tile-card__meta {
  display: block;
  margin: 0;
  padding: 10px 18px 8px;
  background: rgba(138, 116, 88, 0.09);
  border-bottom: 1px solid rgba(138, 116, 88, 0.13);
  font-family: "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(31, 31, 31, 0.52);
}

/* title行: パーチメント薄面 */
.wc-tile-card__title {
  display: block;
  margin: 0;
  padding: 11px 18px 12px;
  background: rgba(215, 195, 165, 0.18);
  border-bottom: 1px solid rgba(138, 116, 88, 0.08);
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(13px, 1.3vw, 17px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1f1f1f;
}

/* 本文 */
.wc-tile-card__text {
  margin: 0;
  padding: 12px 18px 20px;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: rgba(31, 31, 31, 0.74);
}

/* wc-check-list が wc-tile-card__inner 直下に来る場合の余白 */
.wc-tile-card__inner > .wc-check-list {
  padding: 12px 18px 18px;
}

/* ==========================================================
   Category grid
========================================================== */

.wc-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
  margin-top: 6px;
}

.wc-category-card {
  min-width: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(31, 31, 31, 0.08);
}

.wc-category-card__title {
  display: block;
  margin: 0 0 14px;
  padding: 10px 16px 11px 18px;
  background: rgba(215, 195, 165, 0.28);
  border: 1px solid rgba(138, 116, 88, 0.16);
  border-left: 3px solid #8a7458;
  border-radius: 0 6px 6px 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1f1f1f;
}

/* ==========================================================
   Check list
========================================================== */

.wc-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wc-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(31, 31, 31, 0.76);
}

.wc-check-list li + li {
  border-top: 1px solid rgba(31, 31, 31, 0.06);
}

.wc-check-list li::before {
  content: "";
  flex: 0 0 6px;
  height: 6px;
  border-radius: 50%;
  background: #c4a84e;
}

/* ==========================================================
   CTA / info
========================================================== */

.wc-cta-block {
  display: grid;
  gap: 20px;
  padding: 24px 24px 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(247, 243, 237, 0.88) 100%);
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(31, 31, 31, 0.035);
}

.wc-cta-block__body {
  min-width: 0;
}

.wc-cta-block__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(31, 31, 31, 0.78);
}

.wc-cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wc-info-panel {
  padding: 24px 24px 26px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(31, 31, 31, 0.03);
}

.wc-info-panel__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(31, 31, 31, 0.78);
}

.wc-info-panel .wc-cta-block__actions {
  margin-top: 18px;
}

/* ==========================================================
   English blocks
========================================================== */

.wc-english-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.wc-english-block__section {
  padding: 22px 22px 24px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 10px;
}

/* ==========================================================
   Generic spacing helpers inside page sections
========================================================== */

.wc-page-section__body > *:first-child {
  margin-top: 0;
}

.wc-page-section__body > *:last-child {
  margin-bottom: 0;
}

.wc-page-section__intro {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(31, 31, 31, 0.76);
}

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

@media (max-width: 1024px) {
  .wc-category-grid,
  .wc-tile-grid {
    grid-template-columns: 1fr;
  }

  .wc-tile-card--wide {
    grid-column: auto;
  }

}

@media (max-width: 767px) {
  .wc-sidebar__section {
    padding: 18px 16px;
    border-radius: 10px;
  }

  .wc-clickable-banner {
    border-radius: 8px;
  }

  .wc-clickable-banner__body {
    padding: 12px 12px 14px;
  }

  .wc-accordion__toggle {
    min-height: 60px;
    padding: 16px 52px 16px 16px;
    border-radius: 8px;
  }

  .wc-accordion__panel {
    padding: 0 16px 2px;
  }

  /* C案: inner は padding:0 のまま維持、border-radius のみ調整 */
  .wc-tile-card__inner {
    padding: 0;
    border-radius: 8px;
  }

  .wc-tile-card__meta { padding: 9px 14px 7px; }
  .wc-tile-card__title { padding: 9px 14px 10px; }
  .wc-tile-card__text { padding: 10px 14px 16px; }

  .wc-cta-block,
  .wc-info-panel,
  .wc-english-block__section {
    padding: 20px 18px 22px;
    border-radius: 8px;
  }

  .wc-tile-card__title {
    font-size: 13px;
  }

  .wc-tile-card__text,
  .wc-check-list li,
  .wc-cta-block__text,
  .wc-info-panel__text,
  .wc-page-section__intro {
    font-size: 13px;
    line-height: 1.9;
  }

  .wc-category-grid {
    gap: 18px;
  }

  .wc-category-card__title {
    font-size: 16px;
    padding: 9px 14px 10px 16px;
  }

  .wc-cta-block__actions {
    flex-direction: column;
  }

  .wc-btn,
  .wc-btn--full {
    width: 100%;
  }
}

/* ==========================================================
   Trust by Numbers
========================================================== */

.wc-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.wc-numbers-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.wc-number-card {
  background: var(--wc-paper);
  border: 1px solid var(--wc-line);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.wc-number-card strong {
  display: block;
  font-family: "Hind Madurai", "Manrope", sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--wc-text);
  letter-spacing: -0.02em;
}

.wc-number-card h3 {
  font-family: "Manrope", sans-serif;
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--wc-text);
}

.wc-number-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--wc-text-soft);
}

/* ==========================================================
   Donut stat cards
========================================================== */

.wc-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.wc-stat-card {
  background: var(--wc-paper);
  border: 1px solid var(--wc-line);
  border-radius: 22px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.wc-stat-card > h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  font-family: "Zen Old Mincho", serif;
}

.wc-stat-card > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--wc-text-soft);
}

.wc-donut-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.wc-donut {
  --value: 75;
  --size: 104px;
  --thickness: 11px;
  position: relative;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: conic-gradient(
    var(--wc-accent) 0 calc(var(--value) * 1%),
    rgba(138, 116, 88, 0.14) calc(var(--value) * 1%) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(138, 116, 88, 0.08);
}

.wc-donut::before {
  content: "";
  position: absolute;
  inset: var(--thickness);
  border-radius: 50%;
  background: var(--wc-paper);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.wc-donut-value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  text-align: center;
  line-height: 1.05;
  color: var(--wc-text);
}

.wc-donut-value strong {
  display: block;
  font: 800 26px "Hind Madurai", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

.wc-donut-label {
  display: block;
  font: 800 9px "Manrope", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wc-text-soft);
}

.wc-stat-rate {
  display: block;
  font: 800 36px "Hind Madurai", "Manrope", sans-serif;
  line-height: 1;
  color: var(--wc-text);
  letter-spacing: -0.03em;
}

.wc-stat-rate small {
  font-size: 0.48em;
  color: var(--wc-text-soft);
  margin-left: 4px;
  letter-spacing: 0.08em;
}

/* ==========================================================
   Quote / inquiry cards
========================================================== */

.wc-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.wc-inquiry-card {
  position: relative;
  background: var(--wc-paper);
  border: 1px solid var(--wc-line);
  border-radius: 22px;
  padding: 24px 24px 24px 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.wc-inquiry-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 999px 0 0 999px;
  background: linear-gradient(180deg, rgba(138, 116, 88, 0.92), rgba(138, 116, 88, 0.72));
}

.wc-inquiry-card h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
}

.wc-inquiry-card p {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--wc-text-soft);
}

/* ==========================================================
   Note Card
========================================================== */

.wc-note-card {
  display: flex;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(138, 116, 88, .05);
  border: 1px solid rgba(138, 116, 88, .22);
  border-left: 3px solid var(--wc-accent);
  border-radius: 8px;
  margin-top: 14px;
}

.wc-note-card__label {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wc-accent);
  white-space: nowrap;
  padding-top: 2px;
}

.wc-note-card__text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--wc-text-soft);
  margin: 0;
}

/* ==========================================================
   Notice
========================================================== */

.wc-notice {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.7;
}
.wc-notice p { margin: 0; }
.wc-notice--error {
  background: rgba(200, 50, 50, .06);
  border: 1px solid rgba(200, 50, 50, .25);
  color: #b22;
}
.wc-notice--info {
  background: rgba(138, 116, 88, .06);
  border: 1px solid rgba(138, 116, 88, .25);
  color: var(--wc-text);
}

/* ==========================================================
   Legal Body
   プライバシーポリシー・免責事項 本文
========================================================== */

.wc-legal-body h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--wc-text);
  margin: 28px 0 8px;
}

.wc-legal-body h3:first-child {
  margin-top: 0;
}

.wc-legal-body p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--wc-text-soft);
  margin: 0 0 4px;
}

.wc-legal-body a {
  color: var(--wc-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 1120px) {
  .wc-numbers-grid,
  .wc-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wc-numbers-grid,
  .wc-stats-grid,
  .wc-quote-grid {
    grid-template-columns: 1fr;
  }
}