/* ======================================================================
   BILA RPA / トップページのお問い合わせ
   01 共通 / 02 折り畳みカード / 03 入力フォーム / 04 内容確認
   05 スマートフォン / 06 動き・印刷

   このファイルのスタイルは #contact の内側だけに適用します。
   既存のページを変更せず、色・余白・文字サイズをここで調整できます。
   ====================================================================== */

/* 01. 共通 -------------------------------------------------------------- */

#contact.bc-contact {
    --bc-navy: #0b1d36;
    --bc-ink: #10213a;
    --bc-muted: #53687d;
    --bc-line: #cbd7e2;
    --bc-lime: #b9f227;
    --bc-cyan: #16c7e8;
    --bc-focus: #007b9b;
    position: relative;
    padding: 36px 0 100px;
    color: var(--bc-ink);
    background: #ffffff;
    font-size: 18px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    scroll-margin-top: 20px;
}

#contact > .container {
    width: min(1180px, calc(100% - 48px));
}

#contact [hidden] {
    display: none !important;
}

#contact .bc-contact__anchor {
    display: block;
    height: 0;
    scroll-margin-top: 20px;
}

#contact .bc-contact__disclosure {
    min-width: 0;
    border: 1px solid #d9e3ea;
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgb(11 29 54 / 10%);
}

#contact .bc-contact__disclosure:not([open]) > .bc-contact__body {
    display: none;
}

#contact :is(input, select, textarea, button, a, summary):focus-visible {
    outline: 3px solid var(--bc-focus);
    outline-offset: 3px;
}

/* 02. ALTINO の写真を使った折り畳みカード -------------------------------- */

#contact .bc-contact__summary {
    position: relative;
    display: grid;
    grid-template-columns: 1.13fr 0.87fr;
    min-height: 420px;
    padding: 0;
    border-radius: 31px;
    color: #ffffff;
    background:
        radial-gradient(ellipse at 82% 48%, rgb(22 199 232 / 17%), transparent 45%),
        linear-gradient(120deg, #0b1d36 32%, #102d49 100%);
    cursor: pointer;
    list-style: none;
    isolation: isolate;
    overflow: hidden;
}

#contact .bc-contact__summary::-webkit-details-marker {
    display: none;
}

#contact .bc-contact__summary::marker {
    content: "";
}

#contact .bc-contact__summary::before {
    position: absolute;
    z-index: -1;
    inset: 0 0 0 42%;
    background-image:
        linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
    background-size: 38px 38px;
    content: "";
    pointer-events: none;
}

#contact .bc-contact__summary:focus-visible {
    outline: 4px solid var(--bc-cyan);
    outline-offset: -6px;
}

#contact .bc-contact__disclosure[open] > .bc-contact__summary {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

#contact .bc-contact__summary-copy {
    z-index: 2;
    display: block;
    min-width: 0;
    padding: 38px 0 40px 42px;
}

#contact .bc-contact__eyebrow {
    display: block;
    margin: 0 0 12px;
    color: var(--bc-lime);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.12em;
}

#contact .bc-contact__title {
    display: block;
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(30px, 3.3vw, 40px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

#contact .bc-contact__lead {
    display: block;
    max-width: 540px;
    margin: 0 0 18px;
    color: #d4e1ed;
    font-size: 18px;
    line-height: 1.85;
}

#contact .bc-contact__audiences {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 21px;
}

#contact .bc-contact__audiences > span {
    display: inline-flex;
    align-items: center;
    min-height: 33px;
    padding: 3px 12px;
    border: 1px solid #60809a;
    border-radius: 999px;
    color: #e7eff5;
    background: rgb(255 255 255 / 5%);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

#contact .bc-contact__summary-action {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    max-width: 100%;
    padding: 10px 14px 10px 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--bc-navy);
    background: var(--bc-lime);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
    transition: background-color 180ms ease, box-shadow 180ms ease;
}

#contact .bc-contact__summary:hover .bc-contact__summary-action {
    background: #cef861;
    box-shadow: 0 0 0 5px rgb(185 242 39 / 11%);
}

