:root{
    --font_en: "adobe-caslon-pro", serif;
    --font_jp: dnp-shuei-gothic-kin-std, sans-serif;
    --fontSizeDt: 26px;
}

html {
    scroll-behavior: smooth;
}
body {
    font-size: 14px;
    font-family: dnp-shuei-gothic-kin-std, sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
}
p,li,dd{
    line-height: 1.8;
}
img {
    width: 100%;
    height: auto;
}
a {
    text-decoration: none;
    transition: all 0.5s 0s ease;
}
a:hover {
    opacity: 0.7;
}

/* ヘッダー */
header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 0;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
header h1,header p{
    width: 40%;
    max-width: 300px;
}
header nav ul{
    display: flex;
    gap:20px;
}
header nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    font-family: var(--font_en);
    font-size: 20px;
    line-height: 1em;
}
header nav ul li .jp{
    display: block;
    font-family: var(--font_jp);
    font-size: 12px;
    text-align: center;
}
header nav ul li:hover a{
    opacity: 0.7;
    transition: 0.6s;
}
header nav input {
    display: none;
}

/* footer */
footer{
    background: #5E802D;
}
.footer_bg{
    margin-top: -50px;
    position: relative;
    z-index: 1;
}
.footer_top {
    display: grid;
    grid-template-columns: 35% 50% 15%;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 0 5%;
}
.footer_top .footer_logo {
    display: flex;
    align-items: center;
    padding: 20px 0;
}
.footer_logo img{
    max-width: 300px;
    width: 80%;
    margin: 0 auto;
}
.footer_top ul {
    display: flex;
    flex-wrap: wrap;
    border-left: 1px solid #fff;
    font-family: var(--font_en);
    padding: 30px 0 30px 50px;
    gap: 30px;
    min-height: 80px;
}
.footer_top ul a {
    color: #fff;
}
.footer_top .social {
    gap: 20px;
}
.footer_top .social li img{
    max-width: 20px;
}
.footer_btm {
    padding-top: 30px;
    position: relative;
}
.footer_btm p{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-family: var(--font_en);
    color: #fff;
}

/* メインビジュアル */
.main-v {
    width: 100%;
    aspect-ratio: 3834/2275;
    height: 100%;
    background: url("../img/top/mv.png") center no-repeat;
    background-size: cover;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#main-text {
    font-size: 36px;
    letter-spacing: 0.5em;
    padding-right: 5%;
}

/* メインコンテンツ共通 */
main {
    width: 100%;
    position: relative;
    z-index: 1;
}
.link_btn {
    width: 260px;
    height: 75px;
    margin-top: 50px;
}
.link_btn a{
    display: block;
    width: 100%;
    height: 100%;
    background: #00823A;
    color: #fff;
    border-radius: 50px;
    line-height: 75px;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
}
.link_btn a::after {
    content: "→";
    position: absolute;
    right: 40px;
}
.top_title{
    max-width: fit-content;
    position: relative;
    padding: 40px 80px 0 0;
}
.top_title h2{
    font-family: var(--font_en);
    font-size: 120px;
    font-weight: 600;
    color: #003737;
    position: relative;
    z-index: 3;
}
.top_title p{
    position: absolute;
    top:0;
    right: 0;
    width: 110px;
    height: 110px;
}

/* top area*/
.top_area{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 50px 5%;
}
.top_area figure{
    grid-column: 1/2;
    grid-row: 1/2;
    text-align: center;
}
.top_area figure img{
    max-width: 620px;
}
.top_area section{
    text-align: left;
    align-content: center;
}
.top_area h2{
    font-size: 26px;
    margin-bottom: 30px;
}
.top_area section p{
    margin-bottom: 30px;
}
.br-pc{
    display: none;
}

/*about*/
.about {
    background: #D3DBD1;
    padding: 100px 0 100px 5%;
    display: grid;
    grid-template-columns: 40% auto;
}
.about .left_cont{
    grid-column: 1/2;
}
.about .left_cont dl dt{
    font-size: var(--fontSizeDt);
    margin-bottom: 30px;
}
.slider_cont{
    overflow-x: hidden;
    grid-column: 2/3;
    align-content: center;
    max-width: 60vw;
    height: 600px;
    position: relative;
}
.slick-list{
    padding-right: 180px !important;
}
.slider_cont img{
    margin: 0 20px;
}

