/** SupportDoor Content Blocks v1.4.0 */
.sdcb-detail-links,
.sdcb-extra-cost {
  --sdcb-brown: #5a3608;
  --sdcb-brown-dark: #3d2404;
  --sdcb-gold: #a98337;
  --sdcb-orange: #bd5508;
  --sdcb-bg: #fffaf3;
  --sdcb-bg-soft: #f8f1e7;
  --sdcb-line: #e4d5bd;
  --sdcb-text: #302a24;
  --sdcb-muted: #6c6258;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  color: var(--sdcb-text);
  font: inherit;
}
.sdcb-detail-links *,
.sdcb-detail-links *::before,
.sdcb-detail-links *::after,
.sdcb-extra-cost *,
.sdcb-extra-cost *::before,
.sdcb-extra-cost *::after { box-sizing: border-box; }

/* 詳細はこちら */
.sdcb-detail-links {
  margin: 1.5em 0;
  border: 1px solid var(--sdcb-line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.sdcb-detail-links__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
  min-height: 54px;
  padding: 13px 18px;
  background: var(--sdcb-bg-soft);
  color: var(--sdcb-brown-dark);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.sdcb-detail-links__summary::-webkit-details-marker { display: none; }
.sdcb-detail-links__summary:focus-visible {
  outline: 3px solid rgba(169, 131, 55, .32);
  outline-offset: -3px;
}
.sdcb-detail-links__summary-text {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.sdcb-detail-links__summary-text--open { display: none; }
.sdcb-detail-links[open] .sdcb-detail-links__summary-text--closed { display: none; }
.sdcb-detail-links[open] .sdcb-detail-links__summary-text--open { display: block; }
.sdcb-detail-links__summary-icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid var(--sdcb-gold);
  border-radius: 50%;
  background: #fff;
}
.sdcb-detail-links__summary-icon::before,
.sdcb-detail-links__summary-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--sdcb-brown);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform .18s ease;
}
.sdcb-detail-links__summary-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.sdcb-detail-links[open] .sdcb-detail-links__summary-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.sdcb-detail-links__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 16px;
  border-top: 1px solid var(--sdcb-line);
  background: var(--sdcb-bg);
}
.sdcb-detail-links--columns-1 .sdcb-detail-links__grid { grid-template-columns: minmax(0, 1fr); }
.sdcb-detail-links--columns-3 .sdcb-detail-links__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sdcb-detail-links__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 92px;
  padding: 15px 42px 15px 16px;
  border: 1px solid var(--sdcb-line);
  border-radius: 7px;
  background: #fff;
  color: var(--sdcb-text) !important;
  text-decoration: none !important;
  box-shadow: 0 2px 7px rgba(61, 36, 4, .035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sdcb-detail-links__card:hover {
  border-color: #c9ac76;
  box-shadow: 0 5px 14px rgba(61, 36, 4, .09);
  transform: translateY(-1px);
}
.sdcb-detail-links__card:focus-visible {
  outline: 3px solid rgba(169, 131, 55, .32);
  outline-offset: 2px;
}
.sdcb-detail-links__card-title,
.sdcb-detail-links__card-description {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.sdcb-detail-links__card-title {
  color: var(--sdcb-brown-dark);
  font-size: 1em;
  font-weight: 700;
  line-height: 1.45;
}
.sdcb-detail-links__card-description {
  margin-top: 5px;
  color: var(--sdcb-muted);
  font-size: .86em;
  line-height: 1.65;
}
.sdcb-detail-links__card-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--sdcb-gold);
  font-size: 27px;
  line-height: 1;
  transform: translateY(-50%);
}

