body {
    background: url(./img/backimg.png) repeat-y left top;
}
  
/* top-box */
.top-box {
    margin-top: 110px;
    background-color: #fff;
    position: relative;
}

.top-box-container {
    width: 70%;
    height: 460px;
    float: right;
}

.top-box-container img {
    object-fit: cover;
    height: 100%;
}

.top-box-text {
    position: absolute;
    left: 50px;
    top: 50%; /* 上下の位置を中央に指定 */
    transform: translateY(-35%); /* 上下の位置を調整 */
    opacity: 0; /* 初期状態は非表示にする */
    transition: opacity 2s ease-out, transform 1s ease-out;
}

.top-box-text.animate {
    opacity: 1; /* animateクラスが追加されたら表示する */
    transform: translateY(-50%); /* 上下の位置を調整 */
}

.top-box-text img {
    width: 65%;
}

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


/* contents-box */
.contents-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 50px;
}
  
.contents-box-container h2 {
    font-size: 24px;
    margin-bottom: 40px;
    padding-bottom: 5px;
    border-bottom: 2px solid #006934;
    width: 300px;
}

.contents-box p {
    width: 700px;
    text-align: justify;
    padding-bottom: 25px;
}

.contents-box a {
    font-weight: bold;
    color: #c00000;
}

.mb-70 {
    margin-bottom: 70px;
}

@media screen and (max-width: 767px) {
    .contents-box p {
        width: 300px;
    }
}
  
.contents-container-text {
    display: flex;
    justify-content: flex-start;
    font-size: 15px;
    font-weight: bold;
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #b3b3b3;
    width: 60%;
}
  
.contents-container-text span:first-child {
    flex-basis: 30%;
    text-align: left;
    padding-right: 10px;
}
  
.contents-container-text span:last-child {
    flex-basis: 70%;
    text-align: left;
    margin-left: auto;
}

.contents-container-text-main {
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #b3b3b3;
    width: 60%;
}

.contents-container-box {
    background-color: #006934;
	padding: 10px;
	display: inline-block;
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 17px;
    color: #fff;
    width: 700px;
}

.contents-container-box-privacy {
    background-color: #006934;
	padding: 10px;
	display: inline-block;
    margin-bottom: 20px;
    margin-top: 10px;
    font-size: 17px;
    color: #fff;
    width: 700px;
}

@media screen and (max-width: 767px) {
    .contents-container-box-privacy  {
        width: 300px;
    }
}

.contents-container-box-mt {
    margin-top: 60px;
}

.contents-container-text-1L {
    display: flex;
    justify-content: flex-start;
    font-size: 15px;
    font-weight: bold;
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #b3b3b3;
    width: 60%;
    text-align: left;
}

.contents-container-img {
    width: 60%;
    padding-top: 60px;
    padding-bottom: 60px;
}
   

/* スマホ用 */
/* 767px以下の表示 */
@media screen and (max-width: 767px) {


    /* スマホ用top other */
    .top-box-text {
        left: 20px;
    }

    .top-box-text img {
        width: 100%;
    }
    
    /* スマホ用contents other */
    .contents {
        padding-top: 30px;
    }

    .contents-container h2 {
        margin-bottom: 20px;
        font-size: 20px;
    }

    .contents-container-text {
        display: flex;
        justify-content: flex-start;
        font-size: 14px;
        font-weight: bold;
        margin-top: 10px;
        padding-bottom: 10px;
        border-bottom: 2px solid #b3b3b3;
        width: 60%;
    }

    .contents-container-text-main {
        font-size: 17px;
        width: 80%;
    }

    .contents-container-text-1L {
        font-size: 14px;
        width: 80%;
    }

    .contents-container-box {
        font-size: 16px;
        padding: 5px;
    }

    .contents-container-text {
        width: 80%;
    }

    .contents-container-img {
        width: 80%;
        padding-top: 60px;
    }
}