/* 旗之助の受付。三つの窓口の下に、選んだ用件だけを開く。 */
body.page-contact:has(.reception) {
  background:
    linear-gradient(180deg, rgb(255 251 236 / 10%) 4rem, var(--sb-world-ground) 27rem),
    url("/assets/img/home-hero-v1/sky-wide-v01.webp") center top / max(100%, 68rem) auto no-repeat,
    var(--sb-world-ground);
}
main:has(> .reception) {
  max-width: none;
  margin: 0;
  padding: 0;
}
.reception {
  --desk-ink: var(--sb-world-ink);
  --desk-blue: #194b6a;
  --desk-edge: #bc995e;
  --desk-line: #c7bfa7;
  color: var(--desk-ink);
  font: 1rem/1.65 var(--sb-world-font-body);
}
.reception [hidden] {
  display: none !important;
}
.reception :is(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--sb-world-focus);
  outline-offset: 3px;
}
.reception-width {
  width: min(70rem, calc(100% - 2 * var(--sb-world-content-gutter)));
  margin-inline: auto;
}
.reception-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, 16%);
  gap: 1rem;
  align-items: center;
  padding-top: clamp(.5rem, 1.7vw, 1.4rem);
}
.reception-title {
  padding-block: 1rem 1.6rem;
}
.reception h1 {
  margin: 0;
  font: 700 var(--sb-world-type-page-title)/1.17 var(--sb-world-font-heading);
  letter-spacing: .035em;
  text-shadow: 0 2px 12px var(--sb-world-paper);
}
.reception-title p {
  margin: .7rem 0 0;
  font-size: clamp(.95rem, 1.4vw, 1.13rem);
}
.reception-host {
  justify-self: center;
  align-self: end;
  width: 100%;
  height: clamp(8rem, 12.5vw, 11.5rem);
  object-fit: contain;
  object-position: center bottom;
}
.reception-scene {
  padding-bottom: clamp(2rem, 6vw, 5rem);
}
.reception-tabs, .reception-fallback {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: .3rem;
  padding: .35rem .35rem .4rem;
  background: #977957;
  border-radius: .45rem .45rem .15rem .15rem;
  box-shadow: 0 .25rem 0 #705e47;
  scroll-margin-top: .65rem;
  z-index: 1;
}
.reception-tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(.45rem, 1vw, 1rem);
  align-items: center;
  min-width: 0;
  min-height: 5.3rem;
  padding: .65rem clamp(.5rem, 1.4vw, 1.2rem);
  color: var(--sb-world-action);
  background: var(--sb-world-paper);
  border: 0;
  border-radius: .16rem;
  cursor: pointer;
  font: inherit;
  text-align: start;
}
.reception-tab:hover {
  background: #e6f0e9;
}
.reception-tab[aria-selected="true"] {
  color: white;
  background: var(--desk-blue);
  box-shadow: inset 0 -.25rem 0 var(--sb-world-gold);
}
.reception-tab strong, .reception-tab small {
  display: block;
}
.reception-tab strong {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.4;
}
.reception-tab small {
  margin-top: .15em;
  font-size: .84rem;
  line-height: 1.45;
}
.reception :where(.reception-tab-icon, .cp-mail-guide, .cp-phone-number) svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}
.reception-tab-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  color: var(--sb-world-action);
  background: #e1ebdf;
  border-radius: 50%;
}
.reception-tab[aria-selected="true"] .reception-tab-icon {
  color: var(--desk-blue);
  background: var(--sb-world-gold);
}
.reception-tab-end {
  display: grid;
  justify-items: center;
  width: .9rem;
  font-weight: 750;
  color: var(--sb-world-gold);
}
.reception-tab[aria-selected="false"] .reception-tab-end::after {
  content: "";
  width: .42rem;
  height: .42rem;
  border: solid var(--sb-world-action);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.reception-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  background: var(--sb-world-paper);
}
.reception-fallback a {
  padding: .65rem;
  color: var(--sb-world-action);
}
.reception-live, .reception .contact-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.reception-form, .reception-panel {
  scroll-margin-block-start: .65rem;
}
.reception .cf {
  --cf-ink: var(--desk-ink);
  --cf-value-ink: #202020;
  --cf-blue: var(--desk-blue);
  --cf-paper: var(--sb-world-paper);
  --cf-section-gap: 1.5rem;
  background: transparent;
}
.reception .cf-wrap {
  max-width: none;
  padding: clamp(1.2rem, 2.6vw, 2.2rem) 0 0;
}
.reception .cf-form-heading {
  padding: .25rem 0 .85rem;
  margin: 0 0 1rem;
  border-bottom: 2px solid var(--desk-edge);
}
.reception .cf-form-heading .cf-form-eyebrow {
  display: none;
}
.reception .cf-form-heading .cf-form-title, .reception-panel h2, .reception .cp-help h2 {
  margin: 0;
  color: var(--desk-blue);
  font: 700 clamp(1.42rem, 2.7vw, 2.1rem)/1.4 var(--sb-world-font-heading);
}
.reception .cf-form-heading > p:last-child {
  margin: .2rem 0 0;
}
.reception .cf-wrap:has(> .cf-form) .cf-form-heading > p:last-child {
  display: none;
}
.reception .cf-card {
  --cf-paper: var(--sb-color-white);
  background: var(--cf-paper);
  border-color: var(--desk-line);
  border-top: 3px solid var(--sb-world-wood);
  border-radius: .18rem;
}
.reception .cf-card :is(input:not([type="radio"]), select, textarea) {
  color: var(--cf-value-ink);
  border-color: #87938e;
}
.reception .cf-card ::placeholder {
  color: var(--sb-text-muted);
  opacity: 1;
}
.reception .cf-field-error {
  display: block;
  margin: .35rem 0 0;
  color: #902d20;
  font-size: .9375rem;
  font-weight: 600;
}
.reception #cf-message-title {
  scroll-margin-block-start: 6rem;
}
.reception .cf-help a {
  color: var(--desk-blue);
  text-underline-offset: .18em;
}
.reception .cf-card :is(input, select, textarea)[aria-invalid="true"] {
  border-color: #902d20;
}
.reception .reception-return {
  margin-top: 1.25rem;
  border-top: 1px solid var(--desk-line);
  padding-top: .75rem;
}
.reception .reception-return a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--desk-blue);
  font-weight: 700;
}
.reception .cf-field-icon {
  display: inline-block;
  width: 1.125rem;
  height: 1.125rem;
  flex: none;
  vertical-align: -.17em;
  color: var(--desk-blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.reception .cf-label:has(> .cf-field-icon) {
  column-gap: .35rem;
}
.reception :is(legend, .cf-heading-text) > .cf-field-icon {
  margin-inline-end: .35rem;
}
.reception .cf-wishes {
  container-type: inline-size;
}
.reception .cf-modes legend {
  font-size: 1rem;
}
.reception .cf-modes label {
  min-height: 3.5rem;
  padding: .65rem;
  color: var(--desk-ink);
  border-color: #87938e;
  font-size: 1.125rem;
  line-height: 1.45;
}
.reception .cf-modes label:has(input:checked) {
  color: var(--cf-value-ink);
  border-color: var(--desk-blue);
}
.reception .cf-modes label:has(input:focus-visible) {
  outline: 3px solid var(--sb-world-focus);
  outline-offset: 2px;
}
@container (max-width: 40rem) {
  .reception .cf-modes > div {
    grid-template-columns: 1fr;
  }
}
.reception .cf-summary {
  background: var(--sb-color-white);
  border-color: var(--desk-line);
  border-top: 3px solid var(--desk-blue);
}
.reception .cf-summary h2 {
  margin-bottom: .9rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--desk-line);
  color: var(--desk-blue);
  font: 700 1.5rem/1.4 var(--sb-world-font-heading);
}
.reception .cf-summary :is(.cf-eyebrow, dt) {
  color: #415751;
  font-size: .9375rem;
}
.reception .cf-summary .cf-design-summary strong {
  margin-top: .15rem;
  font-size: 1.1875rem;
}
.reception .cf-summary .cf-summary-details {
  margin: .65rem 0 0;
}
.reception .cf-summary .cf-summary-details + .cf-summary-details {
  margin-top: 0;
}
.reception .cf-summary .cf-summary-details > div {
  grid-template-columns: 5em minmax(0, 1fr);
  gap: .7rem;
  padding-block: .6rem;
  font-size: 1rem;
}
.reception .cf :is(.cf-review dd, .cf-summary-details dd, .cf-design-summary strong, .cf-summary-product, .cf-summary-message, .cf-confirm-message) {
  color: var(--cf-value-ink);
}
.reception .cf-summary dd {
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}
.reception .cf-summary :is(.cf-summary-product, .cf-summary-message, .cf-summary-number, .cf-small) {
  font-size: 1rem;
  line-height: 1.6;
}
.reception .cf-submit, .reception .cf-import-note {
  background: var(--sb-world-ground);
}
.reception .cf-data-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  margin-block: .65rem;
}
.reception-panel {
  width: min(100%, 52rem);
  box-sizing: border-box;
  margin: 0 auto;
  padding: clamp(1.25rem, 3.5vw, 3rem);
  background: #fffdf3;
  border-bottom: 3px double var(--desk-edge);
  box-shadow: 0 6px 18px rgb(51 64 44 / 7%);
}
.reception-panel h2 {
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--desk-line);
}
.reception-panel p {
  margin: .65rem 0;
}
.reception .cp-mail-guide {
  min-width: 0;
  overflow-wrap: anywhere;
}
.reception-mail .cp-mail-guide {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.reception-mail .contact-files-large, .reception-mail .contact-files-tip {
  order: 1;
}
.reception-mail .cp-copy {
  margin-top: .65rem;
}
.reception .contact-files-lead {
  margin: 1rem 0 .25rem;
}
.reception .contact-files-address, .reception .cp-phone-number a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}
.reception .contact-files-email {
  font-size: clamp(1.06rem, 2.1vw, 1.55rem);
  font-weight: 700;
}
.reception .contact-files-send {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 1.05rem;
  color: white;
  background: var(--desk-blue);
  border-radius: .3rem;
  font-weight: 650;
  text-decoration: none;
}
.reception .contact-files-large, .reception .contact-files-tip {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  line-height: 1.65;
}
.reception .contact-files-large {
  margin-top: 1rem;
}
.reception .contact-files-large strong, .reception .contact-files-large > span > span {
  display: block;
}
.reception .contact-files-tip, .reception .cp-help-foot {
  color: var(--sb-world-muted);
  font-size: .92rem;
}
.reception .cp-copy {
  color: var(--sb-world-action);
  background: var(--sb-world-paper);
  border: 1px solid var(--desk-line);
}
.reception .cp-copy-fallback {
  display: block;
  margin-top: .5rem;
}
.reception .cp-copy-fallback input {
  display: block;
  width: 100%;
}
.reception .cp-action-status:empty {
  display: none;
}
.reception-first-mail {
  border-block: 1px solid var(--desk-line);
  margin: 1rem 0 .5rem;
  padding-block: .4rem;
}
.reception-first-mail summary {
  cursor: pointer;
  min-height: 2.6rem;
  align-content: center;
  color: var(--sb-world-action);
  font-weight: 700;
}
.reception :is(.contact-files-large a, .reception-next) {
  color: var(--sb-world-action);
  text-underline-offset: .24em;
}
.reception .reception-next {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}
.reception .cp-phone-number {
  padding-block: 1.15rem .85rem;
}
.reception .cp-phone-number a {
  width: fit-content;
  color: var(--desk-blue);
  font-size: clamp(1.6rem, 3.5vw, 2.7rem);
  line-height: 1.35;
  text-decoration-thickness: 1px;
  text-underline-offset: .12em;
}
.reception-hours span {
  font-weight: 700;
  margin-right: .4rem;
}
.reception .cf .cf-guide-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.75rem;
  padding: .55rem .95rem;
  border: 1px solid #778e99;
  border-radius: .45rem;
  color: var(--desk-blue);
  background: #eff5f6;
  font: 700 1rem/1.45 var(--sb-world-font-body);
  text-decoration: none;
}
.reception .cf-guide-trigger::before {
  content: "";
  flex: none;
  width: 1.05rem;
  height: .85rem;
  box-sizing: border-box;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: inset 0 .16rem currentColor, -2px -2px #eff5f6, -3px -3px currentColor;
  background: linear-gradient(currentColor, currentColor) .16rem .41rem / .44rem 1px no-repeat;
}
.reception .cf .cf-guide-trigger:hover {
  color: #12364a;
  border-color: var(--desk-blue);
  background: #e1edf0;
}
.reception .cp-help {
  --guide-gutter: clamp(1rem, 4vw, 2rem);
  width: min(38rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  box-sizing: border-box;
  color: #20282c;
  background: var(--sb-color-white);
  border: 1px solid var(--desk-edge);
  border-top: 3px solid var(--desk-edge);
  border-radius: .6rem;
  overflow: hidden;
}
.reception .cp-help[open] {
  display: flex;
  flex-direction: column;
}
.reception .cp-help header {
  display: flex;
  flex: none;
  justify-content: space-between;
  align-items: center;
  gap: .65rem;
  padding: .8rem var(--guide-gutter);
  background: var(--sb-world-paper);
  border-bottom: 1px solid var(--desk-line);
}
.reception .cp-help header button {
  flex: none;
  min-height: 2.75rem;
  padding: .4rem .75rem;
  border-width: 1px;
}
.reception .cp-help-body {
  padding: clamp(1.15rem, 3vw, 1.65rem) var(--guide-gutter);
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 1rem;
  line-height: 1.8;
}
.reception .cp-help .contact-files-lead {
  margin: 0 0 .5rem;
}
.reception .cp-help .contact-files-address {
  column-gap: .55rem;
  row-gap: .8rem;
}
.reception .cp-help .contact-files-email {
  flex: 1 1 calc(100% - 2.25rem);
  min-width: 0;
  color: #202020;
  font-size: clamp(1.125rem, 2.8vw, 1.5rem);
  line-height: 1.45;
}
.reception .cp-help :is(.contact-files-send, .cp-copy) {
  min-height: 2.75rem;
  padding: .45rem .75rem;
  border-radius: .35rem;
  font-size: .9375rem;
  line-height: 1.5;
}
.reception .cp-help .cp-copy {
  color: var(--desk-blue);
  background: var(--sb-color-white);
  border-color: #84929a;
}
.reception .cp-help :is(.cp-copy-fallback, .cp-action-status) {
  flex-basis: 100%;
  margin: 0;
}
.reception .cp-help .contact-files-large {
  margin: 1.4rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid var(--desk-line);
  line-height: 1.8;
}
.reception .cp-help .contact-files-large strong {
  margin-bottom: .3rem;
}
.reception .cp-help .contact-files-tip {
  margin: 1.1rem 0 0;
  color: inherit;
  font-size: 1rem;
  line-height: 1.8;
}
.reception .cp-help :is(.contact-files-large, .contact-files-tip) svg {
  margin-top: .15rem;
  color: var(--desk-blue);
}
.reception .cp-help .cp-help-foot {
  margin: 1.25rem 0 0;
  padding-top: .8rem;
  color: #35444b;
  border-top: 1px solid var(--desk-line);
}
.reception .cp-help::backdrop {
  background: rgb(25 48 52 / 60%);
}

@media (max-width: 400px) {
  .reception .cp-help {
    width: calc(100% - 1rem);
  }
  .reception .cp-help h2 {
    font-size: 1.25rem;
  }
  .reception .cp-help .contact-files-email {
    font-size: 1.0625rem;
  }
}

@media (max-width: 960px) {
  .reception-tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    padding: .2rem;
  }
  .reception-tab {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 3rem;
    padding: .4rem .8rem;
  }
  .reception-tab-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
  .reception-tab-copy {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0 .9rem;
  }
  .reception-tab small {
    margin: 0;
  }
  .reception-tab[aria-selected="true"] {
    box-shadow: inset .25rem 0 0 var(--sb-world-gold);
  }
}
@media (max-width: 759px) {
  body.page-contact:has(.reception) {
    background-image: linear-gradient(180deg, rgb(255 251 236 / 12%) 3rem, var(--sb-world-ground) 23rem),
      url("/assets/img/home-hero-v1/sky-tall-v01.webp");
    background-size: auto, 100% auto;
  }
  .reception-opening {
    grid-template-columns: minmax(0, 1fr) clamp(3.1rem, 18vw, 6.4rem);
    gap: .45rem;
    padding-top: .25rem;
  }
  .reception-title {
    padding-block: .55rem .8rem;
  }
  .reception-title p {
    margin-top: .35rem;
    font-size: .91rem;
    line-height: 1.6;
  }
  .reception-host {
    height: clamp(5.6rem, 18vw, 7rem);
  }
  .reception .cf-form-heading {
    padding-top: 0;
    margin-bottom: .65rem;
  }
  .reception .cf-form-heading > p:last-child {
    font-size: .91rem;
  }
  .reception .cf-wrap {
    padding-top: 1rem;
  }
  .reception .cf-card {
    padding: .95rem clamp(.7rem, 3.1vw, 1.1rem);
  }
  .reception .cf-modes label {
    min-height: 3rem;
    font-size: 1rem;
  }
}
@media (max-width: 540px) {
  .reception-tab {
    min-height: 3.4rem;
    padding-inline: .65rem;
  }
  .reception-tab-copy {
    display: block;
  }
  .reception-tab small {
    font-size: .78rem;
  }
  .reception-panel {
    padding-inline: clamp(.8rem, 3.8vw, 1.35rem);
  }
}
