*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box
}

html {
scroll-behavior: smooth
}

body {
font-family: "Noto Sans JP", sans-serif;
color: #313131;
background: #fffaf1;
overflow-x: hidden
}

button,
input,
select,
textarea {
font: inherit
}

button {
border: 0
}

a {
color: inherit
}

.contact-page {
--turquoise: #14b8be;
--turquoise-dark: #079fa8;
--yellow: #f4c72d;
--cream: #fff7e9;
--line: #ddd5c8;
--dark: #313131;
--gray: #78736c;
--red: #e73333;
min-height: 100vh
}

.contact-hero {
padding: 90px 20px 50px
}

.contact-hero-inner {
width: min(1120px, 92%);
margin: 0 auto
}

.contact-en {
margin-bottom: 10px;
color: var(--turquoise);
font-size: 11px;
font-weight: 800;
letter-spacing: .25em
}

.contact-hero h1 {
font-size: clamp(30px, 4vw, 46px);
line-height: 1.35;
letter-spacing: .04em
}

.contact-hero p:last-child {
margin-top: 20px;
color: #77716a;
font-size: 12px;
line-height: 2;
letter-spacing: .03em
}

.contact-section {
padding: 30px 20px 120px
}

.contact-layout {
width: min(1120px, 94%);
margin: 0 auto;
display: grid;
grid-template-columns: 125px minmax(0, 720px);
gap: 70px;
align-items: start
}

.contact-main {
min-width: 0
}

.contact-step {
position: sticky;
top: 50px;
padding-top: 22px
}

.step-item {
display: flex;
align-items: center;
gap: 12px;
color: #bbb4aa
}

.step-number {
width: 34px;
height: 34px;
flex-shrink: 0;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid #cbc4b9;
border-radius: 50%;
background: #fff;
font-size: 10px;
font-weight: 800
}

.step-label {
font-size: 12px;
font-weight: 700
}

.step-item.active {
color: var(--red)
}

.step-item.active .step-number {
border-color: var(--red);
color: var(--red)
}

.step-item.complete {
color: var(--turquoise)
}

.step-item.complete .step-number {
border-color: var(--turquoise);
background: var(--turquoise);
color: #fff
}

.step-line {
width: 1px;
height: 30px;
margin-left: 17px;
background: #d8d2c8
}

.contact-form {
width: 100%
}

.form-step {
display: none
}

.form-step.active {
display: block
}

.form-note {
margin-bottom: 38px;
color: #756f67;
font-size: 11px
}

.form-group {
margin-bottom: 30px
}

.form-group label,
.form-label,
.form-group legend {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 10px;
color: #3d3935;
font-size: 12px;
font-weight: 700
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
width: 100%;
border: 1px solid #bcb8b0;
border-radius: 2px;
background: #fff;
color: #333;
outline: none;
transition: border-color .25s ease, box-shadow .25s ease
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
height: 48px;
padding: 0 14px
}

.form-group textarea {
min-height: 180px;
padding: 14px;
resize: vertical;
line-height: 1.8
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
border-color: var(--turquoise);
box-shadow: 0 0 0 3px rgba(20, 184, 190, .09)
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: #b2ada5
}

.required-badge {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 31px;
height: 17px;
padding: 0 6px;
background: var(--red);
color: #fff;
font-size: 8px;
font-weight: 800;
line-height: 1
}

.form-group-small {
max-width: 170px
}

.input-with-unit {
display: flex;
align-items: center;
gap: 10px
}

.input-with-unit input {
width: 90px !important
}

.input-with-unit span {
font-size: 12px
}

.radio-group {
display: flex;
flex-wrap: wrap;
gap: 18px
}

.radio-item {
margin: 0 !important;
display: inline-flex !important;
align-items: center;
gap: 7px !important;
cursor: pointer
}

.radio-item input {
accent-color: var(--turquoise)
}

.address-group {
border: 0;
padding: 0
}

.address-row {
margin-top: 16px
}

.address-row label {
margin-bottom: 8px;
font-size: 10px;
font-weight: 600;
color: #77716a
}

.address-row.split {
display: grid;
grid-template-columns: 1fr 1.4fr;
gap: 14px
}

.postal-row {
display: grid;
grid-template-columns: 180px 1fr;
gap: 16px;
align-items: end
}

.postal-note {
padding-bottom: 13px;
font-size: 9px;
line-height: 1.6;
color: #9a948c
}

.select-wrap {
position: relative
}

.select-wrap::after {
content: "⌄";
position: absolute;
top: 50%;
right: 15px;
transform: translateY(-55%);
color: var(--red);
pointer-events: none
}

.select-wrap select {
appearance: none;
padding-right: 42px
}

.file-input {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
pointer-events: none
}

.file-button {
width: 100%;
max-width: 420px;
min-height: 48px;
margin-bottom: 0 !important;
display: flex !important;
align-items: center;
gap: 14px !important;
cursor: pointer
}

.file-button > span:first-child {
height: 40px;
padding: 0 18px;
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 3px;
background: #c5c5c5;
color: #fff;
font-size: 10px;
font-weight: 700
}

.file-name {
min-width: 0;
overflow: hidden;
color: #8d877f;
font-size: 10px;
font-weight: 400;
text-overflow: ellipsis;
white-space: nowrap
}

.file-note {
margin-top: 8px;
color: #9b958c;
font-size: 9px
}

