/*
Theme Name: ReBORN Custom
Theme URI: https://reborn-bikewash.jp/
Author: ReBORN / 三宅慎一
Description: ReBORN公式サイトとReBORN JOURNALを一体運用する専用テーマ。
Version: 2.6.9
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: reborn-custom
*/

:root {
  --rb-black: #000;
  --rb-panel: #101010;
  --rb-panel-soft: #171717;
  --rb-white: #fff;
  --rb-muted: #b7b7b7;
  /* Legacy token names remain compatible; the brand accent is metallic blue. */
  --rb-metal-blue: #73b6ed;
  --rb-metal-blue-bright: #aedcff;
  --rb-metal-blue-deep: #397eba;
  --rb-metal-blue-sheen: linear-gradient(125deg, #397eba 0%, #73b6ed 30%, #aedcff 47%, #629fd3 58%, #397eba 100%);
  --rb-metal-blue-text: linear-gradient(180deg, #aedcff 0%, #73b6ed 36%, #5596cc 52%, #a3d5fb 73%, #73b6ed 100%);
  --rb-gold: var(--rb-metal-blue);
  --rb-blue: #01188e;
  --rb-line: rgba(255, 255, 255, 0.18);
  --rb-content: 1040px;
  --rb-wide: 1220px;
}

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

html {
  margin: 0;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rb-black);
  color: var(--rb-white);
  font-family: Arial, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar {
  min-height: calc(100vh - 32px);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: #fff;
  color: #000;
}

/* Peraichi snapshot compatibility. Editor-only UI is never rendered. */
.only-edit,
.only-edit-notification-icon,
.js-display-setting-notification {
  display: none !important;
}

.pera1-section,
.block,
.c-bg-img,
.c-wrapper {
  width: 100%;
  margin: 0;
}

.c-bg-img--cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.c-wrapper {
  margin-inline: auto;
}

.c-inner {
  width: min(calc(100% - 40px), var(--rb-content));
  margin-inline: auto;
}

.c-inner--lg {
  max-width: var(--rb-wide);
}

.c-inner--md {
  max-width: 900px;
}

.c-inner--vertical {
  padding-top: 28px;
  padding-bottom: 28px;
}

.c-inner--one-elem {
  text-align: center;
}

.u-align-center {
  text-align: center;
}

.u-flex {
  display: flex;
}

.u-mbmd {
  margin-bottom: 20px;
}

.p-hr--blank-space-small__inner {
  min-height: 20px;
}

.p-hr--blank-space-medium__inner {
  min-height: 40px;
}

.p-hr--blank-space-large__inner {
  min-height: 80px;
}

[data-display-none-target="all"],
[data-display-none-target="desktop"] {
  display: none !important;
}

.c-btn {
  display: flex;
  justify-content: center;
}

.c-btn a {
  display: inline-flex;
  min-width: min(100%, 420px);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.4;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}

.c-btn a:hover,
.c-btn a:focus-visible {
  filter: brightness(1.18);
  transform: translateY(-1px);
}

/* Primary reservation CTA. Four logical placements share one responsive design. */
.reborn-reservation-cta {
  width: 100%;
  margin: 0;
  padding: 30px 20px;
  background: #000;
  color: #fff;
}

.reborn-reservation-cta__inner {
  width: min(100%, 540px);
  margin: 0 auto;
  text-align: center;
}

.reborn-reservation-cta__button {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  min-height: 76px;
  align-items: center;
  column-gap: 18px;
  padding: 15px 24px 15px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .44);
  border-radius: 3px;
  background: linear-gradient(135deg, #071650 0%, #01188e 58%, #0b2eb5 100%);
  box-shadow: 0 12px 32px rgba(1, 24, 142, .28);
  color: #fff;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, filter .2s ease, transform .2s ease;
}

.reborn-reservation-cta__button::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #aedcff 50%, transparent);
  content: "";
}

.reborn-reservation-cta__eyebrow,
.reborn-reservation-cta__label {
  grid-column: 1;
  text-align: left;
}

.reborn-reservation-cta__eyebrow {
  align-self: end;
  color: #aedcff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.3;
}

.reborn-reservation-cta__label {
  align-self: start;
  margin-top: 5px;
  font-size: clamp(17px, 2.1vw, 21px);
  font-weight: 700;
  letter-spacing: .035em;
  line-height: 1.4;
}

.reborn-reservation-cta__icon {
  grid-row: 1 / 3;
  grid-column: 2;
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.reborn-reservation-cta__button:hover,
.reborn-reservation-cta__button:focus-visible {
  border-color: rgba(115, 182, 237, .9);
  box-shadow: 0 16px 38px rgba(1, 24, 142, .4);
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.reborn-reservation-cta__button:focus-visible {
  outline: 2px solid #aedcff;
  outline-offset: 4px;
}

.reborn-reservation-cta__note {
  margin: 12px 0 0;
  color: #c8c8c8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
  line-height: 1.7;
}

.p-heading-heading h2 {
  margin: 0;
  color: #fff;
}

.reborn-lp {
  width: 100%;
  overflow: clip;
  background: #000;
}

.reborn-section-title {
  padding: 64px 20px 34px;
  background: #000;
  color: #fff;
  text-align: center;
}

.reborn-section-title__en {
  display: block;
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.08;
}

.reborn-section-title__jp {
  display: block;
  margin-top: 11px;
  color: var(--rb-gold);
  font-size: clamp(13px, 1.6vw, 18px);
  font-weight: 700;
  letter-spacing: .13em;
}

/* CONTACT */
.reborn-contact,
.reborn-contact * {
  box-sizing: border-box;
}

.reborn-contact {
  width: 100%;
  margin: 0;
  padding: 74px 0 82px;
  background: #000;
  color: #fff;
}

.reborn-contact__inner {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto;
}

.reborn-contact__header {
  margin: 0 auto 30px;
  text-align: center;
}

.reborn-contact__title {
  margin: 0;
  color: #fff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .03em;
}

.reborn-contact__subtitle {
  margin: 5px 0 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.reborn-contact__header-line {
  width: 48px;
  height: 1px;
  margin: 19px auto 0;
  background: #5a9bd2;
}

.reborn-contact__lead {
  margin: 0 auto;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  text-align: center;
}

.reborn-contact__reservation-notice {
  width: min(100%, 780px);
  margin: 30px auto 0;
  padding: 20px 24px;
  border-left: 2px solid var(--rb-gold);
  background: rgba(115, 182, 237, .08);
}

.reborn-contact__reservation-notice p {
  margin: 0;
  color: #e8e8e8;
  font-size: 14px;
  line-height: 1.9;
}

.reborn-contact__reservation-notice a {
  color: #fff;
  font-weight: 700;
  text-decoration-color: var(--rb-gold);
  text-underline-offset: 4px;
}

.reborn-contact__result {
  width: min(100%, 780px);
  margin: 28px auto 0;
  padding: 19px 22px;
  border: 1px solid rgba(255, 255, 255, .26);
  background: #111;
}

.reborn-contact__result strong {
  display: block;
  color: #fff;
  font-size: 16px;
}

.reborn-contact__result p,
.reborn-contact__result ul {
  margin: 8px 0 0;
  color: #e2e2e2;
  font-size: 14px;
  line-height: 1.8;
}

.reborn-contact__result ul {
  padding-left: 1.4em;
}

.reborn-contact__result--success {
  border-color: rgba(111, 195, 142, .7);
}

.reborn-contact__result--warning {
  border-color: rgba(200, 164, 65, .8);
}

.reborn-contact__result--error {
  border-color: rgba(214, 92, 92, .85);
}

.reborn-contact__result:focus {
  outline: 2px solid var(--rb-gold);
  outline-offset: 3px;
}

.reborn-contact__form {
  position: relative;
  width: min(100%, 780px);
  margin: 36px auto 0;
  padding: 46px 50px 50px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0));
}

.reborn-contact__form::before,
.reborn-contact__form::after {
  position: absolute;
  width: 31px;
  height: 31px;
  content: "";
  pointer-events: none;
}

.reborn-contact__form::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid #73b6ed;
  border-left: 2px solid #73b6ed;
}

.reborn-contact__form::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid #73b6ed;
  border-bottom: 2px solid #73b6ed;
}

