/*
Theme Name: takamizawa-milkfarm
Description: 高見沢牧場
Theme URI: https://takamizawa-milkfarm.com/
Version: 1.0
License: takamizawa-milkfarm
License URI: https://takamizawa-milkfarm.com/
*/

@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP&display=swap');

/****************************************

リセットCSSここから

*****************************************/

*{
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size:62.5%; /*1em=10px */
    overflow-y: scroll; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    margin:0;
    padding:0;
    border:0;
    outline:0;
    vertical-align:baseline;
    background:transparent;
}


body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary,time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

h1,h2,h3,h4,h5,h6 {
    font-weight:normal;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section,main {
    display:block;
}

ol,ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

img{
    vertical-align: top;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}


/****************************************

body設定(主に書式)

*****************************************/

body{
    font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: #100D0C;
    line-height: 1.8;
    background: #F4F4F4;
    letter-spacing: 0.06em;
}


/****************************************

ページ共通

*****************************************/

#wrapper{
    float: none;
    width: 100%;
    min-width: 1080px;
    min-height: 100%;
    margin: 0 auto;
    overflow: hidden;
}


@media screen and (max-width: 767px) {
    #wrapper{
        float: none;
        width: 100%;
        min-width: 0;
        min-height: 100%;
        margin: 0 auto;
        overflow: hidden;
        background-size: contain;
    }

}


/****************************************

フォント指定

*****************************************/

li,tt,tr,dt,dd,p{
    font-size: 1.6rem;
}

h1{
    color: #333;
    font-weight: bold;
    font-size: 3.0rem;
}
h2{
    color: #333;
    font-weight: bold;
    font-size: 2.6rem;
}
h3{
    color: #FFF;
    font-weight: bold;
	font-size: 2.0rem;
}

.mincho{
    letter-spacing: 0.11em;
    font-family: 'Noto Serif JP', "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

@media screen and (max-width: 767px) {
    
    li,tt,tr,dt,dd,p{
        font-size: 1.5rem;
    }
    
    h1{
        font-size: 2.4rem;
        line-height: 1.5;
    }
    h2{
        font-size: 2.0rem;
        line-height: 1.5;
    }
    h3{
        font-size: 1.8rem;
        line-height: 1.5;
    }
}


/****************************************

リンク指定

*****************************************/

a:link,a:visited{
    font-weight: normal;
    color: #100D0C;
    text-decoration: underline;
    -webkit-transition:0.2s linear;
    transition:0.2s linear;
}
a:hover,a:active {
    font-weight: normal;
    color: #1A8C1D;
    text-decoration: none;
    -webkit-transition:0.2s linear;
    transition:0.2s linear;
}

/****************************************

オンマウス時のアクション

*****************************************/

a:hover img.img_opacity {
    opacity: 0.75;
    filter: alpha(opacity=75);
    -webkit-transition:0.2s linear;
    transition:0.2s linear;
}

a img.img_opacity {
    -webkit-transition:0.2s linear;
    transition:0.2s linear;
}


/****************************************

pcヘッダー

*****************************************/

@media print,screen and (min-width:768px) {

    header{
        width:100%;
    }
    
    .header_top{
        position: relative;
        width:100%;
        height: 901px;
    }
    
    .header_page{
        position: relative;
        width:100%;
        height: 401px;
    }
    
    .header_logo{
        z-index: 2;
        position: absolute;
        width: 260px;
        height: 180px;
        top: 0;
        left: 0;
    }
    
}


/****************************************

spヘッダー・spナビ

*****************************************/
@media screen and (max-width:767px) {
    img {
        width: 100%;
        height: auto;
    }
    header {
        display: block;
        width: 100%;
    }
    
    .header_logo {
        width: 100%;
        padding: 5px 0;
        background: url(images/header_logo_bg_sp.jpg) top center repeat;
    }
    
    .logo a {
        display: block;
        width: 40%;
        margin: 0 auto;
    }
    
    .navi_box{
        display: none;
    }
    
    #toggle {
        position: absolute;
        right: 15px;
        top: 25px;
        width: 30px;
        height: 25px;
        cursor: pointer;
        z-index: 9999;
    }
    #toggle div {
        position: relative;
    }
    #toggle span {
        display: block;
        position: absolute;
        width: 100%;
        height: 4px;
        background: #FFF;
        border-radius: 4px;
        -webkit-transition: 0.35s ease-in-out;
        -o-transition: 0.35s ease-in-out;
        transition: 0.35s ease-in-out;
    }
    #toggle span:first-child {
        top: 0;
    }
    #toggle span:nth-child(2) {
        top: 11px;
    }
    #toggle span:nth-child(3) {
        top: 22px;
    }
    .open_navi #toggle {
        position: fixed;
    }
    .open_navi #toggle span:first-of-type {
        -webkit-transform: translateY(11px) rotate(-315deg);
        -ms-transform: translateY(11px) rotate(-315deg);
        transform: translateY(11px) rotate(-315deg);
    }
    .open_navi #toggle span:nth-of-type(2) {
        opacity: 0;
    }
    .open_navi #toggle span:nth-of-type(3) {
        -webkit-transform: translateY(-11px) rotate(315deg);
        -ms-transform: translateY(-11px) rotate(315deg);
        transform: translateY(-11px) rotate(315deg);
    }
    #sp_navi {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100vw;
        overflow-y: scroll;
        text-align: left;
        background: rgba(26, 140, 29,0.9);
        z-index: 999;
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
        -webkit-transition: 0.7s ease-in-out;
        -o-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }
    .open_navi #sp_navi {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: 0.7s ease-in-out;
        -o-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }
    .open_navi #wrapper {
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
        -webkit-filter:blur(3px);
        filter:blur(3px);
        -webkit-transition: 0.7s ease-in-out;
        -o-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }
    #sp_navi .menu {
        padding-top: 80px;
        text-align: center;
    }
    #sp_navi .menu .menu-item {
        width: 100%;
        text-align: center;
        border-bottom: #48A34A 1px solid;
        cursor: pointer;
        color: #FFF;
        margin: 0 auto;
        font-size: 1.4rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    #sp_navi .menu .menu-item-home {
        border-top: #48A34A 1px solid;
    }
    #sp_navi .menu-item a,
    #sp_navi .menu-item span {
        display: block;
        padding: 15px 0 14px;
    }
    #sp_navi .menu-item a:active,
    #sp_navi .menu-item a:hover,
    #sp_navi .menu-item a:link,
    #sp_navi .menu-item a:visited {
        color: #FFF;
        text-decoration: none;
    }
    #sp_navi .sub-menu {
        width: 100%;
        text-align: center;
        display: none;
    }
    #sp_navi .sub-menu li {
        width: 100%;
        text-align: center;
        border-top: #48A34A 1px solid;
    }
    #sp_navi .sub-menu li a {
        display: block;
        padding: 11px 0 10px;
        color: #FFF;
        background-color: rgba(22, 124, 24, 0.9);
    }
    #sp_navi .sub-menu li a:active,
    #sp_navi .sub-menu li a:hover,
    #sp_navi .sub-menu li a:link,
    #sp_navi .sub-menu li a:visited {
        color: #FFF;
        text-decoration: none;
    }
    #sp_navi .sub-menu li a:hover {
        color: #FFF;
        background: none;
    }
    #sp_navi .menu-item-has-children {
        position: relative;
    }
    #sp_navi .menu-item-has-children:before {
        content: '';
        width: 14px;
        height: 14px;
        border: 0;
        border-top: solid 3px #ddd;
        border-right: solid 3px #ddd;
        -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        transform: rotate(135deg);
        -webkit-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        position: absolute;
        top: 14px;
        right: 20px;
    }
    #sp_navi .menu-item-has-children.menu_open:before {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: 0.2s ease-in-out;
        -o-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        top: 22px;
    }
    
    #g_navi {
        display: none;
    }
}