/*news*/
.news {
    background: #D3DBD1;
    border-top: 1px solid #5C7A79;
    display: grid;
    grid-template-columns: 60% 40%;
    padding: 0 0 0 5%
}
.news .left_cont {
    border-right: 1px solid #5C7A79;
    grid-template-rows: subgrid;
    padding-right: 50px;
}
.news .left_cont .left_head {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr) ) ;
    align-items: center;
    margin-bottom: 100px;
}
.news .left_cont .left_head .link_btn {
    margin: 0 0 0 auto;
}
.news_list dl{
    display: grid;
    grid-template-columns: 8fr 2fr;
    border-bottom: 1px solid #5C7A79;
    padding: 10px 0;
}
.news_list dl dt {
    grid-column: 1/2;
} 
.news_list dl dt a {
    color: #333;
}
.news_list dl dd {
    grid-column: 2/3;
}
.news section {
    padding: 100px 0;
}
.news .right_cont figure {
    width: 80%;
    margin: 0 auto;
    background: #CBD3C8;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news .right_cont figure img{
    width: 80%;
}

/*recruit*/
.recruit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #447833;
    padding: 100px 5%;
}
.recruit .top_title h2 {
    color: #E7EAD7;
}
.recruit .top_title p{
    top: 0;
    left: -80px;
}
.recruit .left_cont {
    padding-left: 80px;
}
.recruit .left_cont dl {
    color: #E7EAD7;
}
.recruit .left_cont dl dt {
    font-size: var(--fontSizeDt);
    margin-bottom: 30px;
}
.recruit figure {
    max-width: 760px;
}


/* /////////////////// ここから下層ページ /////////////////////////　*/
.page-v {
    width: 100%;
    height: 100%;
    aspect-ratio: 3845/1437;
    position: relative;
    z-index: 0;
}
.page_title{
    max-width: fit-content;
    position: absolute;
    padding: 40px 80px 0 0;
    left: 5%;
    bottom: 0;
}
.page_title h1{
    font-family: var(--font_en);
    font-size: 120px;
    font-weight: 600;
    color: #fff;
    position: relative;
    z-index: 3;
}
.page_title p{
    position: absolute;
    top:0;
    right: 0;
    width: 110px;
    height: 110px;
}
.page_wrap {
    padding: 80px 5% 150px;
    background: #fff;
}

/* about */
.about_header {
    background: url("../img/about/bg.png") center no-repeat;
    background-size: cover;
}
.about_page .inner{
    max-width: 1360px;
    margin: 0 auto;
}
.about_text {
    margin-bottom: 100px;
}
.about_text dt {
    font-size: 30px;
    letter-spacing: 0.5em;
    margin-bottom: 30px;
    line-height: 1.8;
}
.about_text dd {
    font-size: 18px;
}
.greeting {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5%;
}
.greeting figure {
    grid-column: 1/2;
}
.greeting .text_area {
    grid-column: 2/3;
    position: relative;
    align-content: center;
}
.greeting .text_area p + p{
    font-size: 24px;
    text-align: right;
    margin-top: 50px;
}
.greeting .text_area p + p .s_text {
    font-size: 16px;
    margin-right: 20px;
}
.overview {
    margin-top: 100px;
    border-bottom:1px solid #8A8A8A;
}
.overview dl {
    display: grid;
    grid-template-columns: 310px auto;
    border-top: 1px solid #8A8A8A;
}
.overview dl dt {
    grid-column: 1/2;
    background: #D3DBD1;
    padding: 20px 60px;
    display: grid;
    align-items: center;
}
.overview dl dd {
    grid-column: 2/3;
    padding: 20px 60px;
}