.reborn-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.reborn-contact__grid--spaced {
  margin-top: 24px;
}

.reborn-contact__field {
  margin-top: 24px;
}

.reborn-contact__grid .reborn-contact__field {
  margin-top: 0;
}

.reborn-contact__field > label {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.reborn-contact__required,
.reborn-contact__optional {
  display: inline-block;
  margin-left: 7px;
  padding: 1px 7px;
  border: 1px solid var(--rb-gold);
  color: var(--rb-gold);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  vertical-align: 1px;
}

.reborn-contact__optional {
  border-color: rgba(255, 255, 255, .35);
  color: #bbb;
}

.reborn-contact__field input,
.reborn-contact__field select,
.reborn-contact__field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 0;
  outline: 0;
  background: #0b0b0b;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.reborn-contact__field textarea {
  min-height: 190px;
  resize: vertical;
}

.reborn-contact__field select option {
  background: #111;
  color: #fff;
}

.reborn-contact__field input::placeholder,
.reborn-contact__field textarea::placeholder {
  color: #858585;
}

.reborn-contact__field input:focus,
.reborn-contact__field select:focus,
.reborn-contact__field textarea:focus {
  border-color: var(--rb-gold);
  box-shadow: 0 0 0 2px rgba(115, 182, 237, .16);
}

