@charset "utf-8";

/* ========== すべて共通 ========== */
html,
body {
    font-size: 16px;
    font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
    color: #393939;
    background: #efffef;
}

body,
div,
p,
h1,
h2,
h3,
h4,
ul,
figure {
    margin: 0;
    padding: 0;
}

p,
td,
th,
li {
    line-height: 1.8;
}

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

a {
    color: #709a00;
}

a:hover {
    color: #95cd00;
}

a:active {
    color: #4b6700;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 共通の見出し */
main h1 {
    margin-bottom: 1rem;
    font-weight: normal;
    font-size: 1.6rem;
}


main h2 {
    position: relative;
    line-height: 1.6;
    padding: 0.25em 1.5em;
    display: inline-block;
    top: 0;
    margin: 3rem 0 2rem 0;
    color: #006400;
    font-size: 1.8rem;
}

main h2:before,
main h2:after {
    position: absolute;
    top: 0;
    content: '';
    width: 8px;
    height: 100%;
    display: inline-block;
}

main h2:before {
    border-left: solid 2px #006400;
    border-top: solid 2px #006400;
    border-bottom: solid 2px #006400;
    left: 0;
}

main h2:after {
    content: '';
    border-top: solid 2px #006400;
    border-right: solid 2px #006400;
    border-bottom: solid 2px #006400;
    right: 0;
}

@media screen and (min-width: 768px) {
    main h2 {
        margin: 8rem 0 4rem 0;
        font-size: 2rem;
    }
}

.container {
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    max-width: 1000px;
}

@media screen and (min-width: 768px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.pcenter {
    text-align: center;
}

/* ========== PAGE TOPボタン ========== */
#page_top {
    width: 46px;
    height: 46px;
    position: fixed;
    right: 0;
    bottom: 50px;
    background: #68be8d;
    /*ボタンの色*/
    opacity: 0.6;
    border-radius: 50%;
    /*角の丸み*/
}

#page_top a {
    position: relative;
    display: block;
    width: 46px;
    height: 46px;
    text-decoration: none;
}

#page_top a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f102";
    /*アイコン*/
    font-weight: 900;
    font-size: 25px;
    color: #fff;
    /*アイコンの色*/
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
}


/* ========== ヘッダー ========== */
header {
    background: #fff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    padding: 10px 0;
    width: 250px;
    height: 37px;
}

.menu-btn {
    padding: 10px 0;
    border: 1px solid #006400;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    background: url(../images/hamburger.png) no-repeat center center;
    background-size: contain;
}

@media screen and (min-width: 768px) {
    .header-logo {
        padding: 20px 0;
        width: 312px;
        height: 46px;
    }

    .menu-btn {
        display: none;
    }
}

/* ========== ナビゲーション ========== */
nav {
    background: #006400;
}

.navbar {
    display: none;
    list-style-type: none;
}

.navbar a {
    display: block;
    padding: 0.6rem 0;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease 0s;

}

.navbar a:hover {
    background: #fff;
    color: #006400;
}

@media screen and (min-width: 768px) {
    .navbar {
        display: flex !important;
    }

    .navbar li {
        flex: 1 1 auto;
        text-align: center;
    }

    .navbar a.nav-current {
        background: #c84040;
    }
}

/* ナビゲーション固定 */
.fixed {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* ========== キービジュアル ========== */
.home-keyvisual {
    position: relative;
}

.home-keyvisual p {
    position: absolute;
    color: #fff;
    font-weight: bold;
    font-size: 2.3em;
    line-height: 1.4;
    top: 2%;
    left: 2%;
    margin: 0;
    padding: 0;
}

@media screen and (min-width: 768px) {
    .home-keyvisual p {
        font-size: 5em;
        line-height: 1.4;
        top: 5%;
        left: 5%;
    }
}

/* ========== メインエリア基本レイアウト ========== */
main {
    padding: 30px 0 30px 0;
    background: #fff;
}

@media screen and (min-width: 768px) {
    main {
        padding: 50px;
    }
}

/* ========== フッター ========== */
footer {
    background: #006400;
    font-size: 0.6rem;
    color: #fff;
}

.footer-container {
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-copyright {
    text-align: center;
}


.footer-logo {
    width: 47px;
    height: 37px;
    margin: 0 auto;
    padding-bottom: 20px;
}

@media screen and (min-width: 768px) {
    footer {
        font-size: 0.8rem;
    }

    .footer-logo {
        padding: 20px 0;
        width: 58px;
        height: 46px;
    }
}


/* ========== index トップページ ========== */


/* 基本理念 */
.rinen-container p,
.access-container p,
.contact-container p {
    font-size: 1.1rem;
    line-height: 2em;
    text-align: left;
}

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

    .rinen-container p,
    .access-container p,
    .contact-container p,
    .thanks-container {
        font-size: 1.3rem;
        line-height: 2em;
    }
}

/* 事業計画 */
.rinen-container,
.keikaku-container,
.houjin-container,
.access-container,
.contact-container,
.thanks-container {
    padding: 0 30px 100px 30px;
    text-align: center;
}

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

    .rinen-container,
    .keikaku-container,
    .houjin-container,
    .access-container,
    .contact-container,
    .thanks-container {
        padding: 0 70px 160px 70px;
    }
}

