:root {
    --link-btn-w: 300px;
    --link-btn-color: #839ba5;
    --link-btn-color-hover: #a9bcc5;
    --link-btn-txt-size: 12pt;
    --pdf-w: 60%;
    --selet-method-w: 50%;
    --select-method-btn-mar: 0px 10px 0px 10px;
    --select-method-btn-h: 50px;
    --map-h: 300px;
    --confirm-mar: 80px;
    --method-title-img: 60%;
}

@media screen and (max-width: 1024px) {
    :root {
        --link-btn-w: 300px;
        --pdf-w: 60%;
        --selet-method-w: 70%;
        --confirm-mar: 40px;
        --method-title-img: 90%;
    }
}


@media screen and (max-width: 900px) {
    :root {
        --link-btn-w: 280px;
        --link-btn-txt-size: 10pt;
        --selet-method-w: 80%;
        --method-title-img: 100%;

    }
}


@media screen and (max-width: 480px) {
    :root {
        --link-btn-w: 240px;
        --link-btn-txt-size: 8pt;
        --pdf-w: 60%;
        --selet-method-w: 90%;
        --select-method-btn-mar: 0px 5px 0px 5px;
        --select-method-btn-h: 35px;
        --map-h: 200px;

    }
}


.method-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--pdf-w);
    margin: 0px auto 0;
    height: auto;
}

.method-img img {
    width: var(--method-title-img);
    margin: 0 auto;
}

.method-title {
    width: 100%;
    background-color: #839ba5;
}

.method-title h2 {
    color: white;
}

.select-method {
    display: flex;
    width: var(--selet-method-w);
    justify-content: center;
    /* 水平方向の中央寄せ */
    align-items: center;
    /* 垂直方向の中央寄せ */
    margin-left: auto;
    margin-right: auto;
    font-size: var(--res-p);
}

.select-method button {
    width: 50%;
    height: var(--select-method-btn-h);
    background-color: #504e4e;
    margin: var(--select-method-btn-mar);
    color: white;
    border-radius: 20pt;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.select-method button:hover {
    background-color: #839ba5;
}

.select-method .btn-active {
    background-color: #839ba5;
}

.link-btn {
    display: flex;
    text-align: center;
    justify-content: center;
    /* 水平方向の中央寄せ */
    align-items: center;
    /* 垂直方向の中央寄せ */
    margin-left: auto;
    margin-right: auto;
    width: var(--link-btn-w);

    font-size: var(--link-btn-txt-size);
}

.link-btn div {
    color: white;
    width: 100%;
    height: 50px;
    padding: 10px;
    align-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20pt;
    background-color: var(--link-btn-color);
}

.link-btn div:hover {
    background-color: var(--link-btn-color-hover);
}


.pdf-group {
    display: var(--res-flex-input);
    text-align: center;
    justify-content: center;
    /* 水平方向の中央寄せ */
    align-items: center;
    /* 垂直方向の中央寄せ */
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--services-panel-mar);
    width: var(--pdf-w);

}


.pdf-group a {
    padding: 5px;
    width: var(--link-btn-w);
    color: white;
    font-size: var(--link-btn-txt-size);

}

.pdf-group div {
    width: 100%;
    height: var(--select-method-btn-h);
    
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 20pt;
    background-color: var(--link-btn-color);
    align-content: center;
}

.pdf-group div:hover {
    background-color: var(--link-btn-color-hover);
}

.wrap-txt {
    background-color: #e6e5ef;
    width: 100%;
    border-radius: 5pt;
    font-size: var(--res-p);
    padding: 10px;
    ;
}


.access {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    margin: 40px 0;
}

.access-info,
.access-guide {
    flex: 1 1 300px;
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.access h4 {
    font-size: 1.2rem;
    border-left: 4px solid var(--themebrown);
    padding-left: 8px;
    margin-bottom: 10px;
}

.area {
    display: var(--res-flex-input);

    text-align-last: center;
}

.map-iframe {
    border: 0;
    width: 100%;
    height: var(--map-h);
    margin-top: var(--services-panel-mar);
}

.note {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-top: 30px;
}


.id-requirements {
    margin: 40px auto;
    text-align: left;
    line-height: 1.7;
    width: 100%;
}

.id-requirements h4 {
    font-size: 1.3rem;
    border-left: 5px solid #4CAF50;
    padding-left: 10px;
    margin-bottom: 20px;
}

.id-box {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    font-size: var(--res-p);
}

.id-list-wrapper {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 10px 40px;
    margin-top: 20px;
}

.id-list-wrapper ul {
    list-style: none;
    padding: 0;
}

.id-list-wrapper li {
    margin-bottom: 5px;
    position: relative;
    font-size: var(--res-p);
}

.id-list-wrapper li::before {
    content: "・";
    color: #839ba5;
    margin-right: 6px;
}

/* 注意・重要ボックス */
.note-box {
    border-left: 4px solid #ffc107;
    background-color: #fff8e1;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: var(--res-p);
}

.important-box {
    border-left: 4px solid #e53935;
    background-color: #fdecea;
    padding: 15px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: var(--res-p);
}

.flow .description {
    padding: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.method .description {
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}


.confirm {
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    width: var(--res-width);
    text-align: center;
}

.confirm h3 {
    font-size: var(--res-h1);
    text-align: center;
    margin-top: var(--confirm-mar);
    margin-bottom: 40px;
    color: var(--themegray);
}