.reborn-contact__field [aria-invalid="true"] {
  border-color: #d65c5c;
}

.reborn-contact__field-error {
  margin: 7px 0 0;
  color: #ff9b9b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.reborn-contact__field-note {
  margin: 7px 0 0;
  color: #aaa;
  font-size: 11px;
  line-height: 1.65;
}

.reborn-contact__turnstile-label {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.reborn-contact__turnstile .cf-turnstile {
  width: 100%;
  min-height: 65px;
}

.reborn-contact__agreement {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .025);
}

.reborn-contact__agreement.has-error {
  border-color: #d65c5c;
}

.reborn-contact__agreement label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #e5e5e5;
  font-size: 13px;
  line-height: 1.75;
}

.reborn-contact__agreement input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 4px 0 0;
  accent-color: var(--rb-gold);
}

.reborn-contact__agreement a {
  display: inline-block;
  margin-left: .35em;
  color: #fff;
  font-weight: 700;
  text-decoration-color: var(--rb-gold);
  text-underline-offset: 3px;
}

.reborn-contact__submit {
  display: flex;
  width: min(100%, 390px);
  min-height: 58px;
  align-items: center;
  justify-content: center;
  margin: 34px auto 0;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 0;
  background: #01188e;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  transition: filter .2s ease, transform .2s ease;
}

.reborn-contact__submit:hover,
.reborn-contact__submit:focus-visible {
  filter: brightness(1.18);
  transform: translateY(-1px);
}

.reborn-contact__submit:disabled {
	cursor: not-allowed;
  filter: grayscale(.25);
  opacity: .72;
  transform: none;
}

.reborn-contact__submit.is-submitting {
  cursor: wait;
}

.reborn-contact__submit-note {
  margin: 13px 0 0;
  color: #aaa;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.reborn-contact__honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 640px) {
	.reborn-reservation-cta {
	  padding: 23px 20px;
	}

	.reborn-reservation-cta__button {
	  min-height: 70px;
	  column-gap: 13px;
	  padding: 13px 17px 13px 20px;
	}

	.reborn-reservation-cta__eyebrow {
	  font-size: 9px;
	}

	.reborn-reservation-cta__label {
	  font-size: 16px;
	  letter-spacing: .01em;
	}

	.reborn-reservation-cta__icon {
	  font-size: 22px;
	}

	.reborn-reservation-cta__note {
	  margin-top: 10px;
	  font-size: 11px;
	}

  .reborn-contact {
    padding: 62px 0 68px;
  }

  .reborn-contact__inner {
    width: 100%;
  }

  .reborn-contact__header {
    width: calc(100% - 40px);
    margin-bottom: 27px;
  }

  .reborn-contact__title {
    font-size: 24px;
  }

  .reborn-contact__subtitle {
    margin-top: 4px;
    font-size: 17px;
  }

  .reborn-contact__header-line {
    width: 42px;
    margin-top: 17px;
  }

  .reborn-contact__lead,
  .reborn-contact__reservation-notice,
  .reborn-contact__result,
  .reborn-contact__form {
    width: calc(100% - 40px);
  }

  .reborn-contact__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .reborn-contact__reservation-notice {
    margin-top: 25px;
    padding: 17px 18px;
  }

  .reborn-contact__reservation-notice p,
  .reborn-contact__result p,
  .reborn-contact__result ul {
    font-size: 13px;
  }

  .reborn-contact__form {
    margin-top: 30px;
    padding: 34px 22px 37px;
  }

  .reborn-contact__form::before,
  .reborn-contact__form::after {
    width: 27px;
    height: 27px;
  }

  .reborn-contact__grid {
    display: block;
  }

  .reborn-contact__grid .reborn-contact__field + .reborn-contact__field,
  .reborn-contact__field {
    margin-top: 22px;
  }

	.reborn-contact__grid .reborn-contact__field:first-child {
    margin-top: 0;
	}

	.reborn-contact__grid--spaced {
	  margin-top: 22px;
	}

	.reborn-contact__grid--spaced .reborn-contact__field:first-child {
	  margin-top: 0;
	}

  .reborn-contact__field input,
  .reborn-contact__field select,
  .reborn-contact__field textarea {
    font-size: 16px;
  }

  .reborn-contact__agreement {
    padding: 15px;
  }

  .reborn-contact__submit {
    width: 100%;
    min-height: 56px;
    margin-top: 29px;
    font-size: 15px;
  }
}