.keikaku-container ol {
    counter-reset: number;
    /*数字をリセット*/
    list-style-type: none !important;
    /*数字を一旦消す*/
    padding: 0;
}

.keikaku-container ol li {
    border-bottom: dashed 1px #d3d3d3;
    position: relative;
    padding: 0.5em 0.5em 0.5em 40px;
    line-height: 1.6em;
    font-size: 1.1rem;
    text-align: left;
}

@media screen and (min-width: 768px) {
    .keikaku-container ol li {
        line-height: 2em;
        font-size: 1.3rem;
    }
}

.keikaku-container ol li:before {
    /* 以下数字をつける */
    position: absolute;
    counter-increment: number;
    content: counter(number);
    /*数字のデザイン変える*/
    display: inline-block;
    background: #006400;
    color: white;
    font-family: 'Avenir', 'Arial Black', 'Arial', sans-serif;
    font-weight: bold;
    font-size: 15px;
    border-radius: 50%;
    left: 0;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    /*以下 上下中央寄せのため*/
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* 法人概要 */
.houjin-container ul {
    margin: 0;
    padding: 0;
}

.houjin-container ul li {
    font-size: 1.1rem;
    text-align: left;
}

@media screen and (min-width: 768px) {
    .houjin-container ul li {
        font-size: 1.3rem;
    }
}

.houjin-container li {
    display: block;
    padding: 16px;
    border-bottom: solid 1px #a9a9a9;
}

.houjin-container li:first-child {
    border-top: solid 1px #a9a9a9;
}

.houjin-container .koumoku {
    font-weight: bold;
}

.houjin-container:after {
    content: "";
    display: block;
    clear: both;
}

.houjin-container .koumoku {
    float: left;
}

.houjin-container .text {
    float: none;
    width: auto;
    margin-left: 80px;
}

@media screen and (min-width: 768px) {
    .houjin-container .text {
        margin-left: 100px;
    }
}

/* 所在地 */
.g-map {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.g-map iframe {
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: auto;
    width: 100%;
    height: 100%;
}


/* お問い合わせ */

/* フォーム */

form {
    padding: 20px;
    margin-top: 10px;
    background: #bee0c2;
}

@media screen and (min-width: 768px) {
    form {
        padding: 50px;
    }
}

form p {
    margin: 0 0 10px 0;
}

@media screen and (min-width: 768px) {
    form p {
        margin: 0 0 30px 0;
    }
}

label {
    display: block;
    margin: 0 0 5px 0;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 5px 10px 5px 10px;
    height: 50px;
    border: none;
    border-radius: 0;
    background-image: none;
    -webkit-appearance: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

textarea {
    height: 180px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border: solid 1px #6BA831;
    outline: none;
    -webkit-box-shadow: 0 0 5px 0 #6BA831;
    box-shadow: 0 0 5px 0 #6BA831;
}


/* フォーム送信ボタン */

input[type="submit"] {
    display: inline-block;
    padding: 20px 60px 20px 60px;
    border: none;
    border-radius: 8px;
    background: #6BA831;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    transition: .4s;

}

input[type="submit"]:hover,
input[type="submit"]:focus {
    outline: none;
    background-color: #006400;
}

input[type="submit"]::-moz-focus-inner {
    padding: 0;
    border: none;
}

/* サンクスページ戻るボタン */
.btn-flat-border {
    display: inline-block;
    margin-top: 40px;
    padding: 0.3em 1em;
    text-decoration: none;
    color: #006400;
    border: solid 2px #006400;
    border-radius: 3px;
    transition: .4s;
}

.btn-flat-border:hover {
    background: #006400;
    color: white;
}

/* サンクスメール */
.thanks-container p {
    font-size: 1.1rem;
    line-height: 2em;
}

@media screen and (min-width: 768px) {
    .thanks-container p {
        font-size: 1.3rem;
        line-height: 2em;
    }
}