/****************************************

pc用 横ナビ

*****************************************/

@media print, screen and (min-width: 768px) {

    #sp_navi,#toggle{display: none;}

}

#g_navi{
    width: 100%;
    padding: 20px calc((100% - 1040px) / 2);
    border-top: 1px solid #EBEAEA;
    border-bottom: 2px solid #FFF;
    background-color: #E6E5E5;
}
#g_navi .menu{
    *zoom: 1;
    width: 100%;
    list-style-type: none;
    margin: 0 auto;
}
#g_navi .menu:before, #g_navi .menu:after{
    content: "";
    display: table;
}
#g_navi .menu:after{
    clear: both;
}
#g_navi .menu li{
    position: relative;
    width: 208px;
    float: left;
    text-align: center;
    line-height:0;
}

#g_navi .menu li a{
    display: block;
    padding: 0;
    margin: 0;
    color: #FFF;
    font-size: 1.4rem;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}
#g_navi .menu li ul{
    list-style: none;
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    margin: 0;
    padding-top: 22px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition:0.3s;
    transition: 0.3s;
}

#g_navi .menu li ul li{
    width: 100%;
}
#g_navi .menu li ul li a{
    width: 208px;
    padding: 13px 2px;
    border-top: 1px solid #48A34A;
    font-size: 1.4rem;
    line-height: 1.5;
    background: #1A8C1D;
    color: #FFF;
    font-weight: normal;
    text-align: center;
    opacity: 0.95;
    filter: alpha(opacity=95);
    visibility: hidden;
    opacity: 0;
    -webkit-transition:.5s;
    transition: .5s;
}

#g_navi .menu li ul li a:hover{
    background: #167C18;
    color: #FFF;
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
}

#g_navi .menu li:hover ul{
    visibility: visible;
    opacity: 0.95;
}

