@charset "utf-8";

:root {
    --width--container: 1000px;
    --padding--container: min(20px, 5.4vw);
    --sec--padding-bottom: 50px;
    --white: #fff;
    --black: #333;
    --primary-brown: #665546;
    --secondary-brown: #EEE6DC;
    --tertiary-brown: #FAF7F2;
    --ff-noto-sans: 'Noto Sans JP', sans-serif;
    --ff-noto-serif: 'Noto Serif JP', serif;
    --ff-ibarra-real-nova: 'Ibarra Real Nova', serif;
    --ff-libre-baskerville: 'Libre Baskerville', serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    box-sizing: border-box;
    font-size: 1.6rem;
    line-height: 1.6;
    font-family: "Noto Serif JP", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", serif;
    color: var(--black);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body * {
    box-sizing: inherit;
}

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    image-rendering: -webkit-optimize-contrast;
}

input,
button,
textarea,
select {
    -webkit-appearance: none;
    appearance: none;
}

a {
    display: inline-block;
    cursor: pointer;
}

h1 {
    font-size: 36px;
    /* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.4rem + ((1vw - 0.64rem) * 2.1429));
    /* 24px~36pxで可変*/
    line-height: 1.3;
}

h2 {
    font-size: 24px;
    /* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));
    /* 20px~24pxで可変*/
    line-height: 1.3;
}

#form-bloack {
    scroll-margin-top: 100px;
}

.is-sp {
    display: block !important;
}

.is-pc {
    display: none !important;
}

@media (min-width: 1000px) {
    .is-sp {
        display: none !important;
    }

    .is-pc {
        display: block !important;
    }
}

/*======================== ボタン ========================*/
.button {
    display: block;
    max-width: 600px;
    color: var(--white);
    background-color: var(--primary-brown);
    transition: opacity .4s ease;
}

@media (min-width: 1000px) {
    .button:hover {
        opacity: 0.85;
    }
}

/*======================== mainVisual ========================*/
.mainVisual {
    position: relative;
    width: 100%;
    margin: 0 auto 4.5rem;
}

.mainVisual__bg {
    max-width: 1440px;
    min-height: 150px;
    max-height: 250px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 40vw;
    margin: auto;
}

@media (min-width: 1000px) {
    .mainVisual {
        margin-bottom: 8rem;
    }

    .mainVisual__bg {
        height: 24.306vw;
    }
}

@media (min-width: 1200px) {
    .is-sp {
        display: none;
    }
}

@media (min-width: 1200px) {

    /* 1200px以上*/
    h1 {
        font-size: 3.6rem;
        /* 36px*/
    }

    h2 {
        font-size: 2.4rem;
        /* 24px*/
    }
}

@media screen and (max-width: 640px) {

    /* 640px以下*/
    body {
        line-height: 2;
    }

    h1 {
        font-size: 2.4rem;
        /* 24px*/
    }

    h2 {
        font-size: 2rem;
        /* 20px*/
    }
}