#contact .bc-contact__toggle {
    display: inline-grid;
    flex: 0 0 32px;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgb(11 29 54 / 25%);
    border-radius: 50%;
    font-family: Arial, sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    transition: transform 180ms ease;
}

#contact .bc-contact__disclosure[open] .bc-contact__toggle {
    transform: rotate(45deg);
}

#contact .bc-contact__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 350px;
    padding: 32px 24px 58px 10px;
    pointer-events: none;
}

#contact .bc-contact__visual::before {
    position: absolute;
    top: 11%;
    right: -6%;
    bottom: 8%;
    left: -15%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgb(22 199 232 / 15%), transparent 64%);
    content: "";
}

#contact .bc-contact__orbit {
    position: absolute;
    top: 19%;
    left: 6%;
    width: 82%;
    aspect-ratio: 1;
    border: 1px solid rgb(112 219 239 / 24%);
    border-radius: 50%;
    transform: rotate(-18deg) scaleY(0.7);
}

#contact .bc-contact__orbit::before,
#contact .bc-contact__orbit::after {
    position: absolute;
    inset: 14%;
    border: 1px solid rgb(112 219 239 / 12%);
    border-radius: 50%;
    content: "";
}

#contact .bc-contact__orbit::after {
    inset: 29%;
}

#contact .bc-contact__photo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 26px rgb(0 0 0 / 33%));
    transform: rotate(-5deg);
    transition: transform 240ms ease;
}

#contact .bc-contact__summary:hover .bc-contact__photo {
    transform: translateY(-4px) rotate(-5deg);
}

#contact .bc-contact__photo-caption {
    position: absolute;
    right: 30px;
    bottom: 28px;
    display: block;
    max-width: calc(100% - 54px);
    padding: 5px 0 5px 13px;
    border-left: 2px solid var(--bc-cyan);
    color: #c9e1ed;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    text-align: right;
}

/* 03. 個人・法人の選択と入力フォーム ------------------------------------ */

#contact .bc-contact__body {
    min-width: 0;
    padding: 42px 48px 34px;
    border-radius: 0 0 31px 31px;
    background: #ffffff;
}

#contact .bc-contact__form-head {
    margin-bottom: 27px;
}

#contact .bc-contact__form-head h3,
#contact .bc-contact__preview-heading h3 {
    margin: 0 0 12px;
    color: var(--bc-ink);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: -0.035em;
}

#contact .bc-contact__form-head p,
#contact .bc-contact__preview-heading > p:not(.bc-contact__eyebrow) {
    margin: 0;
    color: var(--bc-muted);
    font-size: 17px;
    line-height: 1.85;
}

#contact .bc-contact__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
}

#contact .bc-contact__steps > li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    min-height: 60px;
    padding: 10px;
    border: 1px solid #dbe4eb;
    border-radius: 11px;
    color: #50677c;
    background: #f2f6f9;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

#contact .bc-contact__steps > li > span {
    display: inline-grid;
    flex: 0 0 28px;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #4c647a;
    background: #e1e9ef;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

#contact .bc-contact__steps > li:is(.is-current, [aria-current="step"]) {
    border-color: var(--bc-navy);
    color: #ffffff;
    background: var(--bc-navy);
}

#contact .bc-contact__steps > li:is(.is-current, [aria-current="step"]) > span {
    color: var(--bc-navy);
    background: var(--bc-lime);
}

#contact .bc-contact__form {
    margin: 0;
}

#contact .bc-contact__fieldset {
    min-width: 0;
    margin: 0 0 32px;
    padding: 0;
    border: 0;
}

#contact .bc-contact__fieldset > legend {
    display: block;
    width: 100%;
    margin-bottom: 16px;
    padding: 0;
    color: var(--bc-ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.65;
}

#contact .bc-contact__fieldset > legend :is(.bc-contact__required, .bc-contact__optional) {
    margin-left: 8px;
}

#contact .bc-contact__legend-no {
    margin-right: 11px;
    color: #087694;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

#contact .bc-contact__audience-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#contact .bc-contact__audience-option {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    min-height: 100px;
    padding: 21px 22px;
    border: 2px solid #d4dee7;
    border-radius: 16px;
    background: #ffffff;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