/* 補足ポップアップ（別途費用） */
.sdcb-extra-cost {
  margin: .55em 0 .9em;
}
.sdcb-extra-cost--inline {
  display: inline;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
}
.sdcb-extra-cost__line {
  display: inline;
  width: auto;
  max-width: 100%;
  min-width: 0;
}
.sdcb-extra-cost__lead {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
.sdcb-extra-cost__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0 0 0 .35em;
  padding: 1px 0 2px;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--sdcb-brown-dark);
  font: inherit;
  font-size: 1em !important;
  font-weight: 500;
  line-height: 1.35;
  vertical-align: baseline;
  white-space: normal;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .16s ease;
}
.sdcb-extra-cost--without-lead .sdcb-extra-cost__toggle,
.sdcb-extra-cost--inline .sdcb-extra-cost__toggle {
  margin-left: 0;
}
.sdcb-extra-cost__toggle:hover,
.sdcb-extra-cost__toggle:active {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  opacity: .78;
}
.sdcb-extra-cost__toggle:focus-visible {
  outline: 2px solid rgba(169, 131, 55, .42);
  outline-offset: 2px;
}
.sdcb-extra-cost__toggle-text {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.sdcb-extra-cost__info {
  display: inline-flex;
  flex: 0 0 8px;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sdcb-brown);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 6px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-1px);
}
.sdcb-extra-cost.is-open .sdcb-extra-cost__toggle {
  opacity: .82;
}

/* body直下へ生成するため、SWELL側のoverflow設定で切れません。 */
.sdcb-extra-cost-popup,
.sdcb-extra-cost-popup *,
.sdcb-extra-cost-popup *::before,
.sdcb-extra-cost-popup *::after {
  box-sizing: border-box;
}
.sdcb-extra-cost-popup {
  --sdcb-popup-background: #353535;
  --sdcb-popup-text: #fff;
  --sdcb-arrow-left: 50%;
  position: absolute;
  z-index: 999999;
  display: block;
  width: max-content;
  max-width: calc(100vw - 24px);
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 6px;
  background: var(--sdcb-popup-background);
  color: var(--sdcb-popup-text);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .23);
  font: inherit;
  text-align: left;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
}
.sdcb-extra-cost-popup::after {
  position: absolute;
  bottom: -7px;
  left: var(--sdcb-arrow-left);
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(0, 0, 0, .08);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  background: var(--sdcb-popup-background);
  content: "";
  transform: translateX(-50%) rotate(45deg);
}
.sdcb-extra-cost-popup__inner {
  position: relative;
  z-index: 1;
  max-width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: inherit;
}
.sdcb-extra-cost-popup--image .sdcb-extra-cost-popup__inner {
  padding: 9px;
}
.sdcb-extra-cost-popup__text {
  max-width: 100%;
  min-width: 0;
  color: inherit;
  font-size: .9em;
  line-height: 1.65;
}
.sdcb-extra-cost-popup__text > :first-child { margin-top: 0; }
.sdcb-extra-cost-popup__text > :last-child { margin-bottom: 0; }
.sdcb-extra-cost-popup__intro {
  margin-bottom: 8px;
}
.sdcb-extra-cost-popup a {
  color: inherit !important;
  text-decoration: underline;
}
.sdcb-extra-cost-popup__picture {
  display: block;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}
.sdcb-extra-cost-popup__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}
.sdcb-extra-cost-popup__caption {
  max-width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  color: inherit;
  font-size: .8em;
  line-height: 1.55;
  text-align: center;
  opacity: .82;
}

@media (max-width: 767px) {
  .sdcb-detail-links { margin: 1.25em 0; }
  .sdcb-detail-links__summary { min-height: 50px; padding: 11px 14px; }
  .sdcb-detail-links__grid,
  .sdcb-detail-links--columns-1 .sdcb-detail-links__grid,
  .sdcb-detail-links--columns-2 .sdcb-detail-links__grid,
  .sdcb-detail-links--columns-3 .sdcb-detail-links__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 11px;
  }
  .sdcb-detail-links__card { min-height: 78px; padding: 13px 38px 13px 14px; }
  .sdcb-detail-links__card-description { font-size: .84em; }
  .sdcb-extra-cost-popup__inner { padding: 10px 11px; }
  .sdcb-extra-cost-popup--image .sdcb-extra-cost-popup__inner { padding: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .sdcb-detail-links__summary-icon::before,
  .sdcb-detail-links__summary-icon::after,
  .sdcb-detail-links__card,
  .sdcb-extra-cost__toggle { transition: none; }
}