/* JOURNAL */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid var(--rb-line);
  background: rgba(0, 0, 0, .94);
  backdrop-filter: blur(10px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), var(--rb-wide));
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.site-brand {
  position: relative;
  display: block;
  width: 178px;
  height: 44px;
  flex: 0 0 auto;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.site-brand img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 178px;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
}

.site-nav__reserve {
  padding: 9px 16px;
  border-radius: 2px;
  background: var(--rb-blue);
}

.journal-main,
.entry-main,
.standard-page {
  min-height: 70vh;
}

.journal-hero {
  padding: 88px 20px 64px;
  border-bottom: 1px solid var(--rb-line);
  background:
    radial-gradient(circle at 50% 0, rgba(115, 182, 237, .12), transparent 42%),
    #000;
  text-align: center;
}

.journal-hero__label {
  margin: 0 0 10px;
  color: var(--rb-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .2em;
}

.journal-hero h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 72px);
  letter-spacing: .08em;
  line-height: 1.1;
}

.journal-hero__lead {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--rb-muted);
  font-size: 15px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: min(calc(100% - 40px), var(--rb-wide));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.journal-card {
  overflow: hidden;
  border: 1px solid var(--rb-line);
  background: var(--rb-panel);
}

.journal-card__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1b1b1b;
}

.journal-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.journal-card:hover .journal-card__thumb img {
  transform: scale(1.025);
}

.journal-card__body {
  padding: 22px;
}

.journal-card__meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 11px;
  color: var(--rb-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
}

.journal-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.55;
}

.journal-card h2 a {
  text-decoration: none;
}

.journal-card__excerpt {
  margin: 13px 0 0;
  color: var(--rb-muted);
  font-size: 14px;
}

.journal-empty {
  grid-column: 1 / -1;
  padding: 50px;
  border: 1px solid var(--rb-line);
  color: var(--rb-muted);
  text-align: center;
}

.pagination {
  width: min(calc(100% - 40px), var(--rb-content));
  margin: -45px auto 80px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  margin: 3px;
  padding: 6px 10px;
  border: 1px solid var(--rb-line);
  text-decoration: none;
}

.pagination .current {
  border-color: var(--rb-gold);
  color: var(--rb-gold);
}

.entry-wrap,
.page-wrap {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.entry-header,
.page-header {
  margin-bottom: 42px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rb-line);
}

.entry-title,
.page-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.35;
}

.entry-content {
  color: #eee;
}

.entry-content > * {
  max-width: 100%;
}

.entry-content h2 {
  margin: 2.2em 0 .8em;
  padding-bottom: .45em;
  border-bottom: 1px solid var(--rb-gold);
  font-size: 28px;
}

.entry-content h3 {
  margin: 1.8em 0 .65em;
  font-size: 22px;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.5em;
}

.entry-content a {
  color: #aedcff;
}

.entry-content img {
  display: block;
  margin: 30px auto;
}

.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--rb-line);
}

.post-navigation a {
  color: var(--rb-muted);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--rb-line);
  background: #050505;
}

.site-footer__inner {
  width: min(calc(100% - 40px), var(--rb-wide));
  margin: 0 auto;
  padding: 42px 0 36px;
  color: #999;
  font-size: 12px;
  text-align: center;
}

.site-footer__identity,
.site-footer__copyright {
  margin: 0;
}

.site-footer__identity span {
  display: block;
}