/*company*/
.company_page h2,.contact_page h2{
    text-align: center;
    color: #00371D;
    background: #D3DBD1;
    font-size: 30px;
    padding: 30px;
}
.company_header {
    background: url("../img/company/bg.png") center no-repeat;
    background-size: cover;
}
.biz_details section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}
.biz_details section dl {
    grid-column: 1/2;
    margin: 0 10% 0 0;
}
.biz_details section dt{
    font-size: 26px;
}
.biz_details section dd{
    margin-top: 30px;
}
.biz_details figure {
    grid-column: 2/3;
}
.biz_details section:nth-child(2) dl{
    grid-column: 2/3;
    margin: 0 0 0 10%;
}
.biz_details section:nth-child(2) figure{
    grid-column: 1/2;
    grid-row: 1/1;
}
.job_desc figure {
    display: flex;
    justify-content: space-between;
}
.job_desc figure img{
    width: 31%;
}
.job_table{
    margin-top: 60px;
    border-bottom: 1px solid #8A8A8A;
}
.job_table div {
    display: grid;
    grid-template-columns: 310px auto;
    grid-template-rows: auto auto;
    border-top: 1px solid #8A8A8A;
}
.job_table h3 {
    grid-column: 1/2;
    grid-row: 1/3;
    background: #D3DBD1;
    text-align: center;
    place-content: center;
}
.job_table h3 + dl {
    grid-column: 2/3;
    grid-row: 1/2;
    border-bottom: 1px solid #8A8A8A;
}
.job_table div:last-child dl{
    border-bottom: 0;    
}
.job_table dl + dl {
    grid-column: 2/3;
    grid-row: 2/3;
}
.job_table dl {
    display: grid;
    grid-template-columns: 160px auto;
}
.job_table dl dt {
    text-align: center;
    background: #f4f6f3;
    padding: 20px 0;
}
.job_table dl dd {
    padding: 0 0 0 20px;
    place-content: center;
}

/* staff */
.staff_header {
    background: url("../img/staff/bg.png") center no-repeat;
    background-size: cover;
}
.staff_page .about_text dd {
    margin-bottom: 30px;
}
.daihyo_name {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.daihyo_name dt {
    margin-right: 10px;
    font-size: 16px;
}
.daihyo_name dd {
    font-size: 22px;
}
/* news */
.news_header {
    background: url("../img/news/bg.png") center no-repeat;
    background-size: cover;
}
.news_page article {
    max-width: 1000px;
    margin: 0 auto;
}
.news_page article .time {
    color: #8B8B8B;
    margin-right: 20px;
}
.news_page article .cat {
    color: #fff;
    background: #FFC234;
    padding: 0 10px;
}
.news_page article .time_cat {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin: 0 0 30px;
}
.news_page article h2 {
    font-size: 20px;
    margin-bottom: 30px;
}
.news_back {
    max-width: 1000px;
    text-align: center;
    margin: 100px auto 50px;
    border-top: 1px solid #B4B4B4;
    padding-top: 20px;
}
.news_back a {
    color: #333;
}
.archive_area {
    min-height: 50vh;
}
.pagenation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
}
.pagenation a {
    color: #333;
}
.prev {
    grid-column: 1/2;
}
.next {
    grid-column: 2/3;
    text-align: right;
}
.archive_list article {
    border-bottom: 1px solid #B4B4B4;
    padding: 50px 0;
}
.archive_list article:last-child {
    border: none;
}

/* recruit */
.recruit_header {
    background: url("../img/recruit/bg.png") center no-repeat;
    background-size: cover;
}
.recruit_text {
    display: grid;
    grid-template-columns: 45% 55%;
}
.recruit_text figure img {
    max-width: 600px;
}
.recruit_text dl {
    width: fit-content;
    margin-left: auto;
    padding-top: 100px;
}
.recruit_text dl dt {
    font-size: 30px;
    margin-bottom: 50px;
    line-height: 1.8em;
}
.recruit_text dl dd{
    font-size: 18px;
    display: block;
}