#g_navi .menu li:hover ul li a{
    visibility: visible;
    opacity: 1;
}


/****************************************

ティーザー

*****************************************/

/* TOPスライダー共通 */

@media print, screen and (min-width: 768px) {
    #slider {
        position: relative;
        width: 100%;
        height: 901px;
        overflow: hidden;
        margin: 0 auto;
        border-bottom: 1px solid #1E1B17;
    }
    
    #slider img{
        position: absolute;
        width: 1920px !important;
        height: auto;
        top: 0;
        left: calc(50% - 960px);
    }
    
    .metaslider .flex-control-nav{
        bottom: -110px !important;
    }
    
    .flex-direction-nav{
        padding-top: 845px !important;
    }
    
    .teaser{
        width: 100%;
        height: 401px;
        text-align: center;
        border-bottom: 1px solid #1E1B17;
    }
    
    .teaser_about{
        height: 400px;
        padding-top: 160px;
        background: url(images/teaser_about_bg.jpg) top center no-repeat;
    }
    
    .teaser_recruit{
        height: 400px;
        padding-top: 160px;
        background: url(images/teaser_recruit_bg.jpg) top center no-repeat;
    }
    
    .teaser_information{
        height: 400px;
        padding-top: 160px;
        background: url(images/teaser_information_bg.jpg) top center no-repeat;
    }
    
    .teaser_blog{
        height: 400px;
        padding-top: 160px;
        background: url(images/teaser_blog_bg.jpg) top center no-repeat;
    }
    
    .teaser_txt{
        width: 380px;
        margin: 0 auto;
        padding: 25px 0 30px;
        background-color: rgba(255,255,255,0.85);
    }
    
    .teaser_txt p{
        line-height: 1.0;
        color: #3F3933;
        font-size: 2.8rem;
        font-weight: bold;
    }
    
}


@media screen and (max-width: 767px) {
    
    #slider {
        width: 140%;
        overflow: hidden;
        margin: 0 0 0 -20%;
    }
    
    .metaslider .flex-control-nav{
        bottom: 10px !important;
    }
    
    .metaslider .flexslider{
        margin: 0 !important;
    }
    
    .teaser{
        width: 100%;
        height: 201px;
        text-align: center;
        border-bottom: 1px solid #1E1B17;
    }

    .teaser_about{
        height: 200px;
        padding-top: 70px;
        background: url(images/teaser_about_bg.jpg) center center no-repeat;
    }

    .teaser_recruit{
        height: 200px;
        padding-top: 70px;
        background: url(images/teaser_recruit_bg.jpg) center center no-repeat;
    }

    .teaser_information{
        height: 200px;
        padding-top: 70px;
        background: url(images/teaser_information_bg.jpg) center center no-repeat;
    }

    .teaser_blog{
        height: 200px;
        padding-top: 70px;
        background: url(images/teaser_blog_bg.jpg) center center no-repeat;
    }

    .teaser_txt{
        width: 75%;
        margin: 0 auto;
        padding: 20px 0;
        background-color: rgba(255,255,255,0.85);
    }

    .teaser_txt p{
        line-height: 1.0;
        color: #3F3933;
        font-size: 2.2rem;
    }
    
}


/****************************************

content 共通設定

*****************************************/

#contents{
    width: 100%;
    margin: 0 auto;
}

main#top_main{
    width: 100%;
    margin: 0 auto 100px;
}

main#page_main{
    width: 1040px;
    margin: 0 auto 100px;
}

.breadcrumb_area{
    width: 100%;
    margin: 35px auto;
    text-align: left;
}

.breadcrumb{
    width: 1040px;
    margin: 0 auto;
    padding: 3px 0;
}

.breadcrumb p{
    color: #100C0C;
    font-size: 1.4rem;
}
.breadcrumb p a:link,
.breadcrumb p a:visited{
    color: #100C0C;
    text-decoration: none;
}
.breadcrumb p a:hover,
.breadcrumb p a:active{
    color: #1A8C1D;
    text-decoration: underline;
}

@media screen and (min-width: 768px) {

    .pc_none{
        display: none;
    }

}

@media screen and (max-width: 767px) {
    
    main#top_main{
        padding: 0 10px;
        margin: 0 auto 50px;
    }

    main#page_main{
        width: 100%;
        padding: 0 10px;
        margin: 0 auto 50px;
    }

    .breadcrumb_area {
        padding: 0 10px;
        margin: 0 auto 30px;
    }

    .breadcrumb{
        width: 100%;
    }

    .breadcrumb p{
        font-size: 1.2rem;
    }
    
    .sp_none{
        display: none;
    }
    
}


/****************************************

contentトップ用

*****************************************/

