/* 共通設定
========================================================================== */
/* fontサイズ */
html {
    /* ルートのフォントサイズを10pxに設定しておく */
    font-size: 62.5%;
}

body {
    /* bodyのフォントサイズを1.2em（12pxと同等のサイズ）に設定 */
    font-size: 1.2em;
    font-family: 'montserratmedium';

    /* スマホのテキストサイズ自動制御を上書き */
    text-size-adjust: 100%;
    　　-webkit-text-size-adjust: 100%; /*Chrome,Safari*/
    　　-ms-text-size-adjust: 100%; /*EgdeMobile*/
    　　-moz-text-size-adjust: 100%; /*firefox*/
}


/* aタグのテキストにアンダーラインを入れる */
.with_underline {
    text-decoration: underline;
}

/* クリアフィックス */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}

/* 画像の共通処理 */
img {
    max-width: 100%;
    vertical-align: middle;
}

/* トップへ飛ぶボタン */
#page-top {
    z-index: 10;
    position: fixed;
    width: 66px;
    height: 66px;
    bottom: 40px;
    right: 55px;
}

#page-top a {
    text-indent: -9999px;
    width: 66px;
    height: 66px;
    display: block;
    background: url("../img/go-to-the-top.png") no-repeat;
}

#page-top a:hover {
    background: url("../img/go-to-the-top-on.png") no-repeat;
}

/* PCスマホ切り替え */
.pc_only {
    display: block;
}

.sp_only {
    display: none;
}

/* レイアウト */
#wrapper {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px;
    position: relative;
    min-width: 1000px;
}

#wrapper #header {
    padding-right: 35px;
    padding-left: 35px;
    background-color: #FFF;
    height: 190px;
}

#wrapper #header h1 {
    float: left;
    margin-left: 15px;
    position: absolute;
    left: 20px;
    top: 25px;
    z-index: 999;
}

#wrapper #header h1 img {
    width: auto;
    height: 160px;
}

#wrapper #header ul {
    padding-top: 30px;
}

#wrapper #header ul li {
    float: right;
    margin-left: 20px;
}

#wrapper #header ul .navi_title {
    margin-left: 40px;
}

.photo img {
    height: auto;
    width: 100%;
}

.copy {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 100px;
    position: relative;
}

#wrapper #footer {
    padding-top: 50px;
    padding-bottom: 100px;
    clear: both;
}

#wrapper #footer p {
    margin-bottom: 30px;
}

#wrapper #footer p img {
    width: 88px;
    height: auto;
}

#wrapper #footer ul {
    width: 260px;
    margin-right: auto;
    margin-left: auto;
}

#wrapper #footer ul .navi_title {
    margin-left: 30px;
}

#wrapper #footer ul li {
    margin-left: 10px;
    float: right;
    margin-right: 10px;
}

@media screen and (max-width: 640px) {
    /*-----------
    共通設定
    -----------*/
    /* レイアウト */
    #wrapper {
        min-width: auto;
        max-width: 100%;
    }

    #wrapper #header h1 {
        float: none;
        position: absolute;
        left: 4px;
        top: 25px;
        width: 20%;
        z-index: 999;
    }

    #wrapper #contents {
        padding-top: 60px;
    }

    #wrapper #contents .copy img {
        width: 86%;
    }

    /* トップへ飛ぶボタン */
    #page-top {
        right: calc((100% - 66px) / 2);
    }

    /* PCスマホ切り替え */
    .pc_only {
        display: none;
    }

    .sp_only {
        display: block;
    }

    /* ヘッダーナビ */
    .navbar-fixed-top {
        background-color: #fff;
        height: 60px;
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 8;
    }

    .navbar-fixed-top .container {
        width: 100%;
        height: 60px;
        padding: 8px 0 0 0;
        box-sizing: border-box;
    }

    .navbar-fixed-top .container .navbar-top-area_sp {
        width: 100%;
        height: 52px;
        position: relative;
    }

    .navbar-fixed-top .container #menu_btn {
        display: block;
        width: 44px;
        height: 44px;
        background: url("../img/menu-open-button.png");
        position: absolute;
        left: 8px;
        top: 0;
        cursor: pointer;
    }

    html.sb-active:not(.sb-static),
    html.sb-active:not(.sb-static) body #menu_btn {
        background: url("../img/menu-close-button.png");
        background-repeat: no-repeat;
    }

    .navbar-fixed-top .container .navbar-top-area_sp .navbar-center {
        position: absolute;
        left: 20%;
        width: 60%;
        text-align: center;
    }
}


/* みっちょ農園紹介ページ(about.html)
========================================================================== */
/* プロフィール */
#profile {
    padding: 60px 0;
}

#profile h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

#profile .profile_img {
    position: relative;
    height: 300px;
}

#profile .profile_img img {
    height: 250px;
    border-radius: 48%;
    margin-bottom: 20px;
    position: absolute;
    top: 20px;
    left: calc( 100% / 2 - 83px)
}

#profile .profile_img img#profile_image2 {
    display: none;
}

#profile .profile_body {
    font-size: 1.2rem;
    line-height: 1.6;
}


/* お知らせページ(news.html)
========================================================================== */
#news_page_title {
    margin-bottom: 60px;
}

section {
    text-align: left;
    margin-bottom: 120px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 8px;
}

.news_title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.news_date {
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
}

.news_body {
    font-size: 1.6rem;
    line-height: 2.0;
}


/* 購入ボタン
========================================================================== */
.button_to_buy {
    margin-bottom:80px;
}

.button_to_buy a {
    font-weight: bold;
    width: 60%;
    background-color: #ffa41c;
    color: #333;
    text-align: center;
    text-decoration: none;
    display: block;
    margin: 0 auto;
    padding: 16px 0;
    font-size: 1.4rem;
    border: 1px solid #ffa41c;
    margin-bottom: 16px;
    position: relative;
    border-radius: 16px;
}

.button_to_buy a:hover {
    background-color: #c71585;
    border: 1px solid #c71585;
    color: #fff;
}

@media screen and (max-width: 640px) {
    .button_to_buy a {
        width: 96%;
    }
}

/* よくある質問ページ(faq.html)
========================================================================== */
#faq_page_title {
    margin-bottom: 60px;
}

.faq_title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.faq_title .q {
    font-size: 2.4rem;
    color: mediumvioletred;
}

.faq_body {
    font-size: 1.6rem;
    line-height: 2.0;
}

.faq_body .a {
    font-size: 2.6rem;
    color: #ffa41c;
}

.mb80 {
    margin-bottom: 80px;
}