#contact .bc-contact__audience-option > span {
    min-width: 0;
}

#contact .bc-contact__audience-option strong,
#contact .bc-contact__audience-option small {
    display: block;
}

#contact .bc-contact__audience-option strong {
    color: var(--bc-ink);
    font-size: 21px;
    line-height: 1.5;
}

#contact .bc-contact__audience-option small {
    margin-top: 5px;
    color: var(--bc-muted);
    font-size: 16px;
    line-height: 1.6;
}

#contact .bc-contact__audience-option:has(input:checked) {
    border-color: #087b9a;
    background: #edf8fb;
    box-shadow: inset 0 0 0 1px #087b9a;
}

#contact .bc-contact__audience-option:hover,
#contact .bc-contact__topic:hover {
    border-color: #5d95aa;
    background-color: #f1f8fb;
}

#contact .bc-contact__audience-option:focus-within,
#contact .bc-contact__topic:focus-within {
    outline: 2px solid var(--bc-focus);
    outline-offset: 3px;
}

#contact .bc-contact__topics-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

#contact .bc-contact__topic {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 0;
    min-height: 60px;
    padding: 15px 17px;
    border: 1px solid #c9d7e2;
    border-radius: 12px;
    color: var(--bc-ink);
    background: #f8fafc;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.65;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

#contact .bc-contact__topic:has(input:checked) {
    border-color: #3a7f92;
    background: #edf8fb;
    box-shadow: inset 0 0 0 1px #3a7f92;
}

#contact :is(.bc-contact__audience-option, .bc-contact__topic, .bc-contact__consent) > input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 4px 0 0;
    accent-color: #087b9a;
    cursor: pointer;
}

#contact .bc-contact__hint,
#contact .bc-contact__mail-caption,
#contact .bc-contact__privacy-note {
    margin: 10px 0 0;
    color: var(--bc-muted);
    font-size: 16px;
    line-height: 1.8;
}

#contact .bc-contact__fieldset > .bc-contact__hint:first-of-type {
    margin-top: 0;
    margin-bottom: 14px;
}

#contact .bc-contact__field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 24px;
}

#contact .bc-contact__field {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    gap: 8px;
    color: var(--bc-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}

#contact .bc-contact__field--wide {
    grid-column: 1 / -1;
}

#contact .bc-contact__field > span:first-child {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* 個人向けの曜日・時間帯。固定曜日は入力できないことを色と文字で示します。 */
#contact .bc-contact__schedule-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0 0 22px;
    padding: 14px 18px;
    border-left: 3px solid var(--bc-cyan);
    border-radius: 0 10px 10px 0;
    color: var(--bc-ink);
    background: #edf7fa;
    font-size: 16px;
    line-height: 1.8;
}

#contact .bc-contact__schedule-guide strong {
    margin-left: 6px;
    color: #076980;
    white-space: nowrap;
}

#contact .bc-contact__fixed-label {
    padding: 2px 8px;
    border-radius: 5px;
    color: #076980;
    background: #e5f3f6;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

#contact .bc-contact__field--fixed input[readonly] {
    border-color: #b5cdd6;
    color: #17465b;
    background: #f0f6f8;
    font-weight: 700;
    box-shadow: none;
}

#contact .bc-contact__schedule-status {
    margin: 16px 0 0;
    color: #076980;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8;
}

#contact .bc-contact__required,
#contact .bc-contact__optional {
    display: inline-block;
    flex: 0 0 auto;
    padding: 1px 8px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

#contact .bc-contact__required {
    color: #923b26;
    background: #fceee8;
}

#contact .bc-contact__optional {
    color: #536779;
    background: #eef2f5;
}

#contact .bc-contact__field :is(input, select, textarea),
#contact .bc-contact__mail-row input,
#contact .bc-contact__mail-body {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid #9eafc0;
    border-radius: 10px;
    color: var(--bc-ink);
    background: #ffffff;
    font: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    box-shadow: inset 0 1px 2px rgb(11 29 54 / 3%);
}

#contact .bc-contact__field select {
    padding-right: 32px;
}

