@charset "utf-8";
/* ========================================
CONTACT専用PAGE HEADER
======================================== */
.contact-page-header {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: normal;
}
.contact-page-header__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 45%;
  opacity: .75;
  filter: grayscale(100%);
}
.contact-page-header__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 15%) 25%, rgb(0 0 0 / 75%) 100%),
    linear-gradient(90deg, rgb(0 0 0 / 65%), rgb(0 0 0 / 20%) 65%, rgb(0 0 0 / 10%));
}
.contact-page-header__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  min-height: 620px;
  margin: 0 auto;
  padding: 56px 20px;
}
.contact-page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgb(255 255 255 / 60%);
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 2.2px;
}
.contact-page-header__breadcrumb a { color: inherit; text-decoration: none; }
.contact-page-header__breadcrumb [aria-current="page"] { color: #fff; }
.contact-page-header__breadcrumb a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.contact-page-header__content { min-width: 0; }
.contact-page-header__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 2.4px;
}
.contact-page-header__label::before {
  content: '';
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: #e21717;
}
.contact-page-header__title {
  margin: 24px 0 0 -.025em;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(72px, 13vw, 208px);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.contact-page-header__summary {
  max-width: 672px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgb(255 255 255 / 35%);
}
.contact-page-header__text {
  min-width: 0;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 36px;
  text-align: left;
  overflow-wrap: break-word;
}
@media (min-width: 768px) {
  .contact-page-header__inner { min-height: 740px; padding: 80px 40px; }
  .contact-page-header__text { font-size: 24px; line-height: 40px; }
}
@media (min-width: 1024px) {
  .contact-page-header__inner { padding-right: 56px; padding-left: 56px; }
}

/* ========================================
contact access
======================================== */

/* MIX版：アクセス導入・地図情報 */
.contact-access-intro { padding: clamp(80px, 10vw, 144px) clamp(20px, 4vw, 56px); background: #f1f0ec; color: #000; font-family: 'Noto Sans JP', sans-serif; letter-spacing: normal; }
.contact-access-intro__inner { display: grid; gap: 48px; max-width: 1600px; margin: 0 auto; }
.contact-access-intro__heading, .contact-access-intro__lead { min-width: 0; }
.contact-access-intro__label, .contact-location__info-label { margin: 0; color: #e21717; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 600; line-height: 18px; letter-spacing: 1.8px; }
.contact-access-intro__title { margin: 20px 0 0; font-size: clamp(33.6px, 4.5vw, 72px); font-weight: 700; line-height: 1.35; letter-spacing: -.045em; }
.contact-access-intro__lead { padding-left: 24px; border-left: 4px solid #e21717; }
.contact-access-intro__lead p { margin: 0; font-size: 20px; font-weight: 700; line-height: 40px; }
.contact-location { padding: 80px 20px; background: #fff; font-family: 'Noto Sans JP', sans-serif; letter-spacing: normal; }
.contact-location__inner { max-width: 1600px; margin: 0 auto; }
.contact-location__grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid #000; border-bottom: 1px solid #000; }
.contact-location__map { position: relative; min-width: 0; min-height: 420px; background: #e7e5df; }
.contact-location__map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.contact-location__info { min-width: 0; background: #000; color: #fff; }
.contact-location__info-item { padding: 28px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.contact-location__info-item:last-child { border-bottom: 0; }
.contact-location__info-text { margin-top: 24px; font-size: 16px; font-weight: 700; line-height: 32px; }
.contact-location__info-text p { margin: 0; }
.contact-location__info-text .contact-location__station { margin-top: 20px; padding-left: 16px; border-left: 2px solid #e21717; font-size: 14px; line-height: 20px; }
.contact-location__hours-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; line-height: 20px; }
.contact-location__hours-row + .contact-location__hours-row { margin-top: 16px; }
.contact-location__hours-row span:last-child { flex-shrink: 0; font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: 1px; }
.contact-location__info-text .contact-location__closed { margin-top: 20px; padding: 12px 16px; background: #fff; color: #000; font-size: 14px; line-height: 20px; }
.contact-location__info-item:last-child .contact-location__info-text { margin-top: 16px; }
.contact-location__tel { display: block; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 41.6px; font-weight: 700; line-height: 1; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; transition: color .15s cubic-bezier(.4, 0, .2, 1); }
.contact-location__tel:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (hover: hover) {
  .contact-location__tel:hover { color: #e21717; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-location__tel { transition: none; }
}
@media (min-width: 768px) {
  .contact-access-intro__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .contact-access-intro__heading { grid-column: 1 / span 4; }
  .contact-access-intro__lead { grid-column: 6 / span 7; padding-left: 32px; }
  .contact-access-intro__lead p { font-size: 30px; line-height: 54px; }
  .contact-location { padding: 112px 40px; }
  .contact-location__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .contact-location__map { min-height: 680px; }
  .contact-location__info-item { padding: 48px; }
  .contact-location__info-text { font-size: 18px; }
  .contact-location__tel { font-size: clamp(32px, 5vw, 80px); }
}
@media (min-width: 1024px) {
  .contact-location { padding: 144px 56px; }
}

/* MIX版：初めてご来館の方へ */
.contact-visit { padding: 80px 20px; background: #e21717; color: #fff; font-family: 'Noto Sans JP', sans-serif; letter-spacing: normal; }
.contact-visit__inner { display: grid; gap: 48px; max-width: 1600px; margin: 0 auto; }
.contact-visit__heading, .contact-visit__text { min-width: 0; }
.contact-visit__label { margin: 0; color: #000; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 600; line-height: 18px; letter-spacing: 1.8px; }
.contact-visit__title { margin: 24px 0 0; font-size: 30px; font-weight: 700; line-height: 1.25; }
.contact-visit__text { font-size: 16px; font-weight: 500; line-height: 32px; }
.contact-visit__text p { margin: 0; }
.contact-visit__text p + p { margin-top: 20px; }
.contact-visit__text .contact-visit__parking { padding: 20px; border-top: 2px solid #fff; border-bottom: 2px solid #fff; background: #000; color: #fff; font-size: 20px; font-weight: 700; line-height: 28px; }
@media (min-width: 768px) {
  .contact-visit { padding: 112px 40px; }
  .contact-visit__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .contact-visit__heading { grid-column: 1 / span 4; }
  .contact-visit__title { font-size: 48px; }
  .contact-visit__text { grid-column: 6 / span 7; font-size: 18px; line-height: 36px; }
  .contact-visit__text .contact-visit__parking { padding-right: 28px; padding-left: 28px; font-size: 24px; line-height: 32px; }
}
@media (min-width: 1024px) {
  .contact-visit { padding-right: 56px; padding-left: 56px; }
}

/* MIX版：入口までのご案内 */
.contact-photos { padding: clamp(80px, 10vw, 144px) clamp(20px, 4vw, 56px); background: #f1f0ec; color: #000; font-family: 'Noto Sans JP', sans-serif; letter-spacing: normal; }
.contact-photos__inner { max-width: 1600px; margin: 0 auto; }
.contact-photos__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: 24px; border-bottom: 1px solid #000; }
.contact-photos__heading { min-width: 0; }
.contact-photos__label { margin: 0; color: #e21717; font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 600; line-height: 18px; letter-spacing: 1.8px; }
.contact-photos__title { margin: 20px 0 0; font-size: clamp(33.6px, 4.5vw, 72px); font-weight: 700; line-height: 1.35; letter-spacing: -.045em; }
.contact-photos__count { display: none; flex-shrink: 0; margin: 0; font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 700; line-height: 32px; letter-spacing: 1.2px; }
.contact-photos__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
.contact-photos__card { display: flex; flex-direction: column; min-width: 0; margin: 0; background: #000; }
.contact-photos__image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.contact-photos__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* Makeの数値は未取得。画像だけを枠内で拡大する試作値。 */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .contact-photos__image img { transition: transform .4s ease; }
  .contact-photos__card:hover .contact-photos__image img { transform: scale(1.02); }
}
.contact-photos__badge { position: absolute; top: 0; left: 0; padding: 12px 16px; background: #e21717; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 700; line-height: 20px; letter-spacing: 1.96px; }
.contact-photos__caption { display: flex; flex: 1; align-items: flex-start; gap: 16px; padding: 20px; border-top: 4px solid #e21717; color: #fff; }
.contact-photos__number { flex-shrink: 0; color: #e21717; font-family: 'Barlow Condensed', sans-serif; font-size: 20px; font-weight: 700; line-height: 28px; }
.contact-photos__description { min-width: 0; }
.contact-photos__name { margin: 0; font-size: 16px; font-weight: 700; line-height: 24px; }
.contact-photos__text { margin: 4px 0 0; color: rgba(255, 255, 255, .55); font-size: 12px; font-weight: 400; line-height: 24px; }
@media (min-width: 768px) {
  .contact-photos__count { display: block; }
  .contact-photos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
  .contact-photos__grid { gap: 32px; }
}

.page-header--contact .page-header__bg img {
  object-position: 50% 36%;
}

/* ========================================
contact access
======================================== */

/* header */
.contact-access__header {
    margin-bottom: 56px;
}

.contact-access__lead {
    margin-top: 32px;
}

.contact-access__lead p {
    margin: 0;

    color: #222;

    font-size: 15px;
    line-height: 2;
}


/* ========================================
map + information
======================================== */

.contact-access__main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(0, 1fr);

    gap: 56px;

    align-items: stretch;
}


/* map */
.contact-access__map {
    min-width: 0;
}

.contact-access__map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;

    display: block;
}


/* information */
.contact-access__info {
    display: flex;
    flex-direction: column;

    border-top: 1px solid #ddd;
}

.contact-access__info-item {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 24px 0;

    border-bottom: 1px solid #ddd;
}

.contact-access__info-label {
    margin: 0 0 12px;

    color: #d22121;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .12em;
}

.contact-access__info-text {
    color: #222;

    font-size: 15px;
    line-height: 1.9;
}

.contact-access__info-text p {
    margin: 0;
}

.contact-access__info-text p + p {
    margin-top: 8px;
}

.contact-access__station {
    margin-top: 18px !important;

    color: #111;

    font-weight: 700;

    text-decoration-line: underline;
    text-decoration-color: #d22121;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.contact-access__hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-access__hours-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 16px;
}

.contact-access__closed {
    margin-top: 14px !important;

    color: #444;

    font-size: 14px;
    font-weight: 500;
}

.contact-access__tel {
    color: #111;

    font-size: 18px;
    font-weight: 700;

    text-decoration-line: underline;
    text-decoration-color: #111;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;

    transition: color .3s ease;
}

@media (hover: hover) {
    .contact-access__tel:hover {
        color: #d22121;
    }
}


/* ========================================
first visit
======================================== */

.contact-access__guide {
    margin-top: 72px;
}

.contact-access__guide-title {
    margin: 0;

    color: #111;

    font-size: 24px;
    font-weight: 700;

    line-height: 1.5;
}

.contact-access__guide-line {
    display: block;

    width: 40px;
    height: 2px;

    margin: 16px 0 24px;

    background: #d22121;
}

.contact-access__guide-text {
    color: #333;

    font-size: 15px;
    line-height: 1.9;
}

.contact-access__guide-text p {
    margin: 0;

    color: #333;

    font-size: 15px;
    line-height: 2;
}

.contact-access__guide-text p + p {
    margin-top: 20px;
}

.contact-access__guide-emphasis {
    font-weight: 700;
}

/* ========================================
access gallery
======================================== */

.contact-access__gallery {
    display: grid;

    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(0, 1fr);

    gap: 16px;

    margin-top: 56px;

    aspect-ratio: 2 / 1;
}

.contact-access__gallery-side {
    display: grid;

    grid-template-rows:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    min-width: 0;
    min-height: 0;
}

.contact-access__photo {
    min-width: 0;
    min-height: 0;

    overflow: hidden;
}

.contact-access__photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

/* ========================================
contact form
======================================== */

.contact-form {
    padding: 100px 0;

    background: #f7f7f7;
}

.contact-form__header {
    margin-bottom: 48px;

    text-align: center;
}

.contact-form__lead {
    max-width: 680px;

    margin: 32px auto 0;

    text-align: center;
}

.contact-form__lead p {
    margin: 0;

    color: #222;

    font-size: 15px;
    line-height: 2;
}

.contact-form__lead p + p {
    margin-top: 8px;
}


/* support */
.contact-form__support {
    max-width: 700px;

    margin: 28px auto 0;

    color: #555;

    font-size: 14px;
    line-height: 1.9;

    text-align: center;
}

.contact-form__support p {
    margin: 0;
}

.contact-form__support a {
    color: #333;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .3s ease;
}

@media (hover: hover) {
    .contact-form__support a:hover {
        color: #d22121;
    }
}

/* form */
.contact-form__wrapper {
    max-width: 760px;
    margin: 0 auto;
}

/* Contact Form 7 */
.wpcf7-form > p:not(.privacy-link):not(:has(.privacy-check)) {
    margin: 0 0 28px;
}

.wpcf7-form > p:has(.privacy-check) {
    /*
    margin: 0 0 8px;
    */
    margin: 0 0 8px;
}

.wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;

    font-size: 16px;
    font-weight: 700;
    color: #111;
}

/* Privacy check */
.privacy-check {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 8px;

    font-size: 14px;
    
    font-weight: 600;
    
}
.wpcf7-list-item {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
}
.wpcf7-acceptance .wpcf7-list-item label {
    display: inline-block !important;
    align-items: center;
    gap: 10px;
}
.privacy-check input[type="checkbox"] {
    width: 18px;
    height: 18px;

    accent-color: #d22121;

    cursor: pointer;
}

/* privacy-link */
.wpcf7-form > p.privacy-link {
    margin: 0 0 24px;
    text-align: center;
}

.privacy-link a {
    color: #222;

    font-size: 14px;

    text-decoration: underline;

    transition: color .3s ease;
}

.privacy-link a:hover {
    color: #d22121;
}

.wpcf7-submit {
    display: block;

    width: 260px;
    height: 54px;

    margin: 36px auto 0;
    padding: 0 20px;

    border: 1px solid #d22121;
    border-radius: 0;

    background: #d22121;

    color: #fff;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    transition: 
        background-color .3s ease,
        color .3s ease;
}

.wpcf7-submit:hover {
    background: #fff;
    color: #d22121;
}

input,
textarea,
select {
    width: 100%;

    padding: 16px 18px;

    border: 1px solid #d8d8d8;
    background: #fff;

    font-size: 15px;
    color: #111;

    transition: .3s;
}
input:focus,
textarea:focus,
select:focus {
    border-color: #c91f1f;
    outline: none;
}
textarea {
    resize: vertical;
    min-height: 220px;
}
input::placeholder,
textarea::placeholder {
    color: #999;
}

.form-required,
.form-optional {
    margin-left: 6px;

    font-size: 12px;
    font-weight: 600;
}

.form-required {
    color: #d22121;
}

.form-optional {
    color: #777;
}

/* Error Message */
.wpcf7-not-valid-tip{
    margin-top: 8px;

    color: #c91f1f;
    font-size: 13px;
    
    font-weight: 600;
    
    line-height: 1.6;
}

.wpcf7-not-valid{
    border-color: #c91f1f !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output{

    margin-top: 24px;
    padding: 16px 20px;

    border: 1px solid #c91f1f;
    background: #fff5f5;

    color: #c91f1f;
    font-size: 14px;
    line-height: 1.8;
}

/* Success Message */
.wpcf7 form.sent .wpcf7-response-output {
    margin-top: 32px;
    padding: 20px 24px;

    border: none;
    border-left: 3px solid #d22121;

    background: #fff;

    color: #222;

    font-size: 14px;
    line-height: 1.9;
}

/* ========================================
Responsive
======================================== */

@media (max-width: 1000px) {

    /* ========================================
    PAGE HEADER
    ======================================== */

    .page-header--contact .page-header__bg img {
        object-position: 50% 25%;
    } 
    /* ========================================
    Access
    ======================================== */

    /* 見出し中央寄せ */
    .contact-access__intro .section-heading{
        text-align:center;
    }
        
    .contact-access__intro,
    .contact-access__image,
    .contact-access__cards,
    .contact-access__map,
    .contact-form__header,
    .contact-access__wrapper {
        width: 100%;
        margin: 0 auto;
    }

    .contact-access__wrapper{
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .contact-access__text p {
        margin-bottom: 24px;
    }

    .contact-access__text br {
        display: none;
    }

    /* ========================================
    contact form
    ======================================== */
    .contact-form__header {
        margin-bottom: 56px;
    }

    .contact-form__lead p {
        margin-bottom: 24px;
    }

}

@media screen and (max-width: 768px) {

    /* ========================================
    PAGE HEADER
    ======================================== */

    .page-header--contact .page-header__bg img {
        object-position: 50% 10%;
    }

    /* ========================================
    Access
    ======================================== */


    .contact-access {
        padding: 80px 0;
    }

    .contact-access__wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .contact-access__cards,
    .contact-access__map,
    .contact-access__image,
    .contact-access__intro {
        width: 100%;
    }

    .contact-access__text {
        margin-top: 24px;
    }

    .contact-access__text p {
        margin-bottom: 20px;
        font-size: 14px;
        line-height: 1.9;
    }

    .access-card {
        padding: 18px;
        gap: 16px;
    }

    .access-card__label {
        font-size: 12px;
    }

    .access-card__main {
        font-size: 14px;
    }

    .access-card__sub {
        font-size: 13px;
    }

    .contact-access__map iframe {
        min-height: 260px;
    }

    /* ========================================
    contact form
    ======================================== */
    .contact-form {
        padding: 80px 0;
    }

    .contact-form__header {
        margin-bottom: 40px;
    }

    .contact-form__lead {
        margin-top: 24px;
    }

    .contact-form__lead p {
        margin-bottom: 20px;
        

        font-size: 14px;
        line-height: 1.9;
    }

    .contact-form__form {
        gap: 24px;
    }

    .form-label {
        margin-bottom: 10px;

        font-size: 15px;
    }

    input,
    textarea,
    select {
        padding: 14px 14px;

        font-size: 14px;
    }

    textarea {
        min-height: 180px;
    }

    .form-address {
        gap: 18px;
    }

    .form-sub-label {
        margin-bottom: 8px;

        font-size: 12px;
    }

    .form-zip {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-note {
        font-size: 11px;
    }

    .contact-submit-btn {
        padding: 18px 20px;

        font-size: 16px;
    }

}

@media (max-width: 430px) {

    /* ========================================
    PAGE HEADER
    ======================================== */

    .page-header--contact .page-header__bg img {
        object-position: 50% 0%;
        transform: scale(1.14);
        transform-origin: center top;
    }
}



/* ========================================
ACCESS responsive (current markup)
======================================== */

@media (max-width: 1000px) {

    .contact-access__main {
        gap: 40px;
    }

    .contact-access__gallery,
    .contact-access__gallery-side {
        gap: 14px;
    }

}

@media (max-width: 768px) {

    .contact-access__main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-access__map iframe {
        height: 340px;
        min-height: 0;
    }

    .contact-access__info-item {
        padding: 22px 0;
    }

    .contact-access__guide {
        margin-top: 64px;
    }

    .contact-access__guide-text p + p {
        margin-top: 18px;
    }

    .contact-access__gallery {
        grid-template-columns: 1fr;
        gap: 14px;

        margin-top: 48px;

        aspect-ratio: auto;
    }

    .contact-access__photo--main,
    .contact-access__gallery-side .contact-access__photo {
        aspect-ratio: 4 / 3;
    }

    .contact-access__gallery-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 14px;
    }

}

@media (max-width: 580px) {

    .contact-access {
        padding: 64px 0;
    }

    .contact-access__main {
        gap: 32px;
    }

    .contact-access__map iframe {
        height: 300px;
    }

    .contact-access__info-item {
        padding: 20px 0;
    }

    .contact-access__guide {
        margin-top: 56px;
    }

    .contact-access__gallery {
        gap: 12px;
        margin-top: 40px;
    }

    .contact-access__gallery-side {
        gap: 12px;
    }

}

@media (max-width: 430px) {

    .contact-access {
        padding: 56px 0;
    }

    .contact-access__map iframe {
        height: 260px;
    }

    .contact-access__gallery-side {
        grid-template-columns: 1fr;
    }

}

/* ========================================
CONTACT FORM responsive (current CF7 styles)
======================================== */

@media (max-width: 1000px) {

    .contact-form {
        padding: 88px 0;
    }

    .contact-form__header {
        margin-bottom: 48px;
    }

    .contact-form__lead p {
        margin: 0;
    }

    .contact-form__wrapper {
        width: 100%;
    }

}

@media (max-width: 768px) {

    .contact-form {
        padding: 76px 0;
    }

    .contact-form__header {
        margin-bottom: 40px;
    }

    .contact-form__lead {
        max-width: none;
        margin-top: 24px;
    }

    .contact-form__lead p {
        margin: 0;

        font-size: 15px;
        line-height: 1.9;
    }

    .contact-form__support {
        max-width: none;
        margin-top: 24px;
    }

    .contact-form__wrapper,
    .contact-form__wrapper .wpcf7,
    .contact-form__wrapper .wpcf7-form,
    .contact-form__wrapper .wpcf7-form-control-wrap {
        min-width: 0;
        max-width: 100%;
    }

}

@media (max-width: 580px) {

    .contact-form {
        padding: 60px 0;
    }

    .contact-form__header {
        margin-bottom: 32px;
    }

    .contact-form__lead {
        margin-top: 20px;
    }

    .contact-form__support {
        margin-top: 20px;
    }

    .contact-form__lead,
    .contact-form__support {
        text-align: left;
    }

    .wpcf7-form > p:not(.privacy-link):not(:has(.privacy-check)) {
        margin-bottom: 24px;
    }

    .wpcf7-form label {
        font-size: 16px;
    }

    input,
    textarea,
    select {
        padding: 14px 16px;
    }

    textarea {
        min-height: 180px;
    }

    .privacy-check {
        align-items: flex-start;
        gap: 8px;

        width: fit-content;
        max-width: 100%;
        margin: 8px auto 0;

        line-height: 1.8;
    }

    .privacy-check input[type="checkbox"] {
        flex: 0 0 18px;
        padding: 0;
    }

    .wpcf7-form > p.privacy-link {
        margin-bottom: 20px;
    }

    .wpcf7-submit {
        width: min(100%, 320px);
        margin-top: 32px;
    }

    .wpcf7 form.invalid .wpcf7-response-output,
    .wpcf7 form.unaccepted .wpcf7-response-output {
        margin-top: 20px;
        padding: 14px 16px;
    }

    .wpcf7 form.sent .wpcf7-response-output {
        margin-top: 24px;
        padding: 16px 18px;

        font-size: 14px;
        line-height: 1.8;
    }

}

@media (max-width: 430px) {

    .contact-form {
        padding: 52px 0;
    }

    .wpcf7-submit {
        width: 100%;
    }

}

/* お問い合わせフォーム：CF7の保存済みHTMLを維持して外観を整える */
.contact-form--mix {
  padding: 80px 20px;
  background: #fff;
  color: #000;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: normal;
}

.contact-form--mix .contact-form__inner {
  max-width: 1600px;
  margin: 0 auto;
}

.contact-form--mix .contact-form__header {
  display: grid;
  gap: 40px;
  margin: 0;
  text-align: left;
}

.contact-form--mix .contact-form__label {
  margin: 0;
  color: #e21717;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1.8px;
}

.contact-form--mix .contact-form__title {
  margin: 20px 0 0;
  font-size: clamp(33.6px, 4.5vw, 72px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.045em;
}

.contact-form--mix .contact-form__information,
.contact-form--mix .contact-form__lead {
  min-width: 0;
  max-width: none;
  margin: 0;
  text-align: left;
}

.contact-form--mix .contact-form__lead p {
  margin: 0;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 36px;
}

.contact-form--mix .contact-form__support {
  display: grid;
  gap: 24px;
  max-width: none;
  margin: 40px 0 0;
  padding: 24px;
  border: 0;
  border-left: 4px solid #e21717;
  background: #f1f0ec;
  text-align: left;
}

.contact-form--mix .contact-form__support-item h3 {
  margin: 0 0 12px;
  color: #e21717;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: .6px;
}

.contact-form--mix .contact-form__support-item p {
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
}

.contact-form--mix .contact-form__support-item--visit {
  padding-top: 24px;
  border-top: 1px solid rgb(0 0 0 / 20%);
}

.contact-form--mix .contact-form__support-item--visit p { font-weight: 700; }
.contact-form--mix .contact-form__support a { color: inherit; text-underline-offset: 3px; }

.contact-form--mix .contact-form__support-item:not(.contact-form__support-item--visit) a {
  color: #000;
  text-decoration-color: #000;
  transition: color .3s ease, text-decoration-color .3s ease;
}

@media (hover: hover) {
  .contact-form--mix .contact-form__support-item:not(.contact-form__support-item--visit) a:hover {
    color: #e21717;
    text-decoration-color: #e21717;
  }
}

.contact-form--mix .contact-form__wrapper {
  width: 100%;
  max-width: none;
  margin: 64px 0 0;
}

.contact-form--mix .wpcf7-form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  width: 100%;
  margin: 0;
  border-bottom: 1px solid #000;
  counter-reset: contact-field;
}

/* 自動段落の外側余白だけをリセット。エラー・完了メッセージは隠さない。 */
.contact-form--mix .wpcf7-form > p,
.contact-form--mix .wpcf7-form > p:not(.privacy-link):not(:has(.privacy-check)) {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
}

.contact-form--mix .wpcf7-form > p:has(> label:not(.privacy-check)) {
  padding: 28px 0;
  border-top: 1px solid rgb(0 0 0 / 20%);
  counter-increment: contact-field;
}

.contact-form--mix .wpcf7-form > p > label:not(.privacy-check) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.contact-form--mix .form-label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

.contact-form--mix .form-label::before {
  content: counter(contact-field, decimal-leading-zero);
  color: #e21717;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.contact-form--mix .form-required,
.contact-form--mix .form-optional {
  flex-shrink: 0;
  margin: 0;
  padding: 4px 8px;
  background: #e21717;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: .5px;
}

.contact-form--mix .form-optional {
  background: rgb(0 0 0 / 10%);
  color: rgb(0 0 0 / 55%);
}

.contact-form--mix .wpcf7-form-control-wrap { display: block; min-width: 0; }
.contact-form--mix .wpcf7-form > p > label > br { display: none; }

.contact-form--mix :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 58px;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid rgb(0 0 0 / 25%);
  border-radius: 0;
  background: #f1f0ec;
  color: #000;
  font: 400 16px/24px 'Noto Sans JP', sans-serif;
  letter-spacing: normal;
  transition: border-color .15s ease;
}

.contact-form--mix select.wpcf7-select {
  height: 60px;
  padding-right: 32px;
  appearance: none;
  background-image: url('../icons/contact-select-chevron.svg');
  background-position: right 5px center;
  background-repeat: no-repeat;
}

.contact-form--mix textarea {
  height: 258px;
  min-height: 258px;
  line-height: 32px;
  resize: vertical;
}

.contact-form--mix :is(input, textarea)::placeholder { color: rgb(0 0 0 / 35%); }
.contact-form--mix :is(input, textarea, select):focus-visible,
.contact-form--mix a:focus-visible {
  outline: 2px solid #e21717;
  outline-offset: 3px;
}

/* 同意欄の見出し・番号は装飾として追加。既存のチェックボックスはそのまま使う。 */
.contact-form--mix .wpcf7-form > p:has(.privacy-check) {
  position: relative;
  padding: 28px 0 0;
  border-top: 1px solid rgb(0 0 0 / 20%);
}

.contact-form--mix .wpcf7-form > p:has(.privacy-check)::before {
  content: 'プライバシーポリシー同意';
  display: block;
  margin-bottom: 16px;
  padding-left: 26px;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.contact-form--mix .wpcf7-form > p:has(.privacy-check)::after {
  content: '07';
  position: absolute;
  top: 28px;
  left: 0;
  color: #e21717;
  font: 700 16px/24px 'Barlow Condensed', sans-serif;
}

.contact-form--mix .privacy-check {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
}

.contact-form--mix .privacy-check::after {
  content: '（必須）';
  position: absolute;
  top: 28px;
  left: 206px;
  padding: 4px 8px;
  background: #e21717;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 15px;
  letter-spacing: .5px;
}

.contact-form--mix .wpcf7-acceptance .wpcf7-list-item label {
  display: inline-flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
}

.contact-form--mix .privacy-check input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 4px 0 0;
  padding: 0;
  accent-color: #e21717;
}

.contact-form--mix .wpcf7-form > p.privacy-link {
  margin: 16px 0 0;
  padding: 0 0 28px;
  text-align: left;
}

.contact-form--mix .privacy-link a {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid #000;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-decoration: none;
  transition: color .3s ease, border-color .3s ease;
}

@media (hover: hover) {
  .contact-form--mix .privacy-link a:hover {
    color: #e21717;
    border-bottom-color: #e21717;
  }
}

.contact-form--mix .wpcf7-form > p:has(.wpcf7-submit) {
  position: relative;
  padding: 40px 0;
  border-top: 1px solid rgb(0 0 0 / 20%);
}

.contact-form--mix .wpcf7-submit {
  box-sizing: border-box;
  width: min(100%, 576px);
  height: 80px;
  margin: 0 0 0 auto;
  padding: 24px 68px 24px 28px;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #fff;
  font: 700 16px/24px 'Noto Sans JP', sans-serif;
  text-align: left;
  transition: background-color .18s ease;
}

.contact-form--mix .wpcf7-form > p:has(.wpcf7-submit)::after {
  content: '';
  width: 24px;
  height: 32px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M4 16h16m-6-6 6 6-6 6' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  position: absolute;
  top: 64px;
  right: 28px;
  color: #fff;
  font: 700 24px/32px 'Barlow Condensed', sans-serif;
  pointer-events: none;
  transition: transform .18s ease;
}

/* Makeの数値は未取得。有効な送信ボタンだけに試作値で適用する。 */
@media (hover: hover) {
  .contact-form--mix .wpcf7-submit:enabled:hover {
    background-color: #e21717;
    color: #fff;
  }

  .contact-form--mix .wpcf7-form > p:has(.wpcf7-submit:enabled:hover)::after {
    transform: translateX(6px);
  }
}

.contact-form--mix .wpcf7-spinner { position: absolute; top: 68px; right: 60px; margin: 0; }
.contact-form--mix .wpcf7-response-output { grid-column: 1 / -1; }

@media (min-width: 640px) {
  .contact-form--mix .contact-form__support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form--mix .contact-form__support-item--visit { padding: 0 0 0 24px; border-top: 0; border-left: 1px solid rgb(0 0 0 / 20%); }
}

@media (min-width: 1024px) {
  .contact-form--mix { padding: 144px 56px; }
  .contact-form--mix .contact-form__header { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; }
  .contact-form--mix .contact-form__heading { grid-column: 1 / span 5; }
  .contact-form--mix .contact-form__information { grid-column: 7 / -1; }
  .contact-form--mix .contact-form__support { padding: 32px; }
  .contact-form--mix .contact-form__wrapper { margin-top: 96px; }
  .contact-form--mix .wpcf7-form > p:has(> label:not(.privacy-check)) { padding: 36px 0; }
  .contact-form--mix .wpcf7-form > p > label:not(.privacy-check) { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; }
  .contact-form--mix .form-label { grid-column: 1 / span 4; }
  .contact-form--mix .wpcf7-form > p > label > .wpcf7-form-control-wrap { grid-column: 5 / -1; }
  .contact-form--mix .wpcf7-form > p:has(.privacy-check) { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; padding-top: 36px; }
  .contact-form--mix .wpcf7-form > p:has(.privacy-check)::before { grid-column: 1 / span 4; margin: 0; }
  .contact-form--mix .wpcf7-form > p:has(.privacy-check)::after,
  .contact-form--mix .privacy-check::after { top: 36px; }
  .contact-form--mix .privacy-check { grid-column: 5 / -1; }
  .contact-form--mix .wpcf7-form > p.privacy-link { grid-column: 5 / -1; padding-bottom: 36px; }
  .contact-form--mix .wpcf7-form > p:has(.wpcf7-submit) { padding: 56px 0; }
  .contact-form--mix .wpcf7-submit { height: 96px; padding: 32px 80px 32px 40px; font-size: 18px; line-height: 28px; }
  .contact-form--mix .wpcf7-form > p:has(.wpcf7-submit)::after { top: 88px; right: 40px; }
  .contact-form--mix .wpcf7-spinner { top: 92px; right: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form--mix :is(input, select, textarea, a) { transition: none !important; }
  .contact-form--mix .wpcf7-form > p:has(.wpcf7-submit)::after {
    transition: none;
    transform: none !important;
  }
}