.site-footer__brand {
  position: relative;
  display: block;
  width: 160px;
  height: 40px;
  margin: 0 auto;
  overflow: hidden;
}

.site-footer__brand img {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 160px;
  max-width: none;
  height: auto;
  transform: translateY(-50%);
}

.site-footer__identity span {
  margin-top: 7px;
  line-height: 1.7;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 22px 0;
}

.site-footer__nav a {
  color: #ccc;
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--rb-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 900px) {
  .journal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 767px) {
  [data-display-none-target="desktop"] {
    display: block !important;
  }

  [data-display-none-target="mobile"] {
    display: none !important;
  }

  .c-inner {
    width: min(calc(100% - 28px), var(--rb-content));
  }

  .c-inner--vertical {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .c-btn a {
    min-height: 54px;
    padding: 13px 22px;
    font-size: 16px;
  }

  .p-hr--blank-space-large__inner {
    min-height: 54px;
  }

  .reborn-section-title {
    padding: 44px 16px 24px;
  }

  .site-header__inner {
    width: min(calc(100% - 28px), var(--rb-wide));
    min-height: 62px;
  }

  .journal-grid {
    grid-template-columns: 1fr;
    width: min(calc(100% - 28px), var(--rb-wide));
    padding-top: 40px;
  }

  .entry-wrap,
  .page-wrap {
    width: min(calc(100% - 28px), 860px);
    padding-top: 50px;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* JOURNAL foundation 1.1.0 */
#deep-reset,
#care-clean,
#coating,
#standard-coat,
#special-coat,
#preservation,
#works,
#size-class,
#price {
  scroll-margin-top: 86px;
}

.journal-main,
.entry-main {
  background:
    linear-gradient(180deg, rgba(115, 182, 237, .035), transparent 420px),
    #000;
}

.journal-breadcrumbs {
  width: min(calc(100% - 40px), var(--rb-wide));
  margin: 0 auto;
  padding: 18px 0;
}

.journal-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0;
  padding: 0;
  color: #8e8e8e;
  font-size: 11px;
  letter-spacing: .04em;
  list-style: none;
}

.journal-breadcrumbs li:not(:last-child)::after {
  margin-left: 10px;
  color: #555;
  content: "/";
}

.journal-breadcrumbs a {
  color: #bdbdbd;
  text-decoration: none;
}

.journal-breadcrumbs a:hover,
.journal-breadcrumbs a:focus-visible {
  color: var(--rb-gold);
}

.journal-hero {
  padding: 96px 20px 0;
  overflow: hidden;
}

.journal-hero__inner {
  width: min(100%, 880px);
  margin: 0 auto;
}

.journal-hero h1 {
  font-size: clamp(40px, 7.2vw, 76px);
  letter-spacing: .065em;
}

.journal-hero--archive h1 {
  font-size: clamp(36px, 6vw, 64px);
}

.journal-hero__lead,
.journal-hero__lead p {
  color: #c4c4c4;
  font-size: 15px;
  line-height: 2;
}

.journal-categories {
  display: flex;
  width: min(calc(100% - 40px), var(--rb-wide));
  justify-content: center;
  gap: 8px;
  margin: 62px auto 0;
  padding-bottom: 24px;
}

.journal-categories__link {
  min-width: 128px;
  padding: 11px 15px;
  border: 1px solid var(--rb-line);
  color: #b9b9b9;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.journal-categories__link:hover,
.journal-categories__link:focus-visible,
.journal-categories__link.is-current {
  border-color: var(--rb-gold);
  background: rgba(115, 182, 237, .08);
  color: #fff;
}

.journal-index {
  width: min(calc(100% - 40px), var(--rb-wide));
  margin: 0 auto;
  padding: 80px 0 105px;
}

.journal-search {
  margin: 0 0 54px;
  padding: 25px;
  border: 1px solid var(--rb-line);
  background: #0d0d0d;
}

.journal-search__label {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.journal-search__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 10px;
}

.journal-search input,
.journal-search button {
  min-height: 50px;
  border-radius: 0;
  font: inherit;
}

.journal-search input {
  min-width: 0;
  padding: 11px 15px;
  border: 1px solid #444;
  background: #050505;
  color: #fff;
  font-size: 16px;
}

.journal-search button {
  padding: 10px 18px;
  border: 1px solid var(--rb-gold);
  background: var(--rb-gold);
  color: #070707;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.journal-search input:focus-visible,
.journal-search button:focus-visible,
.journal-search__reset:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.journal-search__reset {
  display: inline-block;
  margin-top: 14px;
  color: var(--rb-gold);
  font-size: 14px;
  text-underline-offset: .22em;
}

.journal-section-heading {
  margin: 0 0 34px;
}

.journal-section-heading__label,
.entry-kicker,
.entry-author__label {
  margin: 0 0 8px;
  color: var(--rb-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.5;
}

.journal-section-heading h2,
.journal-topics h2,
.journal-service-bridge h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.35;
}

.journal-grid {
  grid-template-columns: 1fr;
  gap: 22px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.journal-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 32%) minmax(0, 1fr);
  min-width: 0;
  border-color: rgba(255, 255, 255, .15);
  background: linear-gradient(145deg, #121212, #090909);
  transition: border-color .25s ease, transform .25s ease;
}

.journal-card:hover {
  border-color: rgba(115, 182, 237, .58);
  transform: translateY(-3px);
}

.journal-card--featured {
  display: flex;
  flex-direction: column;
}

.journal-card__thumb {
  min-height: 220px;
  aspect-ratio: auto;
  border-right: 1px solid var(--rb-line);
}

.journal-card--featured .journal-card__thumb {
  min-height: 0;
  aspect-ratio: 21 / 8;
  border-right: 0;
  border-bottom: 1px solid var(--rb-line);
}

.journal-card__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 20%, rgba(115, 182, 237, .14), transparent 42%),
    #0c0c0c;
  color: #fff;
}

.journal-card__placeholder strong {
  font-size: 24px;
  letter-spacing: .18em;
}

.journal-card__placeholder span {
  margin-top: 6px;
  color: var(--rb-gold);
  font-size: 9px;
  letter-spacing: .24em;
}

.journal-card__placeholder img {
  width: min(48%, 170px);
  height: auto;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
}

.journal-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 25px 27px;
}