#contact .bc-contact__field textarea {
    min-height: 160px;
    resize: vertical;
}

#contact .bc-contact__field :is(input, textarea)::placeholder {
    color: #62778a;
    opacity: 1;
}

#contact .bc-contact__field :is(input, select, textarea):hover {
    border-color: #547d95;
}

#contact .bc-contact__field :is(input, select, textarea):focus {
    border-color: var(--bc-focus);
}

#contact [aria-invalid="true"] {
    border-color: #b23b35 !important;
    background-color: #fff8f6;
}

#contact .bc-contact__counter {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 7px 0 0;
    color: var(--bc-muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

#contact .bc-contact__counter .bc-contact__hint {
    margin: 0;
}

#contact #bc-message-count {
    margin-left: auto;
}

#contact .bc-contact__consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 30px 0 22px;
    padding: 21px 23px;
    border: 1px solid #d7e1e9;
    border-radius: 12px;
    color: #354d64;
    background: #f5f8fa;
    font-size: 16px;
    line-height: 1.9;
    cursor: pointer;
}

#contact :is(.bc-contact__consent, .bc-contact__privacy-note, .bc-contact__direct, .bc-contact__noscript) a {
    color: #006d8a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#contact .bc-contact__form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    margin-top: 28px;
    text-align: center;
}

#contact .bc-contact__form-actions .bc-contact__hint {
    margin-top: 0;
}

#contact .bc-contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 56px;
    max-width: 100%;
    margin: 0;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.55;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

#contact .bc-contact__button--primary {
    color: var(--bc-navy);
    background: var(--bc-lime);
    box-shadow: 0 8px 24px rgb(103 145 3 / 12%);
}

#contact .bc-contact__button--primary:hover {
    border-color: #91c514;
    background: #ccf85e;
    box-shadow: 0 8px 28px rgb(103 145 3 / 20%);
}

#contact .bc-contact__button--secondary {
    border-color: #9eb2c3;
    color: var(--bc-navy);
    background: #ffffff;
}

#contact .bc-contact__button--secondary:hover {
    border-color: #087b9a;
    background: #edf8fb;
}

#contact .bc-contact__button[aria-disabled="true"],
#contact .bc-contact__button:disabled {
    color: #586b79;
    background: #e7edf1;
    box-shadow: none;
    cursor: not-allowed;
}

#contact .bc-contact__errors {
    margin-bottom: 30px;
    padding: 20px 24px;
    border: 1px solid #d9a39c;
    border-left: 4px solid #b03931;
    border-radius: 10px;
    color: #812c27;
    background: #fff5f2;
    font-size: 16px;
    line-height: 1.8;
}

#contact .bc-contact__errors p {
    margin: 0 0 8px;
    font-weight: 800;
}

#contact .bc-contact__errors ul {
    margin-bottom: 0;
    padding-left: 1.3em;
}

#contact .bc-contact__errors a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#contact .bc-contact__field-error {
    margin: 10px 0 0;
    color: #a12e27;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

/* 04. メールの内容確認とコピー ------------------------------------------ */

#contact .bc-contact__preview {
    min-width: 0;
    margin: 0;
    padding: 0;
    scroll-margin-top: 18px;
}

#contact .bc-contact__preview-heading {
    margin-bottom: 25px;
}

#contact .bc-contact__preview-heading .bc-contact__eyebrow {
    margin-bottom: 10px;
    color: #00738f;
}

#contact .bc-contact__review-type {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin: 0 0 23px;
    padding: 5px 14px;
    border: 1px solid #bcdae2;
    border-radius: 999px;
    color: #07596f;
    background: #edf8fb;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}

#contact .bc-contact__mail-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 16px;
    min-width: 0;
    margin-bottom: 14px;
}

#contact .bc-contact__mail-row > label,
#contact .bc-contact__mail-row > span:first-child,
#contact .bc-contact__mail-row > .bc-contact__mail-label {
    color: var(--bc-muted);
    font-size: 16px;
    font-weight: 700;
}

#contact .bc-contact__mail-row input[readonly] {
    border-color: #ccd8e2;
    background: #f6f8fa;
}

