.spot-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 24px;
}

.spot-form select {
  cursor: pointer;
}

input[type="submit"].spot-form-submit {
  width: fit-content;
  padding: 16px 24px;
  background: var(--accent-color);
  border: var(--border-default);
  color: #fff;
  font-weight: 700;
}

@media (hover:hover) {
  input[type="submit"].spot-form-submit:hover {
    opacity: 1;
    background: #fff;
    border-color: var(--accent-color);
    color: var(--accent-color);
  }
}
@media (hover:none) {
  input[type="submit"].spot-form-submit:active {
    opacity: 1;
    background: #fff;
    border-color: var(--accent-color);
    color: var(--accent-color);
  }
}

.spot-form-detail-box {
  padding: 8px;
  border: solid 1px #333;
}

.spot-form-label-option {
  color: #fff;
  background: var(--sub-color);
  border-radius: 3px;
  padding: 4px 8px;
  margin-right: 8px;
  font-size: 12px;
}

.spot-form-label-option--optional {
  background: var(--accent-color);
}

.spot-form-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.spot-form-row--checkbox {
  flex-direction: initial;
}

.spot-form-row label,
.spot-form-row p {
  font-weight: 700;
}

.spot-form-row-inner {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  min-height: 0;
}

.spot-form-column {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spot-form-tags {
  min-width: 80px;
  padding: 8px 16px;
  border: solid 1px #ccc;
  border-radius: 8px;
  min-height: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  align-items: center;
  gap: 8px;
}

.spot-form-tags-clear {
  font-size: 14px;
  background: #f0ffff;
  padding: 4px 8px;
  cursor: pointer;
  transition: .3s;
}

/* ホバー処理 */
@media (hover:hover) {
  .spot-form-tags-clear:hover {
    background: var(--back-color);
  }
}
@media (hover:none) {
  .spot-form-tags-clear:active {
    background: var(--back-color);
  }
}

.spot-form-input {
  width: 100%;
}

.spot-form-select {
  width: max-content;
}

.spot-load {
  visibility: hidden;
  height: 0;
  transition: .3s;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.station-kana-container {
  visibility: hidden;
  height: 0;
}

.station-kana-row,
.station-kana-box {
  display: none;
}

.spot-load.show,
.spot-station-list.show,
.station-kana-container.show {
  visibility: visible;
  height: auto;
}

.station-kana-row.show {
  display: block;
}

.station-kana-box.show {
  display: flex;
}

.station-tag-name {
  cursor: pointer;
  transition: .3s;
}

/* ホバー処理 */
@media (hover:hover) {
  .station-tag-name:hover:not(.chosen) {
    opacity: .5;
  }
}
@media (hover:none) {
  .station-tag-name:active:not(.chosen) {
    opacity: .5;
  }
}

.spot-form input.station-tag-item {
  background: var(--main-color);
  border-radius: 9999px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 4px 12px;
}

.station-tag-name.chosen {
  color: #ccc;
  cursor: auto
}

  .spot-back-profile-button a.wp-block-button__link {
    background: #777;
    border: solid 4px transparent;
    padding: 8px 16px;
  }

@media (hover:hover) {
  .spot-back-profile-button a.wp-block-button__link:hover {
    color: #333;
    background: #fafafa;
    border-color: #333;
  }
}

@media (hover:none) {
  .spot-back-profile-button a.wp-block-button__link:active {
    color: #333;
    background: #fafafa;
    border-color: #333;
  }
}

.spot-tag-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 16px;
  margin-top: 8px;
}

.spot-tag-box {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
}

.spot-tag-checkbox {
  accent-color: var(--main-color);
  width: 16px;
  height: 16px;
}

/* サンクスページ用 */
.spot-thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.spot-thanks-wrapper {
  width: 100%;
  max-width: 600px;
  margin: auto;
}

.spot-thanks-image {
  width: 100%;
  height: auto;
}

.spot-thanks-post {
  width: 100%;
  max-width: 600px;
  display: grid;
  grid-template-areas:  'thumbnail title'
                        'thumbnail link';
  grid-template-columns: 120px 1fr;
  grid-template-rows: repeat(2, auto);
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #fafafa;
  border-radius: 12px;
}

.spot-thanks-post-image {
  width: 100%;
  height: auto;
  grid-area: thumbnail;
}

.spot-thanks-post-title {
  font-size: 24px;
  grid-area: title;
}

.spot-thanks-post-link {
  grid-area: link;
}

.spot-thanks-share-heading {
  text-align: center;
}

.spot-thanks-share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px;
  margin-top: 24px;
}

.spot-thanks-share-line {
  background: #06C755;
  color: #fff;
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 3px;
}

@media (hover:hover) {
  .spot-thanks-share-line:hover {
    color: #fff;
    opacity: .7;
  }
}

@media (hover:none) {
  .spot-thanks-share-line:active {
    color: #fff;
    opacity: .7;
  }
}


@media screen and (max-width:428px) {
  .spot-thanks-post {
    grid-template-areas:  'thumbnail'
                          'title'
                          'link';
    grid-template-columns: 1fr;
  }
}