/* 1カラム目 */
.top_box01{
    width: 100%;
    height: auto;
    text-align: center;
    padding: 100px calc((100% - 1040px) / 2) 90px;
    background: url(images/top_box01_bg05.svg) top 56px left calc(50% - 322px) no-repeat,url(images/top_box01_bg04.svg) top 254px right calc(50% - 353px) no-repeat,url(images/top_box01_bg03.svg) bottom 109px left calc(50% - 657px) no-repeat,url(images/top_box01_bg02.svg) bottom 0 right calc(50% - 692px) no-repeat,url(images/top_box01_bg01.jpg) top center repeat;
}

.top_box01_tit{
    position: relative;
    width: 100%;
    line-height: 1.2;
    margin-bottom: 30px;
    padding-bottom: 80px;
    color: #3F3933;
    font-size: 3.0rem;
    font-weight: normal;
}

.top_box01_tit span{
    font-size: 2.6rem;
}

.top_box01_tit:before{
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 60px;
    content: '';
    background: #999693;
}

.top_box01_banner{
    display: flex;
    justify-content: space-between;
}

.top_box02{
    width: 100%;
    height: auto;
    text-align: center;
    margin-bottom: 90px;
    padding: 75px calc((100% - 1040px) / 2) 80px;
    border-top: 2px solid #FFF;
    background: url(images/top_box02_bg.jpg) top center no-repeat;
    background-size: cover;
}

.top_box02_tit{
    width: 100%;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #198C1D;
    font-size: 3.0rem;
    text-shadow: 0 0 10px #FFF;
}

.top_box02_tit span{
    display: block;
    margin-top: 15px;
    color: #3F3933;
    font-size: 2.2rem;
}

.top_box02_content{
    width: 100%;
    padding: 45px 50px 50px;
    background-color: rgba(255,255,255,0.9);
}

.top_box02_txt{
    margin-bottom: 30px;
}

.top_box02_banner{
    display: flex;
    justify-content: space-between;
}

.top_box03{
    width: 100%;
    height: auto;
    text-align: left;
    margin-bottom: 90px;
    padding: 0 calc((100% - 1040px) / 2);
}

.top_box03_tit{
    width: 100%;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 30px;
    padding: 8px 0 10px;
    color: #3F3933;
    font-size: 3.0rem;
    background: url(images/top_box03_tit.jpg) center center no-repeat;
    background-size: contain;
}

.top_box03_tit:first-letter{
    color: #198C1D;
}

.top_box03_tit span{
    display: block;
    margin-top: 10px;
    font-size: 1.6rem;
}