#contact #bc-mail-recipient {
    min-width: 0;
    color: var(--bc-ink);
    font-size: 18px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

#contact .bc-contact__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 76px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #a9becd;
    border-radius: 9px;
    color: #075c76;
    background: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease;
}

#contact .bc-contact__copy:hover {
    border-color: #087b9a;
    background: #edf8fb;
}

#contact .bc-contact__mail-body {
    min-height: 360px;
    max-height: 640px;
    padding: 21px 23px;
    border-color: #bccbd7;
    background: #f8fafb;
    font-size: 17px;
    line-height: 1.9;
    resize: vertical;
}

#contact .bc-contact__mail-caption {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 17px 0 10px;
}

#contact .bc-contact__notice,
#contact .bc-contact__noscript {
    margin: 22px 0;
    padding: 19px 23px;
    border: 1px solid #d8c696;
    border-left: 4px solid #b17b0f;
    border-radius: 10px;
    color: #665018;
    background: #fff9e9;
    font-size: 16px;
    line-height: 1.85;
}

#contact .bc-contact__preview-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 27px;
}

#contact .bc-contact__status {
    min-height: 0;
    margin: 14px 0 0;
    color: #33586b;
    font-size: 16px;
    line-height: 1.85;
}

#contact .bc-contact__status:empty {
    margin-top: 0;
}

#contact #bc-mail-status,
#contact .bc-contact__privacy-note {
    text-align: center;
}

#contact .bc-contact__direct {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 4px 17px;
    margin-top: 34px;
    padding-top: 23px;
    border-top: 1px solid #dce5ec;
    color: var(--bc-muted);
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}

#contact .bc-contact__direct p {
    margin: 0;
}

#contact .bc-contact__direct a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* 05. タブレット・スマートフォン ---------------------------------------- */

@media (max-width: 1000px) {
    #contact .bc-contact__summary {
        grid-template-columns: 1.25fr 0.75fr;
    }

    #contact .bc-contact__summary-copy {
        padding: 34px 0 35px 32px;
    }

    #contact .bc-contact__title {
        font-size: 34px;
    }

    #contact .bc-contact__visual {
        padding-right: 12px;
        padding-left: 0;
    }

    #contact .bc-contact__body {
        padding: 34px 32px 28px;
    }

    #contact .bc-contact__field-grid {
        gap: 20px;
    }
}