.agreement-area {
margin-top: 48px;
padding-top: 30px;
border-top: 1px solid #e6ded2
}

.check-item {
margin-bottom: 13px;
display: flex;
align-items: flex-start;
gap: 10px;
color: #5f5a53;
font-size: 11px;
cursor: pointer
}

.check-item input {
margin-top: 3px;
accent-color: var(--turquoise)
}

.check-item a {
color: var(--red);
text-underline-offset: 3px
}

.error-message {
min-height: 0;
margin-top: 6px;
color: var(--red);
font-size: 10px;
line-height: 1.5
}

.is-error {
border-color: var(--red) !important
}

.form-actions {
margin-top: 48px;
display: flex;
justify-content: flex-end;
gap: 14px
}

.primary-button,
.secondary-button {
min-width: 240px;
height: 58px;
padding: 0 24px;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 24px;
cursor: pointer;
text-decoration: none;
font-size: 12px;
font-weight: 800;
letter-spacing: .06em;
transition: transform .3s ease, box-shadow .3s ease, background .3s ease
}

.primary-button {
background: linear-gradient(100deg, #13b7bf, #91c68d);
color: #fff;
box-shadow: 0 10px 25px rgba(18, 183, 191, .13)
}

.primary-button:hover {
transform: translateY(-2px);
box-shadow: 0 14px 28px rgba(18, 183, 191, .2)
}

.primary-button:disabled {
opacity: .55;
cursor: wait;
transform: none
}

.secondary-button {
border: 1px solid #cfc8bd;
background: #fff;
color: #6c665f
}

.confirm-heading {
margin-bottom: 38px
}

.confirm-heading h2 {
font-size: clamp(24px, 3vw, 34px);
line-height: 1.5
}

.confirm-heading > p:last-child {
margin-top: 12px;
color: #817a72;
font-size: 11px;
line-height: 1.8
}

.confirm-list {
border-top: 1px solid var(--line)
}

.confirm-row {
display: grid;
grid-template-columns: 190px 1fr;
border-bottom: 1px solid var(--line)
}

.confirm-label,
.confirm-value {
padding: 19px 16px;
font-size: 12px;
line-height: 1.8
}

.confirm-label {
background: #f4eee4;
font-weight: 700
}

.confirm-value {
background: #fff;
white-space: pre-wrap;
overflow-wrap: anywhere
}

.complete-box {
padding: 70px 35px;
text-align: center;
background: #fff;
border-top: 3px solid var(--yellow);
border-bottom: 3px solid var(--yellow)
}

.complete-icon {
width: 64px;
height: 64px;
margin: 0 auto 24px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
background: var(--turquoise);
color: #fff;
font-size: 24px;
font-weight: 800
}

.complete-box h2 {
font-size: clamp(24px, 3vw, 34px)
}

.complete-box > p:not(.contact-en) {
margin-top: 20px;
color: #77716a;
font-size: 12px;
line-height: 2
}

.complete-link {
margin-top: 35px
}

@media(max-width:800px) {
.contact-hero {
padding: 65px 18px 35px
}

.contact-section {
padding: 10px 16px 90px
}

.contact-layout {
width: min(620px, 100%);
grid-template-columns: 1fr;
gap: 32px
}

.contact-step {
position: static;
padding-top: 0;
display: flex;
align-items: center
}

.step-item {
flex-direction: column;
gap: 6px
}

.step-line {
width: 42px;
height: 1px;
margin: 0 10px 22px
}

.address-row.split,
.postal-row {
grid-template-columns: 1fr
}

.postal-note {
padding-bottom: 0
}

.confirm-row {
grid-template-columns: 135px 1fr
}
}

@media(max-width:520px) {
.pc-only {
display: none
}

.contact-hero h1 {
font-size: 27px
}

.contact-hero p:last-child {
font-size: 11px
}

.contact-step {
justify-content: center
}

.step-number {
width: 30px;
height: 30px
}

.step-label {
font-size: 10px
}

.step-line {
width: 30px;
margin-left: 7px;
margin-right: 7px
}

.form-group {
margin-bottom: 25px
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select {
height: 46px
}

.radio-group {
gap: 12px 15px
}

.confirm-row {
grid-template-columns: 1fr
}

.confirm-label {
padding-bottom: 8px
}

.confirm-value {
padding-top: 10px
}

.form-actions,
.confirm-actions {
flex-direction: column-reverse
}

.primary-button,
.secondary-button {
width: 100%;
min-width: 0
}

.complete-box {
padding: 55px 20px
}
}

/* =========================================
CONTACT COLOR OVERRIDE
白背景 ＋ 赤 → 青
========================================= */

.contact-page {
    --cream: #ffffff;
    --red: #168bd2;
}

/* ページ全体を白に */
html,
body,
.contact-page,
.contact-section {
    background: #ffffff !important;
}


/* 必須ラベル */
.required-badge {
    background: #168bd2 !important;
    color: #ffffff !important;
}


/* STEP：現在位置 */
.step-item.active {
    color: #168bd2 !important;
}

.step-item.active .step-number {
    border-color: #168bd2 !important;
    color: #168bd2 !important;
}


/* エラーメッセージ */
.error-message {
    color: #168bd2 !important;
}

.is-error {
    border-color: #168bd2 !important;
}


/* セレクト右側の矢印 */
.select-wrap::after {
    color: #168bd2 !important;
}


/* プライバシーポリシー・利用規約 */
.check-item a {
    color: #168bd2 !important;
}