.blog_top{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.blog_top_parts{
    width: 320px;
    height: auto;
    margin-right: 40px;
}

.blog_top .blog_top_parts:nth-child(3){
    margin-right: 0;
}

.blog_top_img{
    width: 100%;
    height: 260px;
    margin-bottom: 20px;
    padding: 4px;
    border: 1px solid #CCC;
    background-color: #FFF;
}

.blog_top_img figure{
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog_top_img figure img{
    position: absolute;
    width: auto;
    height: 100%;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.top_box04{
    display: flex;
    justify-content: space-between;
    padding: 0 calc((100% - 1040px) / 2);
}

@media screen and (min-width: 768px) {
    
}

@media screen and (max-width: 767px) {
    
    .top_box01{
        padding: 30px 10px;
    }

    .top_box01_tit{
        font-size: 2.6rem;
    }

    .top_box01_tit span{
        font-size: 1.8rem;
    }

    .top_box01_banner{
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
    }
    
    .top_box01_banner a:nth-child(1){
        margin-bottom: 20px;
    }
    
    .top_box02{
        margin-bottom: 50px;
        padding: 30px 25px;
    }

    .top_box02_tit{
        font-size: 2.6rem;
    }

    .top_box02_tit span{
        font-size: 1.8rem;
    }

    .top_box02_content{
        width: 100%;
        padding: 25px;
    }

    .top_box02_txt{
        margin-bottom: 20px;
    }

    .top_box02_banner{
        flex-direction: column;
    }
    
    .top_box02_banner .btn_box01:nth-child(3){
        margin-bottom: 0 !important;
    }
    
    .top_box03{
        margin-bottom: 50px;
    }

    .top_box03_tit{
        margin-bottom: 20px;
        padding: 10px 0;
        color: #3F3933;
        font-size: 2.6rem;
    }

    .top_box03_tit span{
        font-size: 1.4rem;
    }

    .blog_top{
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
    }

    .blog_top_parts{
        width: 48%;
        height: auto;
        margin-right: 4%;
    }

    .blog_top .blog_top_parts:nth-child(2){
        margin-right: 0;
    }
    
    .blog_top .blog_top_parts:nth-child(3){
        display: none;
    }
    
    .blog_top_img{
        height: auto;
        margin-bottom: 10px;
    }

    .blog_top_img figure{
        height: 190px;
    }

    .top_box04{
        flex-direction: column;
    }
    
    .top_box04 a:nth-child(1){
        margin-bottom: 10px;
    }
    
}

/****************************************

news トップ用

*****************************************/

#news_box{
    width: 100%;
    height: auto;
    text-align: left;
    margin-bottom: 90px;
    padding: 0 calc((100% - 1040px) / 2);
}

.news_tit{
    width: 100%;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 30px;
    padding: 8px 0 10px;
    color: #3F3933;
    font-size: 3.0rem;
    background: url(images/news_tit.jpg) center center no-repeat;
    background-size: contain;
}

.news_tit:first-letter{
    color: #198C1D;
}

.news_tit span{
    display: block;
    margin-top: 10px;
    font-size: 1.6rem;
}

.news_post{
    width: 100%;
    height: 300px;
    padding-right: 40px;
    overflow-y: scroll;
}

.news_list{
    width: 100%;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #CCC;
}

.news_list_tit{
    width: 100%;
    margin-bottom: 10px;
    padding-left: 20px;
    color: #1A8C1D;
    font-size: 1.6rem;
    background: url(images/news_list_tit.jpg) center left no-repeat;
}

.news_list_txt{
    width: 100%;
}

@media screen and (min-width: 768px) {

}

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

    .news_post{
        padding-right: 30px;
    }

    .news_list{
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .news_list_tit{
        margin-bottom: 5px;
    }
    
}


/****************************************

content下層用

*****************************************/

/* 全ページ共通　フレックスボックス*/
.flex{
    display: flex;
    justify-content: space-between;
}

.flex_r{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.txt520{
    width: 520px;
}

.txt580{
    width: 580px;
}

.gray_bg{
    padding: 30px;
    background-color: #EDEDED;
}

@media screen and (max-width: 767px) {
    .flex,
    .flex_r{
        flex-direction: column;
    }
}

/* コンセプト */

.concept_box01{
    width: 100%;
    text-align: center;
    padding: 80px;
    background: url(images/concept_box01_bg.jpg) top center no-repeat;
    background-size: cover;
}

/* 牧場紹介 */

.introduction_box01{
    width: 460px;
    height: 370px;
    padding: 4px;
    border: 1px solid #CCC;
    background-color: #FFF;
}

/* 1日の流れ */

.flow_box01 li{
    display: flex;
    justify-content: space-between;
}

.flow_box01 li:not(:last-child){
    margin-bottom: 20px;
}

.flow_box01 h2{
    color: #100C0C;
    font-size: 1.6rem;
}

.flow_tit_red,.flow_tit_green,.flow_tit_blue{
    width: 220px;
    padding: 10px 20px;
}

.flow_tit_red{
    background-color: #EEDCD2;
}

.flow_tit_green{
    background-color: #D3E6D3;
}

.flow_tit_blue{
    background-color: #D3DAE9;
}

.flow_tit_yellow{
    text-align: center;
    padding: 10px 20px;
    background-color: #EEEDCC;
}

.flow_txt{
    width: 810px;
    padding: 10px 20px;
    background-color: #EDEDED;
}

/* 投稿 */

.position_relative{
    position: relative;
}

.post_banner{
    position: absolute;
    width: 290px;
    height: auto;
    bottom: 0;
    right: 0;
}

/* 3列投稿 */

.three_column_post{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
}

.three_column_parts{
    width: 320px;
    height: auto;
    margin: 0 40px 40px 0;
}

@media screen and (min-width: 768px) {
    
    /* 牧場紹介 */

    .introduction_box01 figure{
        position: relative;
        width: 100%;
        height: 360px;
        overflow: hidden;
    }

    .introduction_box01 figure img{
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
    /* 投稿 */

    .blog_post_parts figure{
        position: relative;
        width: 400px;
        height: 320px;
        overflow: hidden;
    }

    .blog_post_parts figure img{
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
    /* 3列投稿 */

    .three_column_post .three_column_parts:nth-child(3n){
        margin-right: 0;
    }
    
    .three_column_img{
        width: 100%;
        height: 270px;
        margin-bottom: 10px;
        padding: 4px;
        border: 1px solid #CCC;
        background-color: #FFF;
    }

    .three_column_parts figure{
        position: relative;
        width: 100%;
        height: 260px;
        overflow: hidden;
    }

    .three_column_parts figure img{
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
}

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

    .txt520,.txt580{
        width: 100%;
    }
    
    .gray_bg{
        padding: 20px;
    }
    
    .mb20_sp{
        margin-bottom: 20px;
    }
    
    /* コンセプト */

    .concept_box01{
        padding: 30px;
    }
    
    /* 牧場紹介 */

    .introduction_box01{
        width: 100%;
        height: auto;
    }

    .introduction_box01 figure{
        width: 100%;
        height: auto;
    }

    .introduction_box01 figure img{
        width: 100%;
        height: auto;
    }
    
    /* 1日の流れ */
    
    .flow_box01 .flex{
        display: flex;
        justify-content: space-between;
    }

    .flow_box01 h2{
        line-height: 1.8;
        font-size: 1.5rem;
    }

    .flow_tit_red,.flow_tit_green,.flow_tit_blue{
        width: 90px;
    }

    .flow_txt{
        width: calc(100% - 100px);
    }
    
    /* 3列投稿 */

    .three_column_post{
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
    }

    .three_column_parts{
        width: 48%;
        margin: 0 4% 30px 0;
    }
    
    .three_column_post .three_column_parts:nth-child(2n){
        margin-right: 0;
    }

    .three_column_img{
        width: 100%;
        height: auto;
        margin-bottom: 10px;
        padding: 4px;
        border: 1px solid #CCC;
        background-color: #FFF;
    }

    .three_column_parts figure{
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .three_column_parts figure img{
        position: absolute;
        width: auto;
        height: 100%;
        top: 0;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }
    
    /* 投稿 */

    .position_relative{
        position: static;
    }

    .post_banner{
        position: static;
        width: 100%;
        height: auto;
        bottom: 0;
        right: 0;
    }
    
    .blog_post_parts{
        padding: 20px;
        border: 1px solid #CACACA;
        background-color: #ECECEC;
    }
    
    .blog_post_parts figure{
        position: relative;
        width: 100%;
        height: 220px;
        overflow: hidden;
    }

    .blog_post_parts figure img{
        position: absolute;
        width: 100%;
        height: auto;
        top: 50%;
        left: 0;
        -webkit-transform: translate(0, -50%);
        -ms-transform: translate(0, -50%);
        transform: translate(0, -50%);
    }
    
    .post_txt{
        margin: 10px 0;
    }
    
}

/****************************************

single.php

*****************************************/

h1.single_headline{
    padding-bottom: 15px;
    margin-bottom: 45px;
    font-size: 2.4rem;
    line-height: 1.5;
    text-align: center;
    border-bottom: 1px solid #DDD;
}

#single_box img{
    max-width: 1000px;
    padding: 10px 0;
}

.nav-below{
    margin: 50px 0;
    font-size: 100%;
    text-align: center;
}

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

    h1.single_headline{
        margin-bottom: 30px;
    }

    #single_box img{
        max-width: 100%;
        padding: 10px 0;
    }
}



/****************************************

投稿　pager設定

*****************************************/

.pager{
    clear:both;
    text-align:center;
    padding: 20px 0;
}

a.page-numbers,
.pager .current{
    background:rgba(0,0,0,0.02);
    border:solid 1px rgba(0,0,0,0.1);
    border-radius:5px;
    padding:5px 8px;
    margin:0 2px;
    font-size: 1.4rem;
}
.pager .current{
    background:rgba(0,0,0,1);
    border:solid 1px rgba(0,0,0,1);
    color:rgba(255,255,255,1);
}


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

    .pager{
        padding: 30px 0;
    }
}



/****************************************

sp_footer

*****************************************/

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

    #pc_footer{
        display: none;
    }

    .sp_bana{
        display: flex;
        justify-content: space-between;
        position: fixed;
        width: 100%;
        height: 60px;
        bottom: 0;
        left: 0;
        z-index: 4;
    }
    
    .sp_bana div{
        position: relative;
        width: 25%;
        background: #1A8C1D;
        border-top: 1px solid #FFF;
    }
    
    .sp_bana div:nth-child(4){
        background: #3F3933;
    }
    
    .sp_bana div:not(:last-child){
        border-right: 1px solid #FFF;
    }
    
    .sp_bana div img{
        width: auto;
        margin-bottom: 7px;
    }
    .sp_bana div p{
        color: #FFF;
        font-size: 1.2rem;
        line-height: 1;
        text-align: center;
    }
    
    .sp_bana a{
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }
    
    .copyright {
        padding: 25px 0 80px;
        text-align: center;
        background: #1A8C1D;
        color: #FFF;
        font-size: 1.2rem;
    }

    .sp_footer_content{
        margin: 30px 0;
        padding: 30px 10px 0;
        border-top: 1px dotted #999;
    }
}


