* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow-x: hidden; */
}

figure {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

::selection {
    color: white;
    background: #98ba57;
}

.grecaptcha-badge {
    display: none !important;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
figcaption,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    text-decoration: none;
    overflow-x: clip;
    /* color: #43240e; */
}

.header ul,
.header ul li,
.header-fix ul {
    overflow-x: visible !important;
}

img {
    max-width: 100%;
}

ol,
ul {
    list-style: none;
}

body,
span,
li,
textarea,
button,
figcaption,
h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dt,
tr,
td,
figcaption {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

ol,
ul {
    list-style: none;
}

body {
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
}

@media (max-width: 780px) {
    .container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 550px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 877px) {
    .special-hide-877 {
        display: block;
    }
}

@media (max-width: 820px) {
    .special-hide-820 {
        display: block;
    }
}

@media (max-width: 700px) {
    .special-hide-700 {
        display: block;
    }
}

@media (max-width: 780px) {
    .special-hide-780 {
        display: block;
    }
}

@media (max-width: 630px) {
    .special-hide-630 {
        display: block;
    }
}

@media (max-width: 600px) {
    .special-hide-600 {
        display: block;
    }
}

@media (max-width: 550px) {
    .special-hide-550 {
        display: block;
    }
}

a {
    transition: 0.5s;
}

a:hover {
    opacity: 0.7;
}

.hovered {
    opacity: 0.7;
}

body {
    /* //making this inherit for the added code only.  */
    line-height: inherit !important;
}

.header {
    background-color: #fff;
    border-top: 13px solid #830012;
    margin-bottom: 15px;
    padding-top: inherit;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: auto;
    width: 168px;
}

img {
    vertical-align: initial !important;
    border-style: none;
    height: initial !important;
    max-width: 100%;
}

/* .navigation a {
  color: #43240e;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  padding-left: 31px;
}
.navigation a:last-child {
  padding-right: 25px;
}
.navigation a:nth-child(4) {
  padding-right: 30px;
  padding-right: 13px;
}

.contact-info {
  text-align: center;
  line-height: 26px;
  position: relative;
  top: 5px;
}
.contact-info .phone-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-number {
  color: #830012;
  font-weight: bold;
  font-size: 33px;
  font-family: futura-pt, sans-serif;
}

.contact-hours {
  color: #43240e;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  left: 9px;
}
nav.navigation {
  padding-left: 76px;
}
.phone-wrapper img {
  width: 22px;
}
.button-icon {
  width: 28px;
  height: 22px;
  margin-right: 18px;
}

.custom-button:hover {
  background-color: darken(#902121, 10%);
}

.header-content a strong {
  padding-left: 0px;
  font-size: 18px;
  padding-right: 20px;
}

.header > .header-content > a {
  display: flex;
  justify-content: center;
  align-items: anchor-center;
  gap: 34px;
} */

/* @media (max-width: 1200px) {
  .header-content {
    justify-content: center;
  }
} */
/* @media (max-width: 1199px) {
  .logo {
    height: auto;
    width: 137px;
  }

  .header-content a strong {
    padding-left: 0px;
    font-size: 18px;
    padding-right: 0px;
  }

  .header-content {
    justify-content: space-around;
  }
} */
/* @media (max-width: 1158px) {
  .logo {
    width: 160px;
  }

  .header-content a strong {
    font-size: 17px;
  }

  .navigation a {
    padding-left: 30px;
  }
  .navigation a:nth-child(4) {
    padding-right: 5px;
  }
  .phone-number {
    font-size: 30px;
  }
  .contact-hours {
    font-size: 14px;
    left: 10px;
  }
  .phone-wrapper img {
    width: 20px;
  }
  nav.navigation {
    padding-left: 67px;
  }
} */
/* @media (max-width: 1122px) {
  .header-content a strong {
    font-size: 16px;
  }

  .navigation a {
    font-size: 14px;
  }
  .navigation a {
    padding-left: 25px;
  }
  .logo {
    width: 135px;
  }
  .header-content {
    justify-content: space-evenly;
  }
  nav.navigation {
    padding-left: 44px;
  }
} */
/* @media (max-width: 1062px) {
  .logo {
    width: 132px;
  }
  .header > .header-content > a {
    gap: 23px;
  }
  .header-content a strong {
    font-size: 17px;
  }

  .phone-number {
    font-size: 18px;
  }
  .navigation a {
    padding-left: 25px;
  }
} */
/* 
@media (min-width: 1013px) {
  .hm-menu {
    display: none;
  }
  .burger-menu-all {
    display: none;
  }
  .header-content a p {
    display: none;
  }
} */
@media (max-width: 1012px) {
    /* .header-content a strong {
    display: none;
  }
  .header > .header-content > a {
    gap: 0px;
    flex-direction: column;
  }
  .visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .hemburger-menu-list li {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  } */

    /* .header-content a p {
    display: block;
    font-weight: 600;
    margin-top: 6px;
    color: #43240e;
  }

  .hm-menu {
    cursor: pointer;
    width: 38px;
    height: 30px;
  }
  .header .header-content nav {
    display: none;
  }
  .header .header-content .contact-info {
    display: none;
  }
  .logo {
    width: 160px;
  }
  .header-content {
    justify-content: flex-start;
  } */
    /* .header-content {
    padding: 0 25px;
    justify-content: space-between;
    align-items: flex-start;
    padding-right: 31px;
  }
  .hm-menu {
    display: inline-block;
    cursor: pointer;
  }
  .hm-menu span {
    display: block;
    height: 3px;
    border-radius: 8px;
    background-color: rgb(184, 65, 65);
    transition: transform 0.3s ease-in-out;
    display: inline-block;
    position: relative;
  }
  .hm-menu span:nth-child(1) {
    top: -15px;
    transform-origin: center top;
    width: 100%;
  }
  .hm-menu span:nth-child(2) {
    top: -25px;
    transform-origin: center center;
    width: 100%;
  } */
    /* .hm-menu span:nth-child(3) {
    top: -35px;
    transform-origin: center bottom;
    width: 100%;
  }
  .hm-menu.active span:nth-child(1) {
    transform: translateY(12px) rotate(44deg);
  }
  .hm-menu.active span:nth-child(2) {
    transform: scaleX(0);
  }
  .hm-menu.active span:nth-child(3) {
    transform: translateY(-17px) rotate(-46deg);
  } */

    /* .burger-menu-all.aaijavai {
    right: 0;
  }
  .add {
    overflow: scroll;
  }
  .no-scroll {
    overflow: hidden !important;
  }
  .burger-menu-all {
    display: block;
  }
  .burger-menu-all {
    position: fixed;
    right: -100%;
    top: 147px;
    width: 100%;
    height: 100%;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
  }
  .burger-menu-all.aaijavai {
    padding-bottom: 150px;
    background: #ffffff;
    text-align: center;
  }
  .burger-menu-all .hemburger-menu-list {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 43px 21px;
    box-sizing: border-box;
  } */
    /* .burger-menu-all .hemburger-menu-list li {
    border-top: 1px solid #707070;
  }
  .burger-menu-all .hemburger-menu-list li:nth-child(4) {
    border-bottom: 1px solid #707070;
  }
  .burger-menu-all .hemburger-menu-list li a {
    font-weight: 600;
    font-size: 17px;
    width: 100%;
    padding: 21px 0;
    display: inline-block;
  }
  .burger-menu-all .footer-hm-part dt {
    font-family: futura-pt, sans-serif;
    font-weight: 600;
    font-size: 34px;
    color: #902121;
  }
  .burger-menu-all .footer-hm-part dt + dd {
    color: #902121;
    font-size: 13px;
    font-weight: 600;
  }
  .burger-menu-all .footer-hm-part button {
    width: 276px;
    font-size: 20px;
  }
  .burger-menu-all .footer-hm-part button img {
    width: 28px;
  } */
}

/* 
@media (max-width: 900px) {
} */
/* @media (max-width: 768px) {
  .header-content {
    text-align: left;
  }
  .navigation {
    margin-top: 10px;
  }
  .navigation a {
    display: block;
    margin: 5px 0;
    font-weight: bold;
  }
  .contact-info {
    flex-direction: column;
    margin-top: 10px;
  }
  .contact-hours {
    display: none;
  }
  .custom-button {
  }
} */
/* @media (max-width: 718px) {
} */
/* @media (max-width: 550px) {
  .header {
    padding-top: 24px;
  }

  .button-icon {
    width: 21px;
  }
  .burger-menu-all {
    top: 120px;
  }
  .header-content a {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .logo {
    width: 134px;
    height: 52px;
  }
  .header-content a p {
    font-size: 14px;
  }
  .header-content {
    padding: 0 23px;
    padding-right: 31px;
  }
  .hm-menu span {
    width: 39px;
  }
  .hm-menu {
    width: 38px;
    height: 30px;
  }
} */

/* HEADER END  */
/* HEADER END  */
/* HEADER END  */
/* HEADER END  */
/* HEADER END  */
/* HEADER END  */
/* HEADER END  */

/* FOOTER START  */
/* FOOTER START  */
/* FOOTER START  */
/* FOOTER START  */
/* FOOTER START  */
/* --- Main Style for the '.tail' class --- */
/* This is the primary style for your footer paragraph */
.tail {
    background: #f5e5e2;
    text-align: center;
    padding-bottom: 70px;
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    font-size: 15px;
    padding-top: 50px;
}

@media (max-width: 550px) {
    .tail {
        background: #f5e5e2;
        padding-bottom: 30px;
    }
}

.grecaptcha-badge {
    display: none !important;
}

/* END FOOTER START  */
/* END FOOTER START  */
/* END FOOTER START  */

/* container top-image-full-width */
/* container top-image-full-width */
/* container top-image-full-width */
/* container top-image-full-width */

/* /// migrated */

/*End container top-image-full-width */
/* End container top-image-full-width */
/*End container top-image-full-width */
/* End container top-image-full-width */

/* FAQ CSS */
/* FAQ CSS */
/* FAQ CSS */
/* FAQ CSS */
/* FAQ CSS */
/* FAQ CSS */
/* --- FAQ Section Wrapper --- */
.faq {
    background: #f5e6e2 0% 0% no-repeat padding-box;
}

.faq-container {
    max-width: 1200px;
    padding-top: 60px;
    text-align: center;
    margin: 0 auto;
}

/* --- FAQ Header ("FAQ", "よくあるご質問") --- */
.faq-container>ul {
    margin-bottom: 76px;
}

.faq-container>ul li:nth-child(1) {
    font-size: 52px;
    color: #902121;
    font-weight: 600;
    font-family: futura-pt, sans-serif;
}

.faq-container>ul li:nth-child(2) {
    font-size: 40px;
    font-weight: 600;
    margin-top: 14px;
}

/* --- Q&A Accordion Container --- */
.q-and-a {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
    max-width: 1005px;
    margin: 0 auto;
}

/* --- Individual Accordion Item (ul) --- */
.faq-container .q-and-a ul {
    padding-left: 58px;
    background: #902121 0% 0% no-repeat padding-box;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
}

/* Default state for all list items within the accordion */
.faq-container .q-and-a ul li {
    color: white;
}

/* Question Styling */
.faq-container .q-and-a ul .question {
    /* Targets li.question */
    font-size: 25px;
    font-weight: 500;
    padding-top: 35px;
    padding-bottom: 35px;
}

/* Plus Icon for the Question */
.faq-container .q-and-a ul .question::after {
    content: url("../../img/plus-icon.png");
    position: absolute;
    top: 20px;
    right: 32px;
    transition: transform 0.3s ease;
}

/* Answer Styling (Hidden by default) */
.faq-container .q-and-a ul .answer {
    /* Targets li.answer */
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 36px;
    margin-right: 45px;
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    color: #43240e;
    background: white;
    position: relative;
    right: 10px;
}

/* --- CLICKED STATE STYLES --- */

/* Rotates the plus icon to a cross */
.faq-container .q-and-a ul.clicked .question::after {
    transform: rotate(134deg);
}

/* Shows the answer panel on click */
.faq-container .q-and-a ul.clicked .answer {
    display: block;
    max-height: 1000px;
    opacity: 1;
    border-radius: 10px;
    padding: 39px 39px 29px 46px;
    line-height: 40px;
}

@media (max-width: 1199px) {
    .faq-container .q-and-a {
        padding: 0 15px;
    }
}

@media (max-width: 900px) {
    .faq-container>ul li:nth-child(1) {
        font-size: 44px;
    }

    .faq-container>ul li:nth-child(2) {
        font-size: 30px;
    }

    .faq-container .q-and-a ul {
        padding-left: 18px;
    }

    .faq-container .q-and-a ul .question {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .faq-container .q-and-a ul .answer {
        font-size: 19px;
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media (min-width: 551px) {

    /* Hides the <br> tag on larger screens */
    .q-and-a ul li br {
        display: none;
    }
}

@media (max-width: 550px) {
    .faq-container {
        margin-top: 0;
        padding-top: 31px;
    }

    .faq-container>ul {
        margin-bottom: 32px;
    }

    .faq-container>ul li:nth-child(2) {
        margin-top: 8px;
    }

    /* Shows the <br> tag on smaller screens */
    .q-and-a ul li br {
        display: block;
    }

    .faq-container .q-and-a ul .question {
        font-size: 20px;
        line-height: 34px;
    }

    /* Position adjustment for the plus icon */
    .faq-container .q-and-a ul .question::after {
        right: 22px;
        top: 37px;
    }

    /* Readjusts icon on click to stay centered */
    .faq-container .q-and-a ul.clicked .question::after {
        top: 32px;
    }

    /* Styling for the revealed answer panel */
    .faq-container .q-and-a ul.clicked .answer {
        padding: 35px 17px 28px 17px;
        line-height: 40px;
    }

    .adventure-container .adventure-intro {
        font-size: 20px;
        font-weight: 600;
    }

    .main-consult .main-contact__form>p {
        font-size: 28px;
        letter-spacing: 0;
    }
}

/* --- Consult Section Wrapper --- */
/* --- Consult Section Wrapper --- */
/* --- Consult Section Wrapper --- */
/* --- Consult Section Wrapper --- */
/* --- Consult Section Wrapper --- */

/* --- Main "お気軽に" text paragraph --- */
.adventure-container .adventure-intro {
    letter-spacing: 0px;
    color: #43240e;
    font-size: 35px;
    font-weight: 500;
}

.adventure-container {
    margin-top: 100px;
}

.adventure-container .adventure-contact {
    font-size: 58px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
}

.main-consult .first-to-be-done {
    letter-spacing: 0px;
    color: #43240e;
    font-size: 35px;
    font-weight: 500;
}

/* --- White content wrapper --- */
.consult-wrapper {
    background: white;
    padding-top: 70px;
    border-radius: 30px;
    margin-top: 56px;
}

/* --- Image container & image styling --- */
.sub__eight-with-servise-support>img {
    /* This rule exists but is overridden by the more specific rule below */
    max-width: 520px;
}

/* This is the more specific and effective rule for the image */
.consult-wrapper .sub__eight-with-servise-support>img {
    max-width: 627px;
}

@media (max-width: 1100px) {
    .adventure-container .adventure-intro {
        font-size: 28px;
    }
}

/* --- For screens 900px and below --- */
@media (max-width: 900px) {
    .adventure-container .adventure-intro {
        font-size: 30px;
        font-weight: 500;
    }
}

/* --- For screens 850px and below --- */
@media (max-width: 850px) {
    .adventure-container>.adventure-contact {
        font-size: 35px;
    }

    .adventure-container>.adventure-contact img {
        max-width: 115px;
    }

    .adventure-container {
        margin-top: 46px;
    }
}

/* --- For screens 550px and below --- */
@media (max-width: 550px) {
    .adventure-container {
        margin-top: 42px;
    }

    .adventure-container>.adventure-contact {
        font-size: 28px;
        gap: 3px;
    }

    .adventure-container>.adventure-contact img {
        max-width: 95px;
    }

    .consult-wrapper {
        margin-top: 38px;
        border-radius: 0px;
        /* Removes the rounded corners */
    }

    .consult>p {
        font-size: 22px;
    }

    /* Same pattern, two rules exist, but the more specific one applies */

    .sub__eight-with-servise-support>img {
        /* max-width: 520px; */
        max-width: 100%;
    }

    .consult .consult-wrapper .sub__eight-with-servise-support>img {
        max-width: 91%;
        /* This is the effective style */
    }

    .consult {
        margin-top: 56px;
    }

    .adventure-container .adventure-intro {
        font-size: 20px;
        font-weight: 600;
    }
}

/* --- Consult Section Wrapper --- */
.consult {
    margin-top: 56px;
}

/* White background wrapper for the image and form */
.consult-wrapper {
    background: white;
    padding-top: 70px;
    border-radius: 30px;
    margin-top: 56px;
}

/* Image styling */
.consult-wrapper .sub__eight-with-servise-support>img {
    max-width: 627px;
}

/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* Form */
/* --- Contact Form Section --- */
.main-consult .main-contact__form {
    margin-top: 50px;
}

/* "資料請求・お問い合わせ" heading */
.main-consult .main-contact__form>p {
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 40px;
    margin-bottom: 15px;
}

/* Introductory sentence */
.main-consult .main-contact__form>strong {
    line-height: 35px;
    font-size: 30px;
    font-weight: 600;
}

/* Padding container for the form */
.main-consult .containerp {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 100px;
    margin-top: 58px;
}

.main-consult .containerp div {
    margin-left: 0px;
    /* Overrides a general rule */
    margin-right: 0px;
    /* Overrides a general rule */
}

/* Sets spacing between form rows */
.main-consult .containerp div:not(div:nth-child(1)) {
    margin-top: 30px;
}

.main-consult .containerp .form-name>div>p {
    margin-top: 30px;
}

.main-consult .containerp>div form>div>div {
    margin-top: 0 !important;
}

.main-consult .main-contact__form .containerp form div p {
    margin-top: 0;
}

/* --- General Form Layout --- */
/* This is the primary layout rule for each form row */
.main-consult .main-contact__form .containerp form div p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #41362f;
    text-align: left;
}

.container-wrapper .send-button {
    display: none !important;
}

#top-analysis-form .wpcf7-submit {
    display: none;
}

/* Focus outline removal */
.main-consult .wpcf7-form-control:focus {
    outline: none;
}

/* General Label Styling */
.main-consult label {
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.8px;
}

/* General "必須" (Required) span styling */
.main-consult label span {
    font-size: 13px;
    padding: 6px 12px;
    letter-spacing: 0.1em;
    font-weight: normal;
    color: white;
    margin-left: 8px;
    border-radius: 3px;
}

.main-consult #wpcf7-f6-o1 form div:nth-child(11) p {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-consult .form-name>div>p span:nth-child(1) {
    max-width: 100%;
    width: 100%;
}

.main-consult .wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}

.main-consult .form-name>div>p span:nth-child(2) {
    max-width: 331px;
}

.main-consult .wpcf7-form label>span:not(.wpcf7-form-control-wrap):not(.wpcf7-list-item-label) {
    padding: 2px 0px 2px 4px;
    color: #000;
    height: 26px;
    color: #902120;
    position: relative;
    left: -9px;
    top: -4px;
}

.main-consult #wpcf7-f6-o1 form div:nth-child(11) p {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-consult #wpcf7-f6-o1 form div:nth-child(11) p label {
    display: flex;
    gap: 6px;
}