@media (max-width: 760px) {
    #contact.bc-contact {
        padding-top: 20px;
        padding-bottom: 68px;
    }

    #contact .bc-contact__summary {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    #contact .bc-contact__summary::before {
        inset: 32% 0 0;
    }

    #contact .bc-contact__summary-copy {
        padding: 31px 30px 0;
    }

    #contact .bc-contact__title {
        font-size: 34px;
    }

    #contact .bc-contact__lead {
        max-width: none;
    }

    #contact .bc-contact__visual {
        flex-direction: column;
        gap: 22px;
        min-height: 0;
        height: auto;
        padding: 20px 30px 26px;
    }

    #contact .bc-contact__photo {
        width: 330px;
        max-width: 88%;
        max-height: 218px;
    }

    #contact .bc-contact__photo-caption {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: 100%;
        padding: 3px 0 3px 10px;
        text-align: center;
        text-wrap: balance;
    }

    #contact .bc-contact__orbit {
        top: -10%;
        left: 19%;
        width: 62%;
    }

    #contact .bc-contact__body {
        padding: 31px 28px 25px;
    }

    #contact .bc-contact__audience-option {
        gap: 10px;
        padding: 18px 15px;
    }

    #contact .bc-contact__audience-option strong {
        font-size: 19px;
    }

    #contact .bc-contact__field-grid,
    #contact .bc-contact__topics-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #contact .bc-contact__mail-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px 12px;
        margin-bottom: 20px;
    }

    #contact .bc-contact__mail-row > label,
    #contact .bc-contact__mail-row > span:first-child,
    #contact .bc-contact__mail-row > .bc-contact__mail-label {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    #contact > .container {
        width: calc(100% - 32px);
    }

    #contact .bc-contact__disclosure {
        border-radius: 23px;
    }

    #contact .bc-contact__summary {
        border-radius: 22px;
    }

    #contact .bc-contact__summary-copy {
        padding: 27px 22px 0;
    }

    #contact .bc-contact__eyebrow {
        font-size: 16px;
        letter-spacing: 0.055em;
    }

    #contact .bc-contact__title {
        font-size: clamp(26px, 7.3vw, 32px);
        line-height: 1.55;
    }

    #contact .bc-contact__lead {
        font-size: 17px;
        line-height: 1.85;
    }

    #contact .bc-contact__audiences {
        gap: 7px;
        margin-bottom: 19px;
    }

    #contact .bc-contact__audiences > span {
        padding-right: 10px;
        padding-left: 10px;
    }

    #contact .bc-contact__summary-action {
        gap: 12px;
        min-height: 52px;
        padding-left: 17px;
        font-size: 16px;
    }

    #contact .bc-contact__visual {
        gap: 20px;
        height: auto;
        padding: 20px 22px 24px;
    }

    #contact .bc-contact__photo {
        max-width: 90%;
        max-height: 184px;
    }

    #contact .bc-contact__photo-caption {
        right: auto;
        bottom: auto;
        font-size: 16px;
    }

    #contact .bc-contact__body {
        padding: 27px 19px 23px;
        border-radius: 0 0 22px 22px;
    }

    #contact .bc-contact__form-head h3,
    #contact .bc-contact__preview-heading h3 {
        font-size: 24px;
    }

    #contact .bc-contact__form-head p,
    #contact .bc-contact__preview-heading > p:not(.bc-contact__eyebrow) {
        font-size: 16px;
    }

    #contact .bc-contact__steps {
        gap: 5px;
        margin-bottom: 29px;
    }

    #contact .bc-contact__steps > li {
        flex-direction: column;
        gap: 5px;
        padding: 11px 3px;
        border-radius: 9px;
        font-size: 16px;
        text-align: center;
    }

    #contact .bc-contact__steps > li > span {
        flex-basis: 26px;
        width: 26px;
        height: 26px;
    }

    #contact .bc-contact__fieldset {
        margin-bottom: 28px;
    }

    #contact .bc-contact__fieldset > legend {
        font-size: 19px;
    }

    #contact .bc-contact__audience-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    #contact .bc-contact__audience-option {
        min-height: 88px;
        padding: 16px;
    }

    #contact .bc-contact__topic {
        padding: 14px 12px;
        font-size: 16px;
    }

    #contact .bc-contact__field-grid {
        gap: 20px;
    }

    #contact .bc-contact__field {
        font-size: 16px;
    }

    #contact .bc-contact__field :is(input, select, textarea),
    #contact .bc-contact__mail-row input {
        padding: 12px;
        font-size: 16px;
    }

    #contact .bc-contact__consent {
        gap: 10px;
        padding: 16px 13px;
    }

    #contact .bc-contact__button {
        width: 100%;
        padding: 14px 18px;
        font-size: 16px;
    }

    #contact .bc-contact__mail-row {
        grid-template-columns: minmax(0, 1fr);
    }

    #contact .bc-contact__mail-row .bc-contact__copy {
        justify-self: start;
    }

    #contact #bc-mail-recipient {
        font-size: 17px;
    }

    #contact .bc-contact__mail-body {
        min-height: 360px;
        padding: 15px 12px;
        font-size: 16px;
    }

    #contact .bc-contact__preview-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    #contact .bc-contact__notice,
    #contact .bc-contact__noscript,
    #contact .bc-contact__errors {
        padding: 17px 15px;
    }

    #contact .bc-contact__direct {
        gap: 3px;
        margin-top: 27px;
        padding-top: 19px;
    }
}

/* 06. 動きを抑える設定・印刷 -------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    #contact *,
    #contact *::before,
    #contact *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    #contact .bc-contact__summary:hover .bc-contact__photo {
        transform: rotate(-5deg);
    }
}

@media print {
    #contact.bc-contact {
        display: none !important;
    }
}