/****************************************

pc_footer

*****************************************/
@media print, screen and (min-width: 768px) {
    #sp_footer{
        display: none;
    }

    #pc_footer{
        position: relative;
        width: 100%;
    }

    .pagetop{
        position: absolute;
        z-index: 4;
        right: 30px;
        bottom: 30px;
    }
    
    .footer_box{
        width: 100%;
        height: auto;
        text-align: left;
        padding: 36px calc((100% - 1040px) / 2) 20px;
        border-top: 4px solid #3F3933;
        background-color: #DFDFDF;
    }
    
    .footer_content{
        display: flex;
        justify-content: space-between;
        margin-bottom: 40px;
    }
    
    .footer_logo{
        width: 200px;
    }
    
    .footer_txt{
        width: 560px;
        padding: 25px 30px;
        background-color: #ECECEC;
    }
    
    .copyright_area{
        text-align: center;
        padding: 2px 0;
    }
    
    .copyright_area p{
        color: #635F5F;
        font-size: 1.4rem;
    }
    
}


/****************************************

sidebar/aside

*****************************************/

@media print, screen and (min-width: 768px) {
    
    .bottom_box{
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
        width: 100%;
        height: auto;
        margin-bottom: 100px;
        padding: 0 calc((100% - 1040px) / 2);
    }
    
    .bottom_box a{
        width: 320px;
        margin-right: 40px;
    }
    
    .bottom_box a:nth-child(3n){
        margin-right: 0;
    }
    
    .bottom_box a:nth-child(-n+3){
        margin-bottom: 30px;
    }
    
}

