/* PC用のCSSはメディアクエリの外に記述する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "ヒラギノ角ゴ ProN W3", HiraKakuProN-W3, 游ゴシック, "Yu Gothic", メイリオ, Meiryo, Verdana, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #EAF2E6;
}

body,
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-button{
    color: black; 
    background-color: #fff; 
    text-decoration: none; 
}

.top-button:hover{
    color: #fff;
    background-color: #467f3a; 
    text-decoration: none; /* リンクに出てくる下線を無効にする*/    
}
 
footer {
  margin-top: auto;
}

.about{
    background-color: white;
}

.green-line{
        width: 100%;
        border-bottom: 7px solid #84B57C;
        background: #fff;
        font-size: 87.5%;
        z-index: 1000;
         font-weight: 500;
        font-style: normal;
}

#header-container{
    height: 63px;
    margin: 0 auto;
    background: #fff;
    display: flex;
    justify-content: space-between;
}

#header-container-mobile{
    height: 63px;
    margin: 0 auto;
    background: #fff;
    display: flex;
    justify-content: space-between;
}

.logo-style{
    height: 100%;
}

.header-right{
    display: flex;
}

.header-right div{
    padding: 18px 30px;
    color: black;
}

.mv{
    opacity: 0.9;
    width: 100%;
}

.background{
    width: 100%;
}

.Block1 {
    background-color: #EAF2E6;
    color: #1a1a1a;
    display: flex;
    z-index: -1;
  }

  .Block1-right{
    margin-right: 100px;
    flex: 1;
  }

  .Block1-right-title{
    width: 60%;
    margin: 0 auto;
    font-size: 60px;
    color: #467f3a;
    font-weight: bold;
  }

  .Block1-right-txt{
    margin: 0 20%;
    padding: 30px 0;
    font-size: 23px;
    width: 100%;
    font-weight: bold;
  }

  .Block1-img{
    width: 550px;
    margin-right: 80px;
    flex: 1;
  }
  
  .Block2 {
    /*レイアウト用のCSS*/
    padding: 10px 0 40px 0;
    background-color: white;
    color: #ccc;
  }
  .Block1 {
    position: relative;
    padding: 80px 0 60px 0;
    
  }
  .Block1::before{
    content:"";
    position: absolute;
    bottom: 0;
    left: -20px;
    width: 0;
    height: 0;
    border-style: solid;
   
    /*ここで三角形のサイズを決める。
    必ず幅100vwにして、ブラウザサイズいっぱいにしてください。*/
    border-width: 250px 0 0 100vw ;
   
    border-color: transparent  transparent  transparent white;
    z-index: -1;
  }

.eooov-info {
    margin: 5px 0;
    text-align: right;
    bottom:0;
    right:0;
    font-size: 10px;
}

.eooov-info-txt1{
    font-size: 24px;
    font-weight: bold;
}

.Block3{
    background-color: white;
    padding-bottom: 10px;
}

.component-flex{
    display: flex;
    margin: 0 80px;
}

.eooov-component{
    flex: 1;
    display: block;
    margin: 20px;
    padding: 10px;
    background-color: #467f3a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    font-size: 23px;
    text-align: center;
}

.eooov-content-button {
    display: block;
    margin: 80px auto 60px;
    padding: 11px 80px;
    background-color: white;
    color: #467f3a;
    border: solid 1px #467f3a;
    cursor: pointer;
    border-radius: 10px;
    font-size: 26px;
}

.eooov-content-button:hover {
    display: block;
    margin: 80px auto 60px;
    padding: 11px 80px;
    border: solid 1px #467f3a;
    cursor: pointer;
    border-radius: 10px;
    font-size: 26px;
    color: #fff;
    background-color: #467f3a; 
    text-decoration: none; /* リンクに出てくる下線を無効にする*/    
}

.main-point{
    margin:40px;
    font-size: 40px;
    color: #467f3a;
    font-weight: bold;
}

.company{
    font-size: 30px;
    color: #467f3a;
    font-weight: bold;
    text-align: center;
    margin: 30px auto;
}

.point1-title{
    font-size: 30px;
    color: white;
    font-weight: bold;
    padding: 20px 20px 20px 50px;
}

.point1 {
    display: flex;
    margin: 0 50px;
    padding: 40px 0px;
}

.point2 {
    display: flex;
    margin: 0 50px;
    padding-bottom: 25px;
}

.point1-left{
    height: 320px;
}

.point1-txt{
    font-size: 25px;
    color: white;
    padding: 0 30px;
}

.Block4{
    margin-right: 5%;
    background-color: #467f3a;
    border-radius: 0 50px 50px 0;
}

.Block5{
    margin-left: 5%;
    background-color: #467f3a;
    border-radius: 50px 0 0 50px;
    margin-top: 100px;
}

.about-content{
    padding:20px 120px;
}

.about-title{
    border-bottom: 1px solid #467f3a;
    font-size: 20px;
    display: flex;
}

.title-top{
    border-top: 1px solid #467f3a;
}

.margin{
    margin: 15px 0;
}

.flex1{
    flex: 1;
}

.flex2{
    flex: 2;
}

.point2-title{
    font-size: 30px;
    color: white;
    font-weight: bold;
    padding: 20px 20px 20px 80px;
}


footer {
    background-color: #467f3a;;
    color: white;
    padding: 10px 40px;
    text-align: center;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
    font-size: 12px;
    text-align: left;
}

