/* ==========================================================================
   Top Page Styles
   ========================================================================== */

/* ==========================================================================
   Hero Section
   ========================================================================== */

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.hero {
    max-width: 100lvw;
    margin-top: var(--header-height);
    padding: 1.5rem 1.5rem 3rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -5%;
    right: -5%;
    bottom: -5%;
    background-image: url(../images/top/bg-mv.jpg);
    background-size: cover;
    background-position: center;
    animation: heroZoom 8s ease-out forwards;
    z-index: 0;
}

.hero-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 1400px;
    margin-inline: auto;
}
.hero-content {
    position: relative;
    width: 100%;
    margin-inline: auto;
    padding: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transition: background 0.3s;
    z-index: 2;
    h1 {
        width: fit-content;
        margin: 1.5rem 0;
        margin-inline: auto;
        text-align: justify;
        font-size: clamp( 32px, calc( 5.913043478260871px + 6.521739130434782vw ), 56px );
        font-weight: 900;
        line-height: 1.3;
        color: var(--white);
        br {
            display: none;
        }
    }
    p {
        margin: 0;
    }
    .bubble {
        position: relative;
        display: block;
        width: fit-content;
        margin-inline: auto;
        padding: 1rem;
        color: var(--primary-light);
        font-weight: 700;
        font-size: clamp( 16px, calc( 13.826086956521738px + 0.5434782608695652vw ), 18px );
        line-height: 1.3;
        background: var(--white);
        border-radius: var(--radius-medium);
        &::after {
            display: block;
            position: absolute;
            bottom: -10px;
            left: 1.5rem;
            content: "";
            width: 16px;
            height: 12px;
            background: #ffffff;
            clip-path: polygon(0 0, 100% 0%, 50% 100%);
        }
    }
    .subtitle {
        display: block;
        width: fit-content;
        margin-inline: auto;
        margin-bottom: 1rem;
        color: var(--white);
    }
}

.hero-slide {
    transform: translateY(30px);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
    picture {
        display: block;
        border-radius: var(--radius-large);
        overflow: hidden;
    }
}

#js-h-slide-container {
    width: 100%;
    max-width: 600px ;
    .swiper-slide {
        width: fit-content;
        margin-inline: auto;
        margin-top: 2rem;
        aspect-ratio: 16 / 9;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}
@media(width >= 860px) {
    .hero-content {
        h1 {
            br {
                display: block;
            }
        }
    }
}
@media(width >= 1260px) {
    .hero-container { 
        flex-direction: row;
        justify-content: space-between;
    }
    .hero-content {
        max-width: fit-content;
        margin-inline: 0;
        h1,.bubble {
        margin-inline: 0;
        }
        h1 {
            font-size: clamp( 44px, calc( -82px + 10vw ), 56px );
            text-align: left;
        }
    }
    .hero-slide {
        width: 545px;
        max-width: 545px;
        flex-shrink: 0;
    }
    
    #js-h-slide-container {
        width: 100%;
        max-width: 545px;
        .swiper-slide {
            margin-top: 0;
            aspect-ratio: 10 / 12.7;
            width: 100%;
        }
    }
}
/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem-cards,
.risk-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.problem-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    background: var(--primary);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    color: var(--white);

    transform: translateY(30px);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
    p {
        margin: 0;
    }
}
.risk-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    color: var(--dark);

    transform: translateY(30px);
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
    p {
        margin: 0;
        font-size: clamp(18px, calc(11.478260869565219px + 1.6304347826086956vw), 24px);
        line-height: 1.2;
    }
    .risk-card-title {
        font-weight: 500;
    }
    .risk-card-text {
        color: var(--attention);
        font-weight: 700;
    }
}
.problem-card-title {
    line-height: 1.3;
    font-size: clamp(18px, calc(11.478260869565219px + 1.6304347826086956vw), 24px);
}
.problem-section-text {
    margin: 0;
    padding: clamp( 36px, calc( -11.826086956521742px + 11.956521739130435vw ), 80px ) 0;
    font-size: clamp(18px, calc(11.478260869565219px + 1.6304347826086956vw), 24px);
}

@media(width >= 768px) {
    .problem-cards,
    .risk-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        
    }
    .problem-card,
    .risk-card {
        padding: 2rem;
    }
    .problem-section-text {
        text-align: center;
    }
}