.journal-card__meta {
  align-items: center;
  margin-bottom: 13px;
}

.journal-card__meta a {
  color: var(--rb-gold);
  text-decoration: none;
}

.journal-card h2 {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.journal-card--featured h2 {
  font-size: clamp(23px, 3vw, 34px);
}

.journal-card__excerpt {
  margin: 14px 0 0;
  color: #bcbcbc;
  line-height: 1.85;
}

.journal-card__excerpt p {
  margin: 0;
}

.journal-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: auto 0 0;
  padding: 20px 0 0;
  color: #898989;
  font-size: 10px;
  letter-spacing: .03em;
  list-style: none;
}

.journal-foundation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.journal-foundation__item {
  min-height: 200px;
  padding: 32px;
  border: 1px solid var(--rb-line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent);
}

.journal-foundation__item > p {
  margin: 0 0 20px;
  color: var(--rb-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .15em;
}

.journal-foundation__item h2 {
  margin: 0;
  color: #d2d2d2;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.9;
}

.journal-foundation__item a {
  display: inline-block;
  margin-top: 22px;
  color: #fff;
  font-size: 13px;
  text-underline-offset: 5px;
}

.journal-empty-note {
  margin: 26px 0 0;
  color: #888;
  font-size: 12px;
  text-align: center;
}

.journal-empty {
  width: min(calc(100% - 40px), var(--rb-wide));
  margin: 70px auto 100px;
}

.journal-topics {
  border-top: 1px solid var(--rb-line);
  background: #060606;
}

.journal-topics__inner {
  width: min(calc(100% - 40px), var(--rb-content));
  margin: 0 auto;
  padding: 62px 0 72px;
}

.journal-tag-list,
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.journal-tag-list a,
.entry-tags a {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .17);
  color: #c3c3c3;
  font-size: 11px;
  text-decoration: none;
}

.journal-tag-list a:hover,
.journal-tag-list a:focus-visible,
.entry-tags a:hover,
.entry-tags a:focus-visible {
  border-color: var(--rb-gold);
  color: #fff;
}

.pagination {
  width: 100%;
  margin: 52px 0 0;
}

.entry-wrap {
  width: min(calc(100% - 40px), 920px);
  padding: 62px 0 100px;
}

.entry-header {
  margin-bottom: 48px;
  padding-bottom: 40px;
}

.entry-meta {
  margin-bottom: 17px;
}