/* contact */
.contact_header {
    background: url("../img/contact/bg.png") center no-repeat;
    background-size: cover;
}
.contact_form{
    max-width: 860px;
    margin: 50px auto;
}
.contact_form .smf-item {
    display: grid;
    grid-template-columns: 180px auto;
    grid-auto-columns: auto;
    gap: 20px;
    margin-bottom: 20px;
}
.contact_form .smf-item__col--label {
    grid-column: 1/2;
    grid-row: 1/2;
}
.contact_form .smf-item__col--controls {
    grid-column: 2/3;
    width: 100%;
}
.contact_page p {
    text-align: center;
}
.contact_page .page_wrap {
    min-height: 50vh;
}
.smf-action .smf-button-control__control {
    border: none;
    outline: none;
    appearance: none;
    width: 100%;
    max-width: 860px;
    display: block;
    background: #D3DBD1;
    padding: 10px 0;
    margin: 30px auto 0;
}
.smf-select-control,input[type=text],
input[type=email],
select,
textarea {
    width: 100%;
    box-sizing: border-box;
}
textarea{
    height: 100px;
}
input.post_num {
    width: 25%;
}
.smf-text-control:has(.post_num)::before {
    content: "〒";
}
.spacer {
    margin: 20px 0;
}

/* //////////////   スマホ用css //////////////////////// */

@media screen and (max-width: 768px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
    }
    header h1,header p{
        width: 50%;
        max-width: 300px;
    }
    /* nav */
    .menu {
        position: absolute;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        padding: 50px 0 10px 0;
        transition: 0.3s linear;
        transform: scale(1, 0);
        transform-origin: top;
        background: rgba(255,255,255,0.8);
        z-index: 999;
    }
    .menu li {
        border-top: 1px solid rgb(75, 75, 75);
        padding: 15px 0;
        margin: 0 54px;
    }

    /* メニューボタン */
    .menu-btn {
        display: none;
    }
    .menu-btn:checked~.menu {
        transform: scale(1, 1);
        transform-origin: top;
        transition: 0.3 linear;
    }
    .menu-icon {
        display: inline-block;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        height: 50px;
        width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    }
    .navicon {
        background: #333;
        display: block;
        height: 3px;
        width: 26px;
        position: relative;
        transition: 0.3 linear;
        z-index: 2;
    }
    .navicon:before,
    .navicon:after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        position: absolute;
        background: #333;
        transition: 0.3s linear;
    }
    .navicon::before {
        top: 9px;
    }
    .navicon:after {
        bottom: 9px;
    }

    /* ハンバーガーメニューアニメーション */
    .menu-btn:checked~.menu-icon .navicon:before {
        top: 0;
        transform: rotate(-45deg);
    }
    .menu-btn:checked~.menu-icon .navicon:after {
        bottom: 0;
        transform: rotate(45deg);
    }
    .menu-btn:checked~.menu-icon .navicon {
        background: rgba(0, 0, 0, 0);
        transition: 0.2s linear;
    }
    
    
    /* ヘッダー */
    header {
        display: flex;
        padding: 10px 5% 0;
    }
    header nav ul{
        display: block
    }

    /* footer */
    .footer_bg{
        margin-top: -30px;
    }
    .footer_logo img{
        max-width: 200px;
        width: 60%;
        margin: 0 auto;
    }
    .footer_top {
        display: block;
        border-top: none;
        border-bottom: none;
    }
    .footer_top ul {
        justify-content: center;
        border: none;
    }
    .footer_top .footer_nav {
        display: none;
    }
    .footer_top .social{
        padding: 0;
        margin-top: 30px;
        min-height: auto;
    }
    .footer_btm p{
        font-size: 10px;
    }

    /* メインビジュアル */
    .main-v {
        aspect-ratio: auto;
        height: 90vh;
        background: url("../img/top/mv_sp.png") center bottom no-repeat;
        background-size: cover;
        position: relative;
        z-index: 0;
    }
    #main-text {
        font-size: 20px;
        padding-bottom: 20vh;
    }

    /* メインコンテンツ共通 */
    .link_btn {
        width: 260px;
        height: 60px;
        margin-top: 50px;
    }
    .link_btn a{
        line-height: 60px;
    }
    .top_title{
        padding: 20px 40px 0 0;
    }
    .top_title h2{
        font-size: 40px;
    }
    .top_title p{
        width: 50px;
        height: 50px;
    }

    /* top area*/
    .top_area{
        display: block;
    }
    .top_area h2{
        font-size: 18px;
    }

    /*about*/
    .about {
        padding: 50px 5%;
        display: block;
    }
    .about .left_cont dl dt{
        font-size: 18px;
    }
    .slider_cont{
        overflow-x: hidden;
        max-width: 100vw;
        height: auto;
        margin-top: 30px;
    }
    .slick-list{
        padding-right: 0 !important;
    }
    .slider_cont img{
        margin: 0 10px;
    }

    /*news*/
    .news {
        display: block;
        padding: 50px 5%
    }
    .news .left_cont {
        border-right: none;
        padding: 0;
    }
    .news section {
        padding: 50px 0;
    }
    .news .right_cont figure {
        width: 80%;
        margin: 0 auto;
        padding: 50px 0;
    }
    .news .left_cont .left_head {
        margin-bottom: 30px;
    }
    .news_list dl{
        display: block;
    }
    .news_list dl dd {
        text-align: right;
        margin-top: 10px;
    }
    .news .right_cont figure {
        width: 100%;
    }


    /*recruit*/
    .recruit {
        display: block;
        padding: 50px 5%;
    }
    .recruit .top_title p{
        left: -40px;
    }
    .recruit .left_cont {
        padding-left: 40px;
    }
    .recruit .left_cont dl dt {
        font-size: 18px;
    }
    .recruit figure {
        max-width: 80%;
        margin: 30px auto;
    }