/* ==========================================================================
   Cause Section
   ========================================================================== */
.cause-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
    h3 {
        margin-bottom: 0;
        font-size: clamp( 18px, calc( 11.478260869565219px + 1.6304347826086956vw ), 24px );
    }
    p {
        margin: 0;
    }
    img {
        width: 100%;
        max-width: 980px;
        margin-inline: auto;
        margin-bottom: 2rem;
    }
    .cause-card-text {
        font-size: clamp(16px, calc(13.826086956521738px + 0.5434782608695652vw), 18px);
    }
}
@media (width >= 768px) {
    .cause-card {
        padding: 4rem;
        h3 {
            text-align: center;
        }
        .cause-card-text {
            text-align: center;
        }
    }
}

/* ==========================================================================
   Advancement Section
   ========================================================================== */
.advancement-section {
    .section-title {
        color: var(--white);
    }
}
.advancement-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 1.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
    p {
        margin: 0;
    }
    h3 {
        margin-bottom: 0;
        font-size: clamp( 18px, calc( 11.478260869565219px + 1.6304347826086956vw ), 24px );
        &:first-of-type {
            color: var(--primary-light);
        }
    }
    img {
        width: 100%;
        max-width: 980px;
        margin-inline: auto;
        margin-bottom: 2rem;
    }
    .advancement-card-text {
        font-size: clamp(16px, calc(13.826086956521738px + 0.5434782608695652vw), 18px);
    }
    tr {
        border-radius: var(--radius-small);
        overflow: hidden;
    }
    th,
    td {
        padding:1rem;
    }
    th {
        background-color: var(--primary);
        color: var(--white);
    }
    td {
        background-color: var(--color-gray-light);
    }
    td:nth-of-type(2) {
        padding: 0 1rem;
    }
    table, thead, tbody, th, td, tr {
        display: block;
    }
    table {
        width: 100%;
    }
    tr {
        margin-bottom: 1rem;
    }
    thead {
        display: none;
    }
    td {
        display: flex;
        flex-direction: column;
    }
    td::before {
        content: attr(data-label);
        border-bottom: 1px solid var(--blue-gray);
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }
    button {
        margin-inline: auto;
    }
    .hidden-row {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
        margin-bottom: 0;
    }
    .hidden-row.show {
        max-height: 500px;
        opacity: 1;
        margin-bottom: 1rem;
    }
}
@media (width >= 768px) {
    .advancement-card {
        padding: 4rem;
    h3 {
        text-align: center;
    }
    table {
        width: 100%;
        display: table;
    }
    thead,tbody {
        width: 100%;
        display: table-row-group;
    }
    tr {
        display: table-row;
        margin: 0;
    }
    th, td {
        display: table-cell;
    }
    th:nth-of-type(1) {
        width: 25%;
    }
    th:nth-of-type(2),
    th:nth-of-type(3) {
        width: calc(75% / 2);
    }
    td:nth-of-type(1) {
        text-align: center;
    }
    td:nth-of-type(2) {
        padding: 1rem;
    }
    td::before {
        content: none;
    }
    .hidden-row {
        display: none;
    }
    .hidden-row.show {
        display: table-row;
    }
    }
    .advancement-card-text {
        text-align: center;
    }

}

/* ==========================================================================
   Reason Section
   ========================================================================== */
.reason-cards {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.reason-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-large);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.reason-image {
    flex-shrink: 0;
}

.reason-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reason-text {
    padding: 1.5rem 1.5rem;
}

.reason-title {
    font-size: clamp( 18px, calc( 11.478260869565219px + 1.6304347826086956vw ), 24px );
    font-weight: 500;
    color: var(--dark);
    margin: 0 0 1rem 0;
    font-feature-settings: "halt";
}

.reason-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reason-list li {
    padding-left: 1rem;
    text-indent: -0.6rem;
    font-feature-settings: "halt";
}

.reason-list li::before {
    content: "•";
    margin-right: 0.25rem;
    color: var(--primary);
}

@media (width < 768px) {
    .reason-image img {
        aspect-ratio: 16 / 9;
    }
}