.entry-meta a {
  color: var(--rb-gold);
  text-decoration: none;
}

.entry-title {
  max-width: 850px;
  font-size: clamp(31px, 5.2vw, 52px);
  letter-spacing: .01em;
  line-height: 1.42;
}

.entry-lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: #c9c9c9;
  font-size: 17px;
  line-height: 2;
}

.entry-featured {
  margin: 0 0 52px;
}

.entry-featured img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .12);
}

.entry-featured figcaption,
.entry-content figcaption {
  margin-top: 9px;
  color: #888;
  font-size: 11px;
  line-height: 1.7;
}

.entry-toc {
  max-width: 760px;
  margin: 0 0 56px;
  padding: 26px 30px 27px;
  border: 1px solid var(--rb-line);
  border-left: 2px solid var(--rb-gold);
  background: #0b0b0b;
}

.entry-toc__title {
  margin: 0 0 14px;
  color: var(--rb-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.entry-toc ol {
  margin: 0;
  padding-left: 1.35em;
}

.entry-toc li {
  margin: 7px 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.7;
}

.entry-toc__level-3 {
  margin-left: 1.3em !important;
}

.entry-toc a {
  color: #d5d5d5;
  text-decoration: none;
}

.entry-toc a:hover,
.entry-toc a:focus-visible {
  color: var(--rb-gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry-content {
  max-width: 760px;
  color: #e5e5e5;
  font-size: 16px;
  line-height: 2;
}

.entry-content h2,
.entry-content h3 {
  scroll-margin-top: 105px;
}

.entry-content h2 {
  margin: 2.7em 0 1em;
  padding: 0 0 .55em;
  border-bottom: 1px solid rgba(115, 182, 237, .75);
  font-size: clamp(24px, 4vw, 31px);
  line-height: 1.5;
}

.entry-content h2:first-child {
  margin-top: 0;
}

.entry-content h3 {
  margin: 2.1em 0 .8em;
  padding-left: .8em;
  border-left: 2px solid var(--rb-gold);
  font-size: clamp(19px, 3vw, 23px);
  line-height: 1.55;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content figure,
.entry-content blockquote,
.entry-content .wp-block-table {
  margin-bottom: 1.8em;
}

.entry-content li + li {
  margin-top: .55em;
}

.entry-content blockquote {
  margin-inline: 0;
  padding: 20px 24px;
  border-left: 2px solid var(--rb-gold);
  background: rgba(115, 182, 237, .07);
  color: #d3d3d3;
}

.entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.entry-content .wp-block-table {
  overflow-x: auto;
}

.entry-content table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  background: #161616;
  color: #fff;
}

.entry-footer {
  max-width: 760px;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--rb-line);
}

.entry-author {
  margin-top: 34px;
  padding: 26px 28px;
  border: 1px solid var(--rb-line);
  background: #0c0c0c;
}

.entry-author__name {
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .1em;
}

.entry-author__role {
  margin: 4px 0 0;
  color: var(--rb-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.entry-author__text {
  margin: 9px 0 0;
  color: #aaa;
  font-size: 13px;
  line-height: 1.85;
}

.journal-related {
  width: min(calc(100% - 40px), var(--rb-wide));
  margin: 0 auto;
  padding: 76px 0 92px;
  border-top: 1px solid var(--rb-line);
}

.journal-grid--related {
  padding: 0;
}

.journal-grid--related .journal-card {
  display: grid;
  grid-template-columns: minmax(180px, 28%) minmax(0, 1fr);
}

.journal-service-bridge {
  border-top: 1px solid var(--rb-line);
  background:
    radial-gradient(circle at 50% 0, rgba(1, 24, 142, .22), transparent 42%),
    #070707;
}

.journal-service-bridge__inner {
  width: min(calc(100% - 40px), var(--rb-content));
  margin: 0 auto;
  padding: 86px 0 96px;
}

.journal-service-bridge__lead {
  max-width: 740px;
  margin: 21px 0 0;
  color: #bbb;
  font-size: 14px;
  line-height: 1.95;
}

.journal-service-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 38px;
}

.journal-service-links a {
  display: grid;
  min-height: 152px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(255, 255, 255, .025);
  color: #fff;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.journal-service-links a:hover,
.journal-service-links a:focus-visible {
  border-color: var(--rb-gold);
  background: rgba(115, 182, 237, .06);
  transform: translateY(-2px);
}

.journal-service-links span {
  color: var(--rb-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.journal-service-links strong {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.5;
}

.journal-service-links small {
  margin-top: 5px;
  color: #929292;
  font-size: 11px;
}

.journal-reservation {
  width: min(100%, 640px);
  margin: 44px auto 0;
  text-align: center;
}

.journal-reservation__button {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 25px 15px 29px;
  border: 1px solid rgba(255, 255, 255, .46);
  background: linear-gradient(135deg, #071650, #01188e 58%, #0b2eb5);
  box-shadow: 0 14px 38px rgba(1, 24, 142, .3);
  color: #fff;
  text-align: left;
  text-decoration: none;
  transition: border-color .2s ease, filter .2s ease, transform .2s ease;
}

.journal-reservation__button:hover,
.journal-reservation__button:focus-visible {
  border-color: var(--rb-gold);
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.journal-reservation__button span,
.journal-reservation__button small,
.journal-reservation__button strong {
  display: block;
}

.journal-reservation__button small {
  color: #aedcff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .19em;
}

.journal-reservation__button strong {
  margin-top: 4px;
  font-size: 18px;
  letter-spacing: .025em;
}

.journal-reservation__button b {
  font-size: 25px;
  font-weight: 400;
}

.journal-reservation > p {
  margin: 12px 0 0;
  color: #999;
  font-size: 11px;
}

@media (max-width: 1000px) {
  .journal-categories {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .journal-categories__link {
    flex: 0 0 auto;
  }
}

@media (max-width: 900px) {
  .journal-service-links {
    grid-template-columns: 1fr;
  }

  .journal-service-links a {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .journal-breadcrumbs {
    width: calc(100% - 28px);
    padding: 14px 0;
  }

  .journal-hero {
    padding: 64px 14px 0;
  }

  .journal-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    letter-spacing: .035em;
  }

  .journal-hero__lead,
  .journal-hero__lead p {
    font-size: 14px;
    line-height: 1.9;
  }

  .journal-categories {
    width: 100%;
    margin-top: 44px;
    padding: 0 0 18px;
  }

  .journal-categories__link {
    min-width: 112px;
    padding: 10px 12px;
  }

  .journal-index {
    width: calc(100% - 28px);
    padding: 55px 0 76px;
  }

  .journal-search {
    margin-bottom: 42px;
    padding: 20px;
  }

  .journal-search__controls {
    grid-template-columns: 1fr;
  }

  .journal-card {
    display: flex;
    flex-direction: column;
  }

  .journal-card__thumb,
  .journal-card--featured .journal-card__thumb {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--rb-line);
  }

  .journal-card__body {
    padding: 21px 20px 23px;
  }

  .journal-foundation {
    grid-template-columns: 1fr;
  }

  .journal-foundation__item {
    min-height: 0;
    padding: 25px 22px;
  }

  .journal-topics__inner,
  .journal-related,
  .journal-service-bridge__inner {
    width: calc(100% - 28px);
  }

  .entry-wrap {
    width: calc(100% - 28px);
    padding: 44px 0 74px;
  }

  .entry-header {
    margin-bottom: 34px;
    padding-bottom: 28px;
  }

  .entry-title {
    font-size: clamp(28px, 8.8vw, 39px);
    line-height: 1.45;
  }

  .entry-lead {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.9;
  }

  .entry-featured {
    margin-bottom: 38px;
  }

  .entry-toc {
    margin-bottom: 42px;
    padding: 21px 22px 22px;
  }

  .entry-content {
    font-size: 15px;
    line-height: 1.95;
  }

  .entry-content h2,
  .entry-content h3 {
    scroll-margin-top: 82px;
  }

  .entry-author {
    padding: 22px;
  }

  .journal-related {
    padding: 56px 0 70px;
  }

  .journal-service-bridge__inner {
    padding: 64px 0 72px;
  }

  .journal-service-links {
    margin-top: 30px;
  }

  .journal-reservation__button {
    min-height: 74px;
    padding: 13px 18px 13px 20px;
  }

  .journal-reservation__button strong {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .site-brand {
    width: 142px;
    height: 38px;
  }

  .site-brand img {
    width: 142px;
  }

  .site-nav__reserve {
    padding: 8px 12px;
    font-size: 12px !important;
  }

  .entry-meta {
    gap: 5px 11px;
    font-size: 10px;
  }
}