@media screen and (max-width: 767px) {
    
    .bottom_box{
        display: flex;
        flex-wrap: wrap;
        justify-content: left;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .bottom_box a{
        width: 48%;
        margin-right: 4%;
    }

    .bottom_box a:nth-child(2n){
        margin-right: 0;
    }

    .bottom_box a:nth-child(-n+4){
        margin-bottom: 10px;
    }
    
}


/****************************************

タイトル

*****************************************/

/* 下層ページ共通見出し */

.headline{
    position: relative;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
    padding-bottom: 75px;
    color: #3F3933;
    font-size: 2.6rem;
}

.headline span{
    display: block;
    color: #198C1D;
    font-size: 1.2rem;
    margin-top: 10px;
}

.headline:before{
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 60px;
    content: '';
    background: #999693;
}

.subhead01{
    line-height: 1.2;
    width: 100%;
    color: #198C1D;
    font-size: 4.2rem;
    margin-bottom: 30px;
    padding: 19px 0 13px 60px;
    background: url(images/subhead01.svg) center left no-repeat;
    background-size: contain;
}

.subhead02{
    line-height: 1.2;
    color: #100C0C;
    font-size: 2.0rem;
    font-weight: normal;
    margin-bottom: 30px;
    padding: 19px 0 19px 29px;
    border: 1px solid #FFF;
    background-color: #DEDCDC;
    text-align: left;
}

.subhead03{
    line-height: 1.2;
    color: #100C0C;
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 15px;
    padding: 15px 0 15px 20px;
    background-color: #EDEDED;
    text-align: left;
}

.subhead04{
    line-height: 1.2;
    color: #100C0C;
    font-size: 2.0rem;
    font-weight: normal;
    margin-bottom: 20px;
    padding: 20px 0 20px 16px;
    border-left: 4px solid #B8B7B5;
    background-color: #EDEDED;
    text-align: left;
}

@media screen and (max-width: 767px) {
    
    .headline{
        font-size: 2.2rem;
    }

    .headline span{
        font-size: 1.1rem;
    }

    .subhead02{
        font-size: 1.7rem;
        padding: 19px 0 19px 19px;
    }
    
    .subhead03{
        font-size: 1.6rem;
        padding: 15px 0 15px 15px;
    }

    .subhead04{
        font-size: 1.7rem;
        margin-bottom: 20px;
        padding: 15px 0 15px 16px;
        background-color: #F4F4F4;
    }
    
}


/****************************************

共通div

*****************************************/

.mb10{
    margin-bottom: 10px;
}
.mb20{
    margin-bottom: 20px;
}
.mb30{
    margin-bottom: 30px;
}
.mb40{
    margin-bottom: 40px;
}
.mb50{
    margin-bottom: 50px;
}
.mb60{
    margin-bottom: 60px;
}
.mb70{
    margin-bottom: 70px;
}
.mb80{
    margin-bottom: 80px;
}
.mb90{
    margin-bottom: 90px;
}
.mb100{
    margin-bottom: 100px;
}

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

    .mb40{
        margin-bottom: 30px;
    }
    .mb50{
        margin-bottom: 40px;
    }
    .mb60,.mb70,.mb80,.mb90,.mb100{
        margin-bottom: 50px;
    }

}

/****************************************

テーブル

*****************************************/

/* 募集要項 */

.entry_table{
    width: 100%;
    border-collapse: collapse;
}

.entry_table th{
    width: 33%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #100C0C;
    font-size: 1.6rem;
    font-weight: normal;
    border: 1px solid #ACA9A7;
    text-align: left;
    vertical-align: text-top;
    background-color: #EAE9E8;
}

.entry_table td{
    width: 67%;
    line-height: 1.5;
    padding: 13px 20px;
    color: #100C0C;
    font-size: 1.6rem;
    border: 1px solid #ACA9A7;
    text-align: left;
    vertical-align: text-top;
    background-color: #FFF;
}

.entry_table th span,.entry_table td span{
    display: block;
    color: #743F3F;
    font-size: 1.4rem;
}

/* 会社情報 */