footer ul li {
    margin: 5px 0;
    color: white;
}

.decorate{
    text-decoration: none;
}

.footer-box{
    display: flex;
    position:relative;
    justify-content: space-between;
}

.menu_bt_container {
    display: flex;
    flex: 1;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    top: -38px;
}

.menu_bt_container img {
    width: 100%;
    position: absolute;
    z-index: 1;
    position: absoulte;
    top: 35px;
    right: 0px;
    width: 70px;
}

.menu_close {
    opacity: 1;
    transition: opacity 0.3s ease;
    
}

.menu_open {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu_close.active {
    opacity: 0;
}

.menu_open.active {
    opacity: 1;
}

nav.sample_sp_menu {
    background-color: white;
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: right 0.5s ease;
    z-index: 100;
}

nav.sample_sp_menu.active {
    right: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul a li {
    margin: 10px 0;
}

nav ul a {
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    display: block;
    background: #467f3a;
    margin: -5px 0;
}

nav ul a li:hover {
    background: #155ab6;
}

#header-mobile{
    display: none;
}

@media screen and (max-width: 959px) {
	/* 959px以下に適用されるCSS（タブレット用） */
    .Block1-img{
        display: none;
    }

    .about-content{
        padding: 20px 20px;
    }

    .eooov-content-button{
        margin: 40px auto;
        padding: 10px 50px;
    }

    .eooov-content-button:hover {
        display: block;
        margin: 40px auto;
        padding: 10px 50px;
        border: solid 1px #467f3a;
        cursor: pointer;
        border-radius: 10px;
        font-size: 26px;
        color: #fff;
        background-color: #467f3a; 
        text-decoration: none; /* リンクに出てくる下線を無効にする*/    
    }

    .eooov-component{
        flex: 1;
        display: block;
        margin: 0;
        margin-bottom: 20px;
        padding: 10px;
        background-color: #467f3a;
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 10px;
        font-size: 26px;
        text-align: center;
    }

    .component-flex{
        display:block;
        margin: 0 40px;
    }


    .point1 {
        display: block;
        margin: 0 50px;
        padding-bottom: 25px;
    }

    .point2{
        flex-direction:column-reverse;
        margin: 0 50px;
        padding-bottom: 25px;
    }

    .point1-left {
        width: 100%;
        height: 100%;
    }

    .point1-txt {
        font-size: 15px;
        color: white;
        padding: 10px 0px;
    }

    .about-content{
        padding: 20px 20px;
    }

    .point2-title {
        font-size: 30px;
        color: white;
        font-weight: bold;
        padding: 20px 20px 20px 50px;
    }
    
    .Block1 {
        position: relative;
        padding: 60px 0 0px 0;
    }

    .Block1-right-txt {
        margin: 0 10%;
        padding: 30px 0;
        font-size: 20px;
        width: 100%;
        font-weight: bold;
    }

    .Block1-right-title {
        width: 60%;
        margin: 0 10%;
        font-size: 60px;
        color: #467f3a;
        font-weight: bold;
    }

    #header-pc{
        display: none;
    }

    #header-mobile{
        display: block;
    }

}
@media screen and (max-width: 640px) {
	/* 480px以下に適用されるCSS（スマホ用） */
    .Block1-img{
        display: none;
    }
    
    .component-flex{
        display:block;
        margin: 0 40px;
    }

    .eooov-component{
        flex: 1;
        display: block;
        margin: 0;
        margin-bottom: 20px;
        padding: 10px;
        background-color: #467f3a;
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 10px;
        font-size: 26px;
        text-align: center;
    }

    .Block1::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 250px 0 0 100vw;
        border-color: transparent transparent transparent white;
        z-index: -1;
    }

    .eooov-content-button{
        margin: 40px auto;
        padding: 10px 50px;
    }

    .eooov-content-button:hover {
        display: block;
        margin: 40px auto;
        padding: 10px 50px;
        border: solid 1px #467f3a;
        cursor: pointer;
        border-radius: 10px;
        font-size: 26px;
        color: #fff;
        background-color: #467f3a; 
        text-decoration: none; /* リンクに出てくる下線を無効にする*/    
    }

    .point1 {
        display: block;
        margin: 0 50px;
        padding-bottom: 25px;
    }

    .point2{
        flex-direction:column-reverse;
        margin: 0 50px;
        padding-bottom: 25px;
    }

    .point1-left {
        width: 100%;
        height: 100%;
    }

    .point1-txt {
        font-size: 15px;
        color: white;
        padding: 10px 0px;
    }

    .about-content{
        padding: 20px 20px;
    }

    .about-title{
        border-bottom: 1px solid #467f3a;
        font-size: 14px;
        display: flex;
    }

    .point2-title {
        font-size: 30px;
        color: white;
        font-weight: bold;
        padding: 20px 20px 20px 50px;
    }
    
    .Block1 {
        position: relative;
        padding: 60px 0 0px 0;
    }
    
    .Block1-right-txt {
        margin: 0 10%;
        padding: 30px 0;
        font-size: 20px;
        width: 100%;
        font-weight: bold;
    }

    .Block1-right-title {
        width: 60%;
        margin: 0 10%;
        font-size: 60px;
        color: #467f3a;
        font-weight: bold;
    }

    #header-pc{
        display: none;
    }

    #header-mobile{
        display: block;
    }
}