.fukushima-card-mode {
  margin: 34px 0 44px;
}

.fukushima-card-toggle {
  width: 100%;
  border: 2px solid #ff5126;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6338 0%, #ff5126 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.25;
  padding: 18px 24px;
  box-shadow: 0 12px 24px rgba(255, 81, 38, .22), inset 0 1px 0 rgba(255, 255, 255, .3);
  cursor: pointer;
}

.fukushima-card-toggle:hover {
  background: linear-gradient(180deg, #ff724b 0%, #e7441d 100%);
  box-shadow: 0 14px 28px rgba(255, 81, 38, .28), inset 0 1px 0 rgba(255, 255, 255, .34);
  transform: translateY(-1px);
}

.fukushima-card-stage {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(25, 22, 19, .62);
  color: #252525;
}

.fukushima-card-stage.is-card-open {
  display: flex;
}

body.fukushima-card-lock {
  overflow: hidden;
}

.fukushima-card-inline-image {
  width: 1.25em !important;
  height: 1.25em !important;
  max-width: 1.25em !important;
  max-height: 1.25em !important;
  display: inline-block !important;
  margin: 0 .35em 0 0 !important;
  border: 1px solid rgba(37, 37, 37, .18);
  border-radius: 4px;
  object-fit: cover;
  vertical-align: -.2em;
  cursor: zoom-in;
}

.fukushima-card-inline-image:hover {
  border-color: #ff5126;
}

.fukushima-image-modal {
  position: fixed;
  inset: 0;
  z-index: 5100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(17, 17, 17, .78);
}

.fukushima-image-modal.is-open {
  display: flex;
}

.fukushima-image-modal img {
  max-width: min(920px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
  object-fit: contain;
}

.fukushima-image-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 32px;
  line-height: 48px;
  padding: 0;
}

.fukushima-card-shell {
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 224, 130, .42), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(94, 177, 129, .25), transparent 28%),
    linear-gradient(135deg, #fff9ed 0%, #f4fbff 48%, #fff4f0 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
}

.fukushima-card-controls button:hover {
  background: #e7441d;
  border-color: #e7441d;
}

.fukushima-card-controls button:disabled,
.fukushima-card-controls button:disabled:hover {
  background: #d7d2cc;
  border-color: #d7d2cc;
  color: rgba(37, 37, 37, .48);
  cursor: default;
  opacity: .72;
}

.fukushima-card-close:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.fukushima-card-toolbar,
.fukushima-card-controls {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
}

.fukushima-card-toolbar {
  justify-content: center;
  min-height: 74px;
}

.fukushima-card-share-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 10px;
}

.fukushima-card-controls .fukushima-card-share-button {
  min-width: 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
}

.fukushima-card-controls .fukushima-card-share-button:hover {
  background: transparent;
  opacity: .78;
}

.fukushima-card-share-icon {
  display: block;
  width: 34px;
  height: 34px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.fukushima-card-share-icon-x {
  background-image: url('/common/img/button/twitter.png');
}

.fukushima-card-share-icon-facebook {
  background-image: url('/common/img/button/facebook.png');
}

.fukushima-card-share-icon-instagram {
  position: relative;
  border-radius: 10px;
  background: radial-gradient(circle at 72% 24%, #ffd76f 0 9%, transparent 10%),
    radial-gradient(circle at 50% 50%, transparent 0 26%, #fff 27% 38%, transparent 39%),
    linear-gradient(135deg, #6b4bff 0%, #d62976 45%, #fa7e1e 76%, #feda75 100%);
}

.fukushima-card-share-icon-instagram::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid #fff;
  border-radius: 8px;
}

.fukushima-card-controls button {
  border: 1px solid #ff5126;
  border-radius: 999px;
  background: #ff5126;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  min-width: 90px;
  padding: 13px 18px;
  cursor: pointer;
}

.fukushima-card-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 48px;
  padding: 0;
  cursor: pointer;
}

.fukushima-card-counter {
  min-width: 76px;
  border-radius: 999px;
  background: rgba(37, 37, 37, .08);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
  text-align: center;
}

.fukushima-card-viewport {
  position: relative;
  height: min(560px, calc(100vh - 180px));
  min-height: 360px;
  overflow: hidden;
  touch-action: pan-y;
}

.fukushima-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  opacity: 0;
  transform: translateX(24px) scale(.98);
  transition: opacity .24s ease, transform .24s ease;
  pointer-events: none;
}

.fukushima-card.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.fukushima-card-inner {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  border: 1px solid rgba(37, 37, 37, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 22px 58px rgba(56, 43, 31, .16);
  padding: clamp(28px, 6vw, 74px);
}

.fukushima-card.is-divider .fukushima-card-inner {
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 209, 102, .22), transparent 34%),
    linear-gradient(135deg, #251f1b 0%, #111 100%);
  color: #fff;
  text-align: center;
}

.fukushima-card-area {
  color: #ff5126;
  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 800;
  letter-spacing: 0;
}

.fukushima-card.is-divider .fukushima-card-area {
  color: #ffd166;
}

.fukushima-card-town {
  margin: 0;
  color: #222;
  font-size: clamp(36px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.06;
}

.fukushima-card.is-divider .fukushima-card-town {
  color: #fff;
}

.fukushima-card-image {
  width: min(100%, 520px);
  margin: 0;
}

.fukushima-card-image img {
  width: 100%;
  max-height: min(260px, 34vh);
  display: block;
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(56, 43, 31, .16);
  object-fit: contain;
}

.fukushima-card-text {
  margin: 0;
  color: #333;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.55;
}

.fukushima-card-text:empty {
  display: none;
}

.fukushima-card-play-button {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  border: 1px solid rgba(255, 81, 38, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #ff5126;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
  padding: 0 0 0 2px;
  cursor: pointer;
}

.fukushima-card-play-button:hover {
  border-color: #ff5126;
  background: #fff4ef;
}

@media (max-width: 768px) {
  .fukushima-card-mode {
    margin: 26px 0 34px;
  }

  .fukushima-card-toggle {
    font-size: 16px;
    padding: 16px 18px;
  }

  .fukushima-card-stage {
    padding: 10px;
  }

  .fukushima-card-shell {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .fukushima-card-toolbar,
  .fukushima-card-controls {
    padding: 12px;
  }

  .fukushima-card-controls button {
    min-width: 76px;
    font-size: 13px;
    padding: 12px 14px;
  }

  .fukushima-card-controls .fukushima-card-share-button {
    min-width: 38px;
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .fukushima-card-share-icon {
    width: 31px;
    height: 31px;
  }

  .fukushima-card-close {
    top: 10px;
    right: 12px;
    width: 46px;
    height: 46px;
    min-width: 46px;
    font-size: 30px;
    line-height: 46px;
  }

  .fukushima-card-viewport {
    height: min(520px, calc(100vh - 152px));
    min-height: 320px;
  }

  .fukushima-card {
    padding: 14px;
  }

  .fukushima-card-inner {
    gap: 20px;
  }
}
