* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: #f5f5f3;
    color: #333;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Noto Sans JP",
        "Yu Gothic",
        sans-serif;
    font-size: 17px;
    line-height: 1.9;
}

body > a {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

article {
    width: calc(100% - 30px);
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 45px 55px;
    background: #fff;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.06);
}

h1 {
    margin: 0 0 30px;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.45;
    color: #222;
}

h2 {
    position: relative;
    margin: 60px 0 25px;
    padding: 12px 0 12px 18px;
    font-size: clamp(21px, 3vw, 28px);
    line-height: 1.5;
    color: #222;
    border-left: 5px solid #3498db;
    border-bottom: 1px solid #ddd;
}

p {
    margin: 0 0 22px;
}

/* メイン画像 */
.image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    margin: 0 auto 30px;
    border-radius: 8px;
}

/* 記事中の画像 */
.images {
    display: block;
    width: 45%;
    max-width: 45%;
    height: auto;
    object-fit: cover;

    float: left;

    margin: 0 25px 15px 0;

    border-radius: 8px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.clear {
    clear: both;
}

img {
    max-width: 100%;
}

article a {
    color: #315f8a;
    font-weight: bold;
    text-decoration: none;
}

article a:hover {
    text-decoration: underline;
}

/* YouTubeリンク */
article > a:last-child {
    display: block;
    width: 100%;
    padding: 18px 22px;
    margin-top: 25px;
    background: #f1f1f1;
    border-left: 5px solid #333;
    border-radius: 6px;
    line-height: 1.7;
}







.walk-timeline {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 25px 0 30px;
    padding: 25px 10px;
    background: #f7f7f7;
    border-radius: 10px;
}

.walk-point {
    flex: 0 1 auto;
    min-width: 90px;
    text-align: center;
}

.walk-circle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    margin: 0 auto 10px;

    background: #3498db;
    color: #fff;
    border-radius: 50%;

    font-size: 17px;
    font-weight: bold;
}

.walk-point strong {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
}

.walk-line {
    flex: 1;
    height: 2px;
    margin: 0 3px;
    background: #3498db;
    position: relative;
    min-width: 25px;
}

.walk-line span {
    position: absolute;
    left: 50%;
    top: -25px;
    transform: translateX(-50%);

    font-size: 12px;
    color: #555;
    white-space: nowrap;
    font-weight: bold;
}

#map {
    margin-left: 3%;
    width: 94%;
    height: 40vh;

    display: block;
    border: 2px solid black;
    border-radius: 20px;
    box-sizing: border-box;
}


.circle-marker {
    width: 16px;
    height: 16px;

    background: rgb(20, 77, 235);

    border: 1px solid white;
    border-radius: 50%;

    box-sizing: border-box;

    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 700px) {

    .walk-timeline {
        padding: 20px 3px;
    }

    .walk-point {
        min-width: 55px;
    }

    .walk-circle {
        width: 32px;
        height: 32px;
        margin-bottom: 7px;
        font-size: 13px;
    }

    .walk-point strong {
        font-size: 10px;
    }

    .walk-line {
        min-width: 8px;
    }

    .walk-line span {
        top: -20px;
        font-size: 9px;
    }
}
@media (max-width: 700px) {
    .walk-timeline {
        margin-left: -18px;
        margin-right: -18px;
        border-radius: 0;
        padding: 15px 10px;
    }

    .walk-step {
        min-width: 135px;
    }
}

/* スマホ */
@media (max-width: 700px) {

    body {
        font-size: 16px;
    }

    article {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 25px 18px;
        box-shadow: none;
    }

    h1 {
        font-size: 27px;
    }

    h2 {
        font-size: 22px;
        margin-top: 45px;
    }

    .image {
        width: 100%;
        max-width: 100%;
    }

    .images {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px;
    }
}