@media (width >= 768px) {
    .reason-card {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .reason-card.reverse {
        flex-direction: row-reverse;
    }
    .reason-image {
        width: 35%;
        align-self: stretch;
        display: flex;
    }
    .reason-text {
        flex: 1;
        padding: 2rem;
    }
}

/* ==========================================================================
   slider
   ========================================================================== */
#js-slide-container {
    .swiper-slide {
        aspect-ratio: 10 / 6.66;
        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
    .swiper-wrapper {
        transition-timing-function: linear;
    }
}

/* ==========================================================================
   trust Section
   ========================================================================== */
.trust-section {
    .logo-sixty {
        display: block;
        margin: 0 auto;
        width: auto;
        height: 40px;
    }
    .trust-points {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: fit-content;
        margin: 0 auto;
        padding: 2rem 0;
    }
    .trust-points img {
        height: 150px;
        width: 150px;
    }
    .trust-description {
        margin: 0;
    }
}

@media (width >= 768px) {
    .trust-section .logo-sixty {
        height: 60px;
    }
    .trust-section .trust-points {
        flex-direction: row;
        padding: 2.5rem;
    }
    .trust-section .trust-points img {
        height:200px;
        width:200px;
    }
    .trust-description {
        text-align: center;
    }
}

/* ==========================================================================
   services Section
   ========================================================================== */
#services {
    h3 {
        font-size: clamp( 18px, calc( 2.782608695652172px + 3.804347826086957vw ), 32px );
        margin-bottom: 2.5rem;
    }
    @media(width >= 768px) {
        h3 {
            text-align: center;
        }
    }
}

.relocation-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    &.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

.relocation-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.relocation-right,
.relocation-card {
    background: var(--white);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
}

.flow-section-title,
.relocation-card-title,
.service-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem 0;
    font-feature-settings: "halt";
}

.relocation-card-title::before,
.flow-section-title::before  {
    content: "●";
    margin-right: 0.5rem;
    color: var(--dark);
}
.service-list,
.relocation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li,
.relocation-list li {
    padding-left: 1rem;
    text-indent: -0.6rem;
}

.service-list li::before,
.relocation-list li::before {
    content: "•";
    margin-right: 0.25rem;
    color: var(--primary);
}


.flow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.flow-item {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--blue-gray);
    border-radius: var(--radius-small);
    overflow: hidden;
}

.flow-step {
    background: var(--blue-gray);
    color: var(--white);
    padding: 1rem;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
    width: 98px;
    text-align: center;
}

.flow-content {
    padding: 0 1rem;
    text-align: left;
    font-weight: 500;
    line-height: 1.3;
    flex: 1;
}

.service-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-medium);
    overflow: hidden;
    position: relative;
}
.service-card::after {
    content: "";
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: url('../images/top/icon-modal.svg') no-repeat right bottom;
    background-size: 24px 24px;
}

.service-image {
    width: 100%;
    margin-bottom: 1rem;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-small);
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (width >= 768px) {
    .relocation-section {
        grid-template-columns: 0.7fr 2.3fr;
        gap: 2rem;
    }
    .flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .flow-content {
        text-align: center;
    }
}

@media (width >= 980px) {
    .service-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* ==========================================================================
   Service Modal
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-large);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--color-gray);
}

.modal-close i {
    width: 24px;
    height: 24px;
    color: var(--dark);
}

.modal-body {
    padding: 2rem;
}

.modal-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-medium);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-title {
    font-size: clamp(20px, calc(17.391304347826086px + 0.6521739130434783vw), 24px);
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 1.5rem 0;
}

.modal-description {
    font-size: clamp(14px, calc(13.217391304347828px + 0.19565217391304346vw), 16px);
    line-height: 1.8;
    color: #555;
}

.modal-description p {
    margin-bottom: 1rem;
}

.modal-description p:last-child {
    margin-bottom: 0;
}