/* --- Input & Textarea Fields --- */
.main-consult input[type="text"],
.main-consult input[type="tel"],
.main-consult textarea,
.main-consult .containerp select,
.main-consult #fname,
.main-consult .wpcf7 input[type="email"] {
    width: 100%;
    padding: 14px;
    box-sizing: border-box;
    resize: vertical;
    font-size: 16px;
    /* font-size for input text */
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    font-weight: bold;
}

.main-consult .containerp.container-wrapper {
    padding-bottom: 121px;
    margin-top: 64px;
}

.main-consult .containerp input {
    /* font-size for placeholder */
    font-size: 15px;
    color: #c4c4c4;
}

.main-consult textarea {
    min-height: 250px;
}

/* --- Select (Dropdown) Field --- */
.main-consult.containerp select option {
    font-family: "Noto Sans JP", sans-serif;
}

.main-consult .wpcf7-form-control-wrap select,
.main-consult .wpcf7-form-control.wpcf7-select {
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    font-family: "Noto Sans JP", sans-serif;
    color: #707070;
    /* Placeholder text color */
}

/* --- Specific Layout Patterns --- */
/* "お名前" row with two inputs */
.form-name {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-name>div {
    width: 690px;
}

/* Single long input field pattern (e.g., Company Name, Email) */
.long-double-pattern p>span {
    max-width: 690px;
    display: inline-block;
    width: 100%;
    text-align: left;
}

.long-double-pattern p>label {
    width: calc(100% - 690px);
    text-align: left;
}

/* "電話番号" row pattern */
.long-telephone {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.long-telephone>div {
    max-width: 690px;
    width: 100%;
}

.long-telephone>div p:nth-child(2) {
    font-size: 13px;
    margin-top: 3px;
}

.long-telephone>p {
    width: calc(100% - 690px);
    text-align: left;
}

/* --- Checkbox Styling (.online-s) --- */
.main-consult .wpcf7-list-item {
    display: inline-block;
    margin: 0 !important;
}

.online-s label span {
    font-size: 13px;
    padding: 6px 0px 6px 1px;
    font-weight: 500;
    color: #41362f;
    background: white;
    margin-right: 12px;
    border-radius: 3px;
}

/* --- Specific Grid Layout for '出店先' (checkbox-220) based on Figma --- */
.wpcf7-form-control-wrap[data-name="checkbox-220"] .wpcf7-checkbox {
    display: grid;
    grid-template-columns: max-content max-content max-content max-content;
    justify-content: start;
    gap: 15px 25px;
    /* Vertical and horizontal gap */
}

.wpcf7-form-control-wrap[data-name="checkbox-220"] .wpcf7-checkbox .wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-form-control-wrap[data-name="checkbox-220"] .wpcf7-checkbox label span {
    margin-right: 0 !important;
}

@media (max-width: 768px) {
    .wpcf7-form-control-wrap[data-name="checkbox-220"] .wpcf7-checkbox {
        grid-template-columns: max-content max-content max-content;
        gap: 15px 15px;
        /* Slightly tighter horizontal gap for mobile */
    }

    /* --- SP Specific Grid Layout for 'お問い合わせ種別' (checkbox-inquiry-type) --- */
    .wpcf7-form-control-wrap[data-name="checkbox-inquiry-type"] .wpcf7-checkbox {
        display: grid;
        grid-template-columns: max-content max-content;
        justify-content: start;
        gap: 15px 15px;
    }

    .wpcf7-form-control-wrap[data-name="checkbox-inquiry-type"] .wpcf7-checkbox .wpcf7-list-item {
        margin: 0 !important;
    }

    .wpcf7-form-control-wrap[data-name="checkbox-inquiry-type"] .wpcf7-checkbox label span {
        margin-right: 0 !important;
    }
}


/* --- Final Confirmation Rows (.top-conform) --- */
.top-conform {
    height: 53px;
    line-height: 18px;
}

/* Style for checkbox text like "ありません(...)" */
.top-conform>p>span label span {
    background-color: #ffffff;
    color: #41362f;
    font-weight: bold;
    padding: 0;
}

/* --- Privacy Policy Link --- */
.final-conformation {
    display: flex;
    justify-content: space-between;
}

.final-conformation div {
    width: calc(100% - 690px);
    /* This is to align it with the other form fields */
}

.final-conformation p {
    width: 690px;
    display: inline-block !important;
    font-size: 15px;
    font-weight: bold;
    text-align: left;
}

.final-conformation p a {
    color: #902121;
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid #902121;
}

/* --- Submit Button & Spinner --- */
.send-button p {
    justify-content: center !important;
}

.main-contact__form input[type="submit"] {
    background: #838383;
    color: white;
    padding: 15px 19px;
    border: none;
    cursor: pointer;
    width: 500px;
    font-size: 20px;
    letter-spacing: 1px;
    border-radius: 32px;
}

.wpcf7-spinner {
    display: inline-block;
    /* The spinner itself is an empty span */
}

/* --- WPCF7 Validation & Error Styling --- */
.main-consult .wpcf7-not-valid-tip {
    font-size: 12px !important;
    color: #902121 !important;
}

.long-double-pattern.top-conform.conform-individual {
    display: none;
}

.container-wrapper .button-text {
    margin-left: 56px;
}

.main-consult .container-wrapper .arrow-icon {
    position: relative;
    left: 26px;
    margin-top: 7px !important;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #902121;
}

.wpcf7-not-valid-tip {
    color: #902121;
}

@media (max-width: 1181px) {

    /* This block reflows the entire form to be single-column */
    .form-name {
        flex-direction: column;
        align-items: flex-start;
        gap: 31px;
    }

    .main-contact__form .long-double-pattern p {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .long-telephone {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    /* Makes labels and inputs stack vertically */
    .long-double-pattern p>label,
    .long-telephone>p {
        width: 100%;
    }

    .main-consult .containerp .form-name>div>p {
        margin-top: 0;
    }

    .main-consult .containerp .form-name>div {
        margin-top: 0px !important;
    }

    .main-consult .containerp .long-telephone>div {
        margin-top: 0px !important;
    }
}

@media (max-width: 891px) {
    .form-name>div {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .main-contact__form {
        margin-top: 36px;
    }

    .main-contact__form>strong {
        padding: 0 32px;
    }

    .main-contact__form>p {
        font-size: 35px;
        margin-bottom: 30px;
    }

    .containerp {
        padding-left: 50px;
        padding-right: 50px;
        margin-top: 55px;
    }
}

@media (max-width: 600px) {
    .main-consult .containerp {
        padding: 0 22px;
    }

    .main-consult .form-name>div {
        width: 100%;
    }
}

@media (min-width: 551px) {
    .container-top .sub-container1 li .noPc {
        display: none;
    }
}

@media (max-width: 550px) {
    .container-top .sub-container1 li .noSc {
        display: none;
    }

    .main-contact__form {
        margin-top: 30px;
        padding-bottom: 35px;
    }

    .main-contact__form>strong {
        font-size: 15px;
        display: inline-block;
    }

    .main-contact__form>strong br {
        display: none;
    }

    .main-contact__form>p {
        font-size: 28px;
    }

    .containerp {
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 52px;
    }

    .form-name {
        gap: 17px;
    }

    .containerp div:not(div:nth-child(1)) {
        margin-top: 35px;
    }

    .main-contact__form input[type="submit"] {
        font-size: 15px;
        letter-spacing: 1px;
        margin-left: 0px;
    }

    .main-consult .wpcf7-spinner {
        display: none !important;
    }

    .long-double-pattern p>label br {
        display: none;
    }

    .main-consult .wpcf7-list-item {
        margin: 0 0 0 12px !important;
    }

    /* Styles input text and placeholder color on mobile */
    .containerp input::placeholder {
        color: #c4c4c4;
    }

    .containerp input {
        color: #43240e;
    }

    /* Specific styles for the final confirmation checkbox text on mobile */
    .containerp .top-conform strong {
        font-size: 15px;
        font-weight: bold;
        max-width: 210px;
    }

    .containerp .top-conform>p>span span span {
        font-size: 14px;
    }

    .containerp .conform-individual {
        margin-top: 92px !important;
    }

    .containerp .info-procted p label {
        gap: 7px !important;
    }

    .consult-wrapper {
        border-radius: 0px;
    }

    .consult-wrapper .sub__eight-with-servise-support>img {
        max-width: 91%;
    }

    .main-consult .main-contact__form>p {
        margin-bottom: 29px;
    }

    .main-consult .main-contact__form {
        margin-top: 40px;
        padding-bottom: 0px;
    }

    .main-consult .main-contact__form>p {
        margin-bottom: 19px;
        font-size: 28px;
        letter-spacing: 0px;
    }

    .main-contact__form>strong {
        padding: 0 22px;
    }

    .main-consult .containerp.container-wrapper {
        padding-bottom: 10px;
    }

    .container-wrapper .button-text {
        margin-left: 13px;
    }

    .final-conformation {
        margin-top: 60px !important;
    }

    .final-conformation p a {
        font-size: 14px;
    }

    .upper__footer .last-text span:nth-child(5) {
        font-size: 37px;
    }

    .main-consult .contact-button {
        margin-top: 31px;
        margin-bottom: 40px;
    }

    .main-consult .containerp .form-name>div {
        margin-top: 0 !important;
    }

    .main-consult .containerp .long-telephone>div {
        margin-top: 0 !important;
    }

    .main-consult .containerp .form-name {
        gap: 24px;
    }

    .main-consult .main-contact__form>strong {
        line-height: 35px;
        font-size: 20px;
        font-weight: 600;
    }

    .main-consult .main-contact__form .arrow-icon img {
        width: 14px;
        height: 14px;
    }

    .main-consult .container-wrapper .arrow-icon {
        position: relative;
        left: 20px;
        margin-top: 2px !important;
    }
}

/* End Form */
/* End Form */
/* End Form */
/* End Form */
/* End Form */

/* END FAQ CSS */
/* END FAQ CSS */
/* END FAQ CSS */

/* fOOTER UPPER PART */
/* fOOTER UPPER PART */
/* fOOTER UPPER PART */
/* fOOTER UPPER PART */

/* --- Main container: .upper__footer --- */
.upper__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 92px;
    gap: 13px;
    max-width: 1200px;
    margin: 92px auto 0 auto;
}

.faq .upper__footer {
    display: none;
}

/* This targets the large image on the right */
.upper__footer>img {
    max-width: 556px;
}

/* --- Text container: .last-text --- */
.last-text {
    font-size: 58px;
    text-align: center;
    font-weight: 600;
}

.last-text>img {
    position: relative;
    left: -8px;
}

/* --- Text Spans inside .last-text --- */
/* This rule targets "momotomo" */
.upper__footer .last-text span:nth-child(1) {
    font-family: futura-pt, sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 70px;
}

/* This rule targets "と" */
.upper__footer .last-text span:nth-child(2) {
    font-size: 58px;
    font-weight: 600;
    color: #43240e;
}

/* This rule targets "に出かけましょう!" */
.upper__footer .last-text span:nth-child(5) {
    font-size: 58px;
    display: inline-block;
    font-weight: 600;
    position: relative;
    top: -13px;
    letter-spacing: 5px;
    color: #43240e;
}

/* This rule targets the image inside the paragraph */
.upper__footer p img {
    max-width: 452px;
    margin-top: 10px;
}

/* --- For screens 1200px and below --- */
@media (max-width: 1200px) {
    .upper__footer {
        padding-left: 23px;
        padding-right: 23px;
    }
}

/* --- For screens 1158px and below --- */
@media (max-width: 1158px) {
    .last-text {
        font-size: 47px;
    }

    .upper__footer>img {
        max-width: 500px;
    }
}

/* --- For screens 1062px and below --- */
@media (max-width: 1062px) {
    .upper__footer {
        margin-top: 23px;
    }
}

@media (max-width: 1024px) {
    .upper__footer .last-text span:nth-child(2) {
        font-size: 50px;
        font-weight: 600;
    }

    .upper__footer .last-text span:nth-child(5) {
        font-size: 55px;
    }
}

/* --- For screens 920px and below --- */
@media (max-width: 920px) {
    .last-text {
        font-size: 35px;
    }

    .upper__footer>img {
        max-width: 400px;
    }

    .upper__footer p img {
        max-width: 285px;
    }
}

/* --- For screens 900px and below --- */
@media (max-width: 900px) {

    /* This is a more specific rule for the span fonts, overriding previous sizes */
    .upper__footer .last-text span:nth-child(1),
    .upper__footer .last-text span:nth-child(2),
    .upper__footer .last-text span:nth-child(5) {
        font-size: 38px;
    }

    .upper__footer p img {
        margin-top: 2px;
    }

    .upper__footer .last-text>img {
        max-width: 315px;
    }
}

/* --- For screens 768px and below --- */
@media (max-width: 768px) {
    .last-text {
        font-size: 30px;
    }

    .upper__footer>img {
        max-width: 350px;
    }
}

/* --- For screens 718px and below --- */
@media (max-width: 718px) {
    .upper__footer {
        flex-direction: column;
        /* Stacks the text and image vertically */
        gap: 20px;
    }
}

/* --- For screens 550px and below --- */
@media (max-width: 550px) {
    .last-text {
        padding: 0 5px;
        font-size: 37px;
        text-align: left;
    }

    /*
   * NOTE: The following three rules for the spans are the effective ones at this breakpoint
   * due to their high specificity (`.consult` prefix). They override all previous font sizes.
   */
    .upper__footer .last-text span {
        font-size: 37px;
        font-weight: 600;
    }

    .upper__footer .last-text span:nth-child(1) {
        font-family: futura-pt, sans-serif;
        font-size: 50px;
    }

    .upper__footer .last-text span:nth-child(2) {
        font-size: 38px;
        display: inline-block;
        margin-left: 5px;
    }

    /* This specifically targets the image inside the <p> tag */
    .upper__footer p img {
        max-width: 351px;
        /* was 80%, this more specific rule takes precedence */
        width: 80%;
        /* Sets a fallback responsive width */
        margin-top: -1px;
    }

    .upper__footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .upper__footer .last-text>img {
        padding-left: 8px;
    }

    .upper__footer>img {
        display: none;
    }

    .Rights-Reserved span {
        transform: none;
    }
}

/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */
/* END fOOTER UPPER PART */

/* HEMBURGER MENU CSS BUTTON  */
/* HEMBURGER MENU CSS BUTTON  */
/* HEMBURGER MENU CSS BUTTON  */
/* HEMBURGER MENU CSS BUTTON  */
/* HEMBURGER MENU CSS BUTTON  */

/* --- The Main Button Style: .custom-button --- */
.burger-menu-all .custom-button {
    background: #902121 no-repeat padding-box;
    font-size: 22px;
    line-height: 37px;
    letter-spacing: 0;
    color: #ffffff;
    opacity: 1;
    border: none;
    padding: 20px 80px;
    /* Note: This is overridden by more specific rules */
    border-radius: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

/* --- The Hover State for the Button --- */
.burger-menu-all .custom-button:hover {
    /* Note: While the a:hover provides an opacity shift, a specific background change could also be here. */
    background-color: darken(#902121, 10%);
}

/* --- The Icon Image within the Button: .button-icon --- */
.burger-menu-all .button-icon {
    width: 28px;
    height: 22px;
    margin-right: 18px;
}

/* These rules apply ONLY when the hamburger menu is open and visible */
@media (max-width: 1012px) {

    /* --- Specific styling for the button inside the hamburger footer --- */
    .burger-menu-all .footer-hm-part button {
        width: 332px;
        font-size: 20px;
    }

    /* --- Specific styling for the icon inside that button --- */
    .burger-menu-all .footer-hm-part button img {
        width: 28px;
        /* This overrides the .button-icon width */
    }
}

@media (max-width: 768px) {
    .burger-menu-all .custom-button {
        padding: 13px 21px;
    }
}

@media (max-width: 550px) {
    .burger-menu-all .footer-hm-part button {
        width: 276px;
        font-size: 20px;
    }

    .custom-button {
        padding: 13px 21px;
    }

    .wpcf7-response-output {
        text-align: left;
    }
}

/* SCROLL TO TOP FORM IN PC ONLY CSS */
/* SCROLL TO TOP FORM IN PC ONLY CSS */
/* SCROLL TO TOP FORM IN PC ONLY CSS */

.scroll-to-form-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, opacity 0.4s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.scroll-to-form-btn img {
    display: block;
    width: 152px;
    height: auto;
}

.scroll-to-form-btn:hover {
    transform: scale(1.1);
}

.scroll-to-form-btn.show {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 1000px) {
    .scroll-to-form-btn img {
        width: 116px;
        position: relative;
        z-index: 999999999;
    }
}

@media (max-width: 550px) {
    .scroll-to-form-btn {
        display: none !important;
    }
}

/* END SCROLL TO TOP FORM IN PC ONLY CSS */
/* END SCROLL TO TOP FORM IN PC ONLY CSS */
/* END SCROLL TO TOP FORM IN PC ONLY CSS */

</style><script id='furusato-custom-js'>