/* /////////////////// ここから下層ページ /////////////////////////　*/
    .page_title{
        padding: 20px 40px 0 0;
    }
    .page_title h1{
        font-size: 40px;
    }
    .page_title p{
        width: 50px;
        height: 50px;
    }
    .page_wrap {
        padding: 40px 5% 100px;
    }

    /* about */
    .about_text {
        margin-bottom: 50px;
    }
    .about_text dt {
        font-size: 18px;
        letter-spacing: 0.1em;
        margin-bottom: 20px;
    }
    .about_text dd {
        font-size: 14px;
    }
    .greeting {
        display: block;
    }
    .greeting figure {
        margin-bottom: 20px;
    }
    .greeting .text_area p + p{
        font-size: 20px;
        margin-top: 30px;
    }
    .greeting .text_area p + p .s_text {
        font-size: 14px;
    }
    .overview {
        margin-top: 50px;
        border: none;
    }
    .overview dl {
        display: block;
        border: none;
    }
    .overview dl dt {
        grid-column: 1/2;
        padding: 15px 20px;
    }
    .overview dl dd {
        padding: 15px 20px;
    }

    /*company*/
    .company_page h2,.contact_page h2{
        font-size: 20px;
        padding: 20px;
    }
    .biz_details section {
        display: block;
        margin-bottom: 30px;
    }
    .biz_details section dl {
        margin: 0 0 20px;
    }
    .biz_details section dt{
        font-size: 20px;
    }
    .biz_details section dd{
        margin-top: 20px;
    }
    .biz_details section:nth-child(2) dl{
        margin: 0 0 20px;
    }
    .job_table {
        border: none;
    }
    .job_table div {
        display: block;
        border: none;
    }
    .job_table h3 {
        padding: 15px 0;
    }
    .job_table h3 + dl {
        border: none;
    }
    .job_table dl {
        display: block;
    }
    .job_table dl dt {
        text-align: left;
        padding: 15px 20px;
    }
    .job_table dl dd {
        padding: 15px 20px;
    }

    /* staff */
    .staff_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .staff_list .name {
        font-size: 18px;
    }

    /* news */
    .news_page article h2 {
        font-size: 16px;
    }

    /* recruit */
    .recruit_text {
        display: block;
    }
    .recruit_text figure{
        text-align: center;
    }
    .recruit_text figure img {
        max-width: 80%;
    }
    .recruit_text dl {
        padding-top: 0;
        margin-bottom: 30px;
    }
    .recruit_text dl dt {
        font-size: 20px;
        margin-bottom: 30px;
    }
    .recruit_text dl dd{
        font-size: 14px;
    }

    /* contact */
    .contact_form .smf-item {
        display: block;
    }
    .contact_form .smf-item__col--label {
        margin-bottom: 10px;
    }
    .contact_form .smf-item__col--controls {
        margin-bottom: 10px;
    }
    .spacer {
        margin: 10px 0;
    }
    input.post_num {
        width: 35%;
    }

}