.service-card {
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.2s;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card.visible:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-item {
    border-top: 1px solid var(--color-gray);
    border-bottom: 1px solid var(--color-gray);
    padding: 2.5rem 0.5rem;
}

.faq-item + .faq-item {
    border-top: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    cursor: pointer;
    font-size: clamp(16px, calc(14.608695652173912px + 0.3478260869565217vw), 18px);
    font-weight: 400;
    color: var(--dark);
    list-style: none;
    & ::before{
        margin-right: 1rem;
        content: "Q";
        font-family: var(--font-en);
        font-weight: 700;
        color: var(--blue-gray);
    }
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question span {
    display: flex;
    flex: 1;
    text-align: left;
}

.faq-question i {
    flex-shrink: 0;
    margin-left: 1rem;
    color: var(--primary);
}

.faq-answer {
    overflow: hidden;
    height: 0;
    opacity: 0;
    & ::before{
        margin-right: 1rem;
        content: "A";
        font-family: var(--font-en);
        font-weight: 700;
        color: var(--primary-light);
    }
}

.faq-answer p {
    display: flex;
    margin: 0;
    padding-top: 1.5rem;
    font-size: clamp(16px, calc(14.608695652173912px + 0.3478260869565217vw), 18px);
    font-weight: 400;
    
}

/* ==========================================================================
   contact
   ========================================================================== */
#quick-inquiry {
        max-width: 600px !important;
    margin-inline: auto !important;
    .mktoFormCol input[type="text"],
    .mktoFormCol input[type="email"],
    .mktoFormCol input[type="tel"],
    .mktoFormCol select,
    .mktoFormCol textarea {
        width: 100% !important;
        height: auto !important;
        padding: 0.5rem 1rem !important;
        border: none !important;
    }
    form {
        padding: 0;
    }
    .mktoFormCol input[type="text"],
    .mktoFormCol input[type="email"],
    .mktoFormCol input[type="tel"] {
        line-height: 1;
    }
    .mktoForm .mktoFieldWrap {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .mktoForm .mktoFormRow{
        display: flex;
    }

    .mktoForm .mktoFormRow:has(.privacypolicytext){
        display: none;
    }    
    .mktoForm .mktoFormCol {
        width: 100%;
        margin-bottom: 0 !important;
    }
    .mktoForm .mktoFormCol .mktoLabel {
        display: flex;
        flex-direction: row;
        width: 100% !important;
        color: var(--white);
    }
    .mktoOffset {
        display: none;
    }
    .mktoButtonRow {
        margin-top: 1rem;
    }
    
    /* ─── チェックボックス ─── */
    .mktoCheckboxList input {
        opacity: 0;
        position: absolute;
    }
    .mktoCheckboxList input,
    .mktoCheckboxList label {
        display: inline-block;
        vertical-align: middle;
        margin: 5px;
        cursor: pointer;
    }
    .mktoCheckboxList label {
        position: relative;
        margin-left: 0;
        color: var(--white);
        width: fit-content;
    }
    
    /* ─── チェックボックス枠（::before） ─── */
    .mktoCheckboxList input + label:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        width: 24px;
        height: 24px;
        margin-right: 10px;
        background: #fff;
        border-radius: var(--radius-small);
        box-sizing: border-box;
        transition: background 0.15s, border-color 0.15s;
    }
    /* checked */
    .mktoCheckboxList input:checked + label:before {
        background: var(--primary);
    }

    /* ─── チェックマーク（::after）純CSSボーダー ─── */
    .mktoCheckboxList input:checked + label:after {
        content: '';
        position: absolute;
        /* ::before の左端 + 中央寄せ調整 */
        left: 8px;
        top: 50%;
        width: 6px;
        height: 11px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: translateY(-65%) rotate(45deg);
    }

    .mktoButtonWrap button[type="submit"] {
        width: 100%;
        max-width: 300px;
        margin-inline: auto;
    }
}

@media (width >= 1260px) {
    #quick-inquiry {
    max-width: 85% !important;
    margin-inline: 0 !important;
        .mktoForm .mktoFieldWrap {
            flex-direction: row;
            align-items: center;
        }
        .mktoForm .mktoFormRow {
            margin-bottom: 0.75rem;
        }
        .mktoForm .mktoFormCol .mktoLabel {
            width: 13em !important;
            line-height: 1.2;
        }
    }
}

