@charset "utf-8";

/* =========================
基本設定
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #f0f8ff;
    color: #334155;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Yu Gothic",
        "Meiryo",
        sans-serif;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* =========================
ヘッダー
========================= */

#header {
    background-color: #b0c4de;
    color: azure;
}

.header_inner {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 38px 0 22px;
}

h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.sc1 {
    width: min(320px, 55%);
    height: 4px;
    margin-top: 14px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
}


/* =========================
メイン
========================= */

#main {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.sc2,
.sc3 {
    padding: 72px 0;
}

h2 {
    margin: 0 0 42px;
    text-align: center;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.3;
    color: #39566f;
    letter-spacing: 0.04em;
}


/* =========================
大洞川
========================= */

.pic_ar {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(24px, 4vw, 48px);
}

.picbox {
    width: 50%;
    margin: 0;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(62, 91, 116, 0.12);
}

.picbox img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
}

.picbox p {
    margin: 20px 4px 4px;
    text-align: left;
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.8;
}


/* =========================
飛騨川公園
========================= */

.sc3 {
    width: 100%;
    padding-top: 32px;
}

.park_image {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(62, 91, 116, 0.12);
}

.park_image img {
    width: 100%;
    border-radius: 12px;
}


/* =========================
フッター
========================= */

#footer {
    min-height: 80px;
    margin-top: 56px;
    background-color: #88aedf;
}

.footer_inner {
    width: min(1100px, 90%);
    margin: 30px auto;
}

.footer_inner p{
    text-align: center;
    color: aliceblue;
}


/* =========================
タブレット・スマートフォン
========================= */

@media (max-width: 767px) {

    .header_inner {
        width: 88%;
        padding: 28px 0 20px;
    }

    h1 {
        text-align: center;
        font-size: 30px;
    }

    .sc1 {
        width: 120px;
        margin: 12px auto 0;
    }

    #main {
        width: 90%;
    }

    .sc2,
    .sc3 {
        padding: 48px 0;
    }

    h2 {
        margin-bottom: 28px;
        font-size: 30px;
    }

    .pic_ar {
        display: block;
    }

    .picbox {
        width: 100%;
        margin-bottom: 28px;
        padding: 16px;
        border-radius: 14px;
    }

    .picbox:last-child {
        margin-bottom: 0;
    }

    .picbox img,
    .park_image img {
        border-radius: 10px;
    }

    .picbox p {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.7;
    }

    .sc3 {
        padding-top: 24px;
    }

    .park_image {
        padding: 14px;
        border-radius: 14px;
    }

    #footer {
        min-height: 54px;
        margin-top: 32px;
    }
}


/* =========================
とても小さい画面
========================= */

@media (max-width: 420px) {

    #main {
        width: 92%;
    }

    .picbox {
        padding: 12px;
    }

    .park_image {
        padding: 12px;
    }
}