.overview_table{
    width: 100%;
    border-collapse: collapse;
}

.overview_table th{
    width: 33%;
    padding: 13px 20px;
    color: #100C0C;
    font-size: 1.6rem;
    font-weight: normal;
    border: 1px solid #ACA9A7;
    text-align: left;
    vertical-align: text-top;
    background-color: #EAE9E8;
}

.overview_table td{
    width: 67%;
    padding: 13px 20px;
    color: #100C0C;
    font-size: 1.6rem;
    border: 1px solid #ACA9A7;
    text-align: left;
    vertical-align: text-top;
    background-color: #FFF;
}

@media screen and (max-width: 767px){
    
    .overview_table th,.entry_table th{
        display: block;
        width: 100%;
        padding: 10px 13px;
        border-bottom: none;
    }
    
    .overview_table td,.entry_table td{
        display: block;
        width: 100%;
        padding: 10px 13px;
    }
    
    .overview_table tr:not(:last-child) td,.entry_table tr:not(:last-child) td{
        margin-bottom: 15px;
    }

}

/****************************************

P

*****************************************/

/* 改行 */
.line_break{
    padding-top: 20px;
}

@media print, screen and (min-width: 768px){
    .br-pc { display:block; }
    .br-sp { display:none; }
}
@media screen and (max-width: 767px){
    .br-pc { display:none; }
    .br-sp { display:block; }
}

/* 強調*/
.bold{
    font-weight: bold;
}

.txt_center{
    text-align: center;
}

.txt_right{
    text-align: right;
}

.red{
    color: #990000;
}

/****************************************

ボタン

*****************************************/

/* 紺色ボタン */

.btn_box01{
    position: relative;
    width: 290px;
    background: #3F3933;
    text-align: center;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.btn_box01 a{
    display: inline-block;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 14px 0 17px;
    color: #E1E0E0;
    font-size: 1.8rem;
    text-decoration: none;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
}

.btn_box01 a:hover{
    background: #5A5550;
    color: #E1E0E0;
}

.btn_box01 a:after{
    position: absolute;
    content: '';
    right: 20px;
    top: 38%;
    width: 10px;
    height: 10px;
    border-top: 1px solid #E1E0E0;
    border-right: 1px solid #E1E0E0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
}

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

    .btn_box01{
        width: 100%;
        margin-bottom: 10px;
    }

}

/****************************************

Contact Form7

*****************************************/

.wpcf7{
    width: 100%;
}

.form_row{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 30px;
    padding: 0 20px 30px 20px;
    border-bottom: 1px dotted #AAA;
}

.form_row .form_label{
    width: 300px;
}

.form_row .form_label .required{
    display: inline-block;
    color: #FFF;
    font-weight: normal;
    font-size: 1.2rem;
    padding: 0 4px;
    background: #CC0000;
    margin-right: 10px;
    border-radius: 3px;
}

.form_row .form_label .any{
    display: inline-block;
    color: #797979;
    font-weight: normal;
    font-size: 1.2rem;
    padding: 0 4px;
    background: #D7D7D7;
    margin-right: 10px;
    border-radius: 3px;
}

.form_row .form_input{
    width: calc(100% - 300px);
}

.wpcf7-form-control{
    width: 100%;
}

.wpcf7-form input{
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 3px;
}

.wpcf7-form textarea{
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 3px;
}

.form_row .form_input_post{
    width: 180px;
}

.form_row .form_input_post_txt{
    color: #B20000;
    font-weight: normal;
    font-size: 1.3rem;
}

.form_row .last_row{
    padding-bottom: 0;
    border-bottom: none;
}

.tc{
    text-align: center;
}

.tc input[type=submit]{
    cursor: pointer;
    width: 360px;
    max-width: 100%;
    padding: 18px;
    border: 1px solid #AAA;
    border-radius: 8px;
    background-color: #666;
    color: #fff;
    font-size: 1.8rem;
    text-align: center;
    margin: 10px auto 0;
}

.wpcf7 .tc input[type=submit]:hover{
    background-color: #CCC;
    color: #333;
    -webkit-transition: all .25s;
    -o-transition: all .25s;
    transition: all .25s;
}

.wpcf7-response-output{
    font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
    
    .form_row{
        flex-direction: column;
        padding: 0 0 20px 0;
    }

    .form_row .form_label{
        width: 100%;
        margin-bottom: 5px;
    }

    .form_row .form_input{
        width: 100%;
    }

}


/****************************************

clearfix

*****************************************/
.clearfix:after{
    content: ".";
    display: block;
    height: 0;
    font-size:0;
    clear: both;
    visibility:hidden;
}
.clearfix{
    display: inline-block;
}
/* Hides from IE Mac */
* html .clearfix{
    height: 1%;
}
.clearfix{
    display:block;
}

/* End Hack */



/****************************************

追加用

*****************************************/