#contact {
    .mktoFormCol input[type="text"],
    .mktoFormCol input[type="email"],
    .mktoFormCol input[type="tel"],
    .mktoFormCol select,
    .mktoFormCol textarea {
        width: 100% !important;
        height: auto !important;
        padding: 0.75rem 1rem !important;
    }
    .mktoForm .mktoFormCol {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
    .mktoForm .mktoFormCol .mktoLabel {
        display: flex;
        flex-direction: row-reverse;
        width: fit-content !important;
        padding-bottom: 1rem !important;
        line-height: 1.2 !important;
    }
}

.form-wrapper {
    padding: clamp( 1rem, calc( -1.1739130434782608rem + 8.695652173913043vw ), 3rem );
    background-color: var(--white);
    border-radius: var(--radius-large);
}
.mktoForm {
    width: 100% !important;
}
.mktoFormCol input[type="text"],
.mktoFormCol input[type="email"],
.mktoFormCol input[type="tel"],
.mktoFormCol select,
.mktoFormCol textarea {
    font-size: clamp( 16px, calc( 13.826086956521738px + 0.5434782608695652vw ), 18px ) !important;
    border: 1px solid var(--color-gray) !important;
    border-radius: var(--radius-small) !important;
}

.mktoForm .mktoFormCol .mktoLabel {
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp( 16px, calc( 13.826086956521738px + 0.5434782608695652vw ), 18px ) !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
}

.mktoForm .mktoFormCol .mktoLabel strong {
    padding: 0 !important;
    font-weight: 600 !important;
}

.mktoForm .mktoFormCol .mktoAsterix {
    float: none !important;
    color: var(--attention) !important;
}

.mktoForm .mktoFormCol .mktoCheckboxList {
    width: 100% !important;
}
.mktoForm .mktoFormCol .mktoCheckboxList label {
    margin-top: 0 !important;
    margin-bottom: 1em !important;
    margin-left: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: calc(100% - 2rem) !important;
    display: inline-block !important;
    line-height: 1 !important;
}
.mktoForm .mktoFormCol .mktoCheckboxList input[type="checkbox"] {
    margin: 0 0.5rem 0 0 !important;
    transform: translateY(3px) !important;
}
.mktoFieldWrap {
    width: 100% !important;
}
.mktoForm .mktoButtonRow {
    width: 100%;
    margin-inline: auto;
    text-align: center;
}
.mktoButtonWrap.mktoStriped {
    margin: 0 !important;
}

/* ==========================================================================
   Company
   ========================================================================== */
.company-table {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 1px solid var(--color-gray);
    & th, & td {
        display: block;
        width: 100%;
        text-align: left;
        font-size: clamp( 16px, calc( 13.826086956521738px + 0.5434782608695652vw ), 18px );
    }

    & th {
        padding: 1.5rem 1rem 1rem 1rem;
        border-top: 1px solid var(--color-gray);
    }

    & td {
        padding: 0 1rem 1.5rem 1rem;
    }
}

/* ==========================================================================
   floating　BTN
   ========================================================================== */
.floating-doc-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 9999;

  width: 260px;
  padding: 16px 64px 16px 20px;
  border-radius: 18px;
  text-decoration: none;
  color: #10294f;

  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 41, 79, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow:
    0 18px 40px rgba(16, 41, 79, 0.14),
    0 6px 16px rgba(0, 0, 0, 0.08);

  transform: translateY(16px);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.floating-doc-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-doc-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 6px;
  border-radius: 0 6px 6px 0;
  background: linear-gradient(180deg, #1f78d1 0%, #143f8f 100%);
}

.floating-doc-btn::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);

  width: 38px;
  height: 38px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #e60012 0%, #c80010 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;

  box-shadow: 0 8px 18px rgba(230, 0, 18, 0.24);
}

.floating-doc-btn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 44px rgba(16, 41, 79, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.10);
}

.floating-doc-btn__eyebrow {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: #2f6fbe;
}

.floating-doc-btn__title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #10294f;
}

.floating-doc-btn__sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: #5c6f8e;
}

@media screen and (max-width: 768px) {
  .floating-doc-btn {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    max-width: 320px;
    padding: 14px 58px 14px 16px;
    border-radius: 14px;
  }

  .floating-doc-btn__eyebrow {
    font-size: 10px;
  }

  .floating-doc-btn__title {
    font-size: 16px;
  }

  .floating-doc-btn__sub {
    font-size: 11px;
  }

  .floating-doc-btn::after {
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}