@charset "utf-8";
/* 全体の設定 */
*{
	margin: 0;
	padding: 0;
	list-style: none;
	box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

img{
    vertical-align: bottom;
}

/* スクロールバー */
::-webkit-scrollbar{
	width: 8px;
}
::-webkit-scrollbar-track{
	background: #fff;
}
::-webkit-scrollbar-thumb{
	width: 5px;
	background: #556B2F;
	border: 1px inset #646463;
	border-radius: 8px;
}

/* ローディングの設定 */
#loading{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #FFC400;
    z-index: 1000;
}

.loading-item{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20vw;
    height: auto;
}

.loading-item img{
    width: 100%;
    height: 100%;
}

/* fadeUpをする動き */
.fadeUp{
    animation-name: fadeUpAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
    opacity: 0;
}
        
@keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(100px);
    }
        
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -----ヘッダーコンテンツ----- */
.header-content{
    margin: 50px;
}

.header-flex{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}

.heading-img{
    width: 45vw;
}

.pc-img{
    display: block;
}

.smf-img{
    display: none;
}

.heading-img img{
    width: 100%;
    height: 100%;
}

.header-logo{
    position: absolute;
    top: 0;
    right: 0;
    width: 15vw;
}

.header-logo img{
    width: 100%;
    height: 100%;
}


/* -----メインコンテンツ----- */
main {
    font-family: "Zen Kaku Gothic New", sans-serif;
}


/* 写真スライドショー */
.slider{
    width: 100%;
    overflow: hidden;
    z-index: 100;
}

.slider-img{
    display: block;
    width: 550px;
    height: 550px;
    margin-right: 20px;
}

.slider-img img{
    width: 100%;
    height: 100%;
}

.slider-img:nth-child(odd){
    margin-top: 30px;
}

.slider-img:nth-child(even){
    margin-bottom: 30px;
}


/* hodachiの説明 */
.explanation{
    position: relative;
    padding-bottom: 200px;
}

.explanation-content{
    width: 75vw;
    margin: 165px auto 0;
    display: flex;
    justify-content: space-between;
    position: relative;
}

h2{
    font-weight: bold;
    font-size: 4rem;
    text-decoration: none;
    line-height: 1.6;
}

.underline-yellow{
    border-bottom: #FFC400 solid 6px;
}

.explanation-text{
    margin-top: 15px;
}

.explanation-text p{
    font-weight: 500;
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    line-height: 2.2;
    margin-bottom: 50px;
}

.explanation-text p:last-child{
    margin-bottom: 0;
}

.slide-text{
    position: absolute;
    left: 0;
    bottom: 0;  
    width: 100%;
    display: flex;
    align-items: center;
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
}

.slide-text-item {
    color: #FFC400;
    opacity: 0.1;
    overflow: hidden;
    flex-shrink: 0;
    white-space: nowrap;
    letter-spacing: 0.06em;
    font-size: 150px;
    font-weight: bold;
    animation: slide-text 30s linear infinite;
    margin-right: 50px;
    z-index: 1;
}

@keyframes slide-text {
    from {
      transform: translateX(0%);
    }
    to {
      transform: translateX(-100%);
    }
}

.soil-img{
    width: 100%;
    position: relative;
    z-index: -1;
}

.soil-img img{
    width: 100%;
    height: 100%;
}


/* hodachiを立ち上げた理由 */
.reason{
    margin-top: -150px;
    background-color: #fff;
    border-radius: 0 150px 0 0;
    padding-top: 200px;
}

.reason-content{
    position: relative;
    text-align: center;
    margin-bottom: 190px;
}

.slide-text2{
    position: absolute;
    top: -6%;
    left: 0;
    display: flex;
    width: 100%;
    align-items: center;
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
    z-index: 1;
}

.reason-text{
    max-width: 90vw;
    margin: 0 auto;
    font-weight: medium;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    line-height: 2.2;
}

h3{
    font-weight: bold;
    font-size: 3.5rem;
    margin-bottom: 80px;
    line-height: 1;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
}

h3 span{
    font-weight: Black;
    color: #FFC400;
    font-size: 1.6rem;
}

.yellow-text{
    display: inline-block;
    border-radius: 15px;
    background-color: #FFC400;
    padding: 10px 30px;
    font-weight: bold;
    font-size: 1.8rem;
    color: #fff;
    max-width: 90vw;
    margin-bottom: 30px;
}

.yellow-text br{
    display: none;
}

.reason-text p:last-child{
    margin-bottom: 35px;
}

h4{
    font-weight: bold;
    font-size: 1.6rem;
}

.charm{
    text-align: center;
    margin-bottom: 80px;
}

.charm h4{
    margin-bottom: -10px;
}

.charm span{
    font-weight: bold;
    font-size: 2.2rem;
    line-height: 1.7;
}

.mokataka{
    width: 1200px;
    max-width: 80vw;
    margin: 50px auto 100px;
    border-radius: 50px;
    background-color: #FFF3CC;
    padding: 100px 200px;
}

.mokataka img{
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.activity-text{
    font-size: 2.2rem;
}

.smf-br{
    display: none;
}


/* hodachiの取組み */
.attempt{
    background-color: #FFF3CC;
    border-radius: 150px 0 0 0 ;
    padding: 200px 0 90px 0;
}

.attempt-content{
    position: relative;
    text-align: center;
}

.slide-text3{
    position: absolute;
    top: -4%;
    left: 0;
    display: flex;
    width: 100%;
    align-items: center;
    margin-inline: calc(50% - 50vw);
    overflow: hidden;
    z-index: 1;
}

.slide-text3 .slide-text-item{
    color: #fff;
    opacity: 0.5;
}

.attempt-text{
    margin: 0 auto;
    max-width: 90vw;
    position: relative;
}

h5{
    font-weight: bold;
    font-size: 2.2rem;
    letter-spacing: 0.06em;
    margin-bottom: 50px;
}

.hanro-img{
    width: 1200px;
    max-width: 80vw;
    margin: 50px auto 100px;
    border-radius: 50px;
    background-color: #ffffff;
    padding: 100px 180px 100px 200px;
}

.hanro-img img{
    width: 100%;
    height: 100%;
}

.food-distribution{
    width: 1200px;
    max-width: 80vw;
    margin: 50px auto 90px;
    border-radius: 50px;
    background-color: #ffffff;
    padding: 100px 200px;
}

.food-distribution img{
    width: 100%;
    height: 100%;
}

.sentence{
    letter-spacing: 0.06em;
    line-height: 2.2;
    font-size: 1.1rem;
    margin-bottom: 40px;
    font-weight: 500;
}

.btn a{
    display: block;
    font-size: 25px;
    font-weight: bold;
    line-height: 1;
    max-width: 540px;
    width: 90vw;
    margin: 0 auto;
    padding: 28px 0 27px;
    color: #000;
    background-color: #FFC400;
    border-radius: 10px;
    text-decoration: none;
    transition: all .3s;
}

.btn a:hover{
    opacity: 0.7;
}

/* -----フッターコンテンツ----- */
footer{
    padding: 50px 0;
    text-align: center;
    margin: 0 auto;
}

.footer-logo{
    width: 198px;
    height: 59px;
    margin: 0 auto 30px;
}

.footer-logo img{
    width: 100%;
    height: 100%;
}

.footer-logo a{
    transition: all 0.3s;
}

.footer-logo a:hover{
    opacity: 0.7;
}

footer p{
    font-weight: medium;
    font-size: 1rem;
    letter-spacing: 0.05em;
}

footer p a{
    color: #000;
    transition: all 0.3s;
}

footer p a:hover{
    opacity: 0.6;
}


/* ----------レスポンシブ---------- */
@media screen and ( min-width: 2550px ){
    .header-content{
        margin: 80px;
    }

    .slider-img{
        margin-right: 40px;
    }

    .slider-img:nth-child(odd){
        margin-top: 40px;
    }

    .slider-img:nth-child(even){
        margin-bottom: 40px;
    }

    h2 {
        font-size: 6.5rem;
    }

    .explanation-content{
        width: 80vw;
    }

    .explanation-text {
        margin-top: 30px;
    }

    .explanation-text p {
        font-size: 1.7rem;
        margin-bottom: 60px;
    }
}

@media screen and ( max-width: 1550px ){
    h2 {
        font-size: 4rem;
    }

    .explanation-content{
        width: 80vw;
    }

    .explanation-text {
        margin-top: 30px;
    }

    .explanation-text p {
        font-size: 1.1rem;
        margin-bottom: 50px;
    }
}

@media screen and ( max-width: 1441px ){
    h2 {
        font-size: 3.5rem;
    }

    .explanation {
        padding-bottom: 150px;
    }

    .explanation-text {
        margin-top: 15px;
    }

    .explanation-text p {
        font-size: 1rem;
        margin-left: 10px;
        margin-bottom: 50px;
    }

    .slide-text-item {
        font-size: 120px;
    }

    .reazon{
        padding-top: 150px;
    }

    .mokataka{
        padding: 60px 140px;
    }

    .attempt {
        padding: 150px 0;
    }

    .slide-text3{
        top: -3%;
    }

    .hanro-img{
        padding: 60px 120px;
    }
    
    .food-distribution{
        padding: 60px 140px;
    }
}

@media screen and ( max-width: 1281px ){
    h2 {
        font-size: 2.5rem;
    }

    .explanation-text p {
        font-size: 0.9rem;
        margin-left: 20px;
    }
}

@media screen and ( max-width: 1025px ){
    .explanation-content {
        width: 80vw;
        margin: 100px auto 0;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    h2 {
        font-size: 3.5rem;
        margin-bottom: 60px;
    }

    .explanation-text p {
        font-size: 1.1rem;
        margin-left: 0;
        margin-bottom: 30px;
    }

    h3 {
        font-size: 3rem;
        margin-bottom: 80px;
    }

    .sentence {
        font-size: 1rem;
    }

    h4 span {
        font-size: 2rem;
    }

    .activity-text{
        font-size: 2rem;
    }
}

@media screen and ( max-width: 950px ){
    h5{
        font-size: 1.8rem;
    }

    .sentence{
        font-size: 0.9rem;
    }
}

@media screen and ( max-width: 769px ){
    .loading-item{
        width: 40vw;
    }

    .header-content {
        margin: 30px 30px 50px;
    }

    .heading-img {
        width: 55vw;
    }

    .header-logo {
        width: 20vw;
    }

    h2{
        font-size: 3rem;
        margin-bottom: 40px;
    }

    .explanation {
        padding-bottom: 120px;
    }

    .explanation-content {
        width: 90vw;
    }

    .explanation-text p {
        font-size: 0.95rem;
        line-height: 2.1;
    }

    .slide-text-item {
        font-size: 90px;
    }

    .reason {
        margin-top: -50px;
        padding-top: 100px;
        border-radius: 0 50px 0 0;
    }

    .reason-content {
        margin-bottom: 100px;
    }

    .slide-text2{
        top: -4.5%;
    }

    h3 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

    .yellow-text{
        border-radius: 15px;
        padding: 20px 30px;
        font-size: 1.6rem;
        margin-bottom: 30px;
    }

    .sentence{
        font-size: 0.95rem;
        line-height: 2.1;
        margin-bottom: 30px;
    }

    .sentence br{
        display: none;
    }

    h4 span{
        font-size: 1.8rem;
    }

    .mokataka{
        max-width: 90vw;
        margin: 0 auto 50px;
        padding: 80px 100px;
    }

    .activity-text {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .smf-br{
        display: block;
    }

    .attempt {
        border-radius: 50px 0 0 0;
        padding: 80px 0 130px;
    }
    
    .slide-text3{
        top: -3%;
    }

    .attempt-text{
        margin-top: 40px;
    }

    h5{
        font-size: 1.6rem;
    }

    .hanro-img{
        max-width: 90vw;
        margin: 20px auto 50px;
        padding: 30px 60px;
    }
    
    .food-distribution{
        max-width: 90vw;
        margin: 20px auto 50px;
        padding: 50px 60px;
    }

    .btn a{
        font-size: 4.8vw;
        max-width: none;
        padding:5.334vw 0 5.066vw;
        border-radius: 2.667vw;
    }
}

@media screen and ( max-width: 501px ){
    .loading-item{
        width: 50vw;
    }

    .header-content{
        margin: 30px auto 50px;
        width: 90vw;
        background-color: #fff;
    }

    .header-flex{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .heading-img{
        width: 90vw;
    }

    .pc-img{
        display: none;
    }

    .smf-img{
        display: block;
    }

    .header-logo{
        position: relative;
        width: 40vw;
        margin-bottom: 5vh;
    }

    .slider{
        overflow: hidden;
        width: 100vw;
        height: auto;
    }

    .slider-img{
        margin-right: -20vw;
    }

    .slider-img:nth-child(odd){
        margin-top: 0px;
    }
    
    .slider-img:nth-child(even){
        margin-bottom: 0px;
    }

    h2 {
        font-size: 2.5rem;
    }

    .explanation{
        padding-bottom: 90px;
    }

    .slide-text-item{
        font-size: 65px;
        margin-right: 20px;
    }

    .explanation-text p {
        font-size: 0.9rem;
    }

    .explanation-text p br{
        display: none;
    }

    .underline-yellow{
        border-bottom: #FFC400 solid 5px;
    }    

    .smf-not-slide{
        display: none !important; 
    }

    .reason{
        padding-top: 70px;
    }
    
    .reason-content {
        width: 90vw;
        margin: 0 auto 100px;
    }

    .slide-text2{
        width: 110%;
        top: -3.8%;
    }

    .reason-text {
        max-width: none;
        width: 100%;
        margin-top: 20px;
    }
    
    h3 {
        line-height: 1.2;
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    h3 span{
        font-size: 1rem;
    }

    .sentence {
        font-size: 0.9rem;
        margin: 0px 0px 30px;
        text-align: left;
    }

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

    .yellow-text {
        line-height: 1.5;
        font-size: 1.4rem;
        padding:15px 30px;
        letter-spacing: 0.09em;
    }

    .yellow-text br{
        display: block;
    }

    .mokataka{
        max-width: 90vw;
        margin: 0 auto 50px;
        padding: 50px;
        border-radius: 30px;
    }

    h4{
        font-size: 1.4rem;
        margin: 0 auto 40px;
    }

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

    .activity-text {
        font-size: 1.5rem;
    }   

    .activity-text span{
        font-size: 1.5rem;
    }   

    .attempt{
        padding-bottom: 60px;
    }

    .slide-text3 {
        top: -2.4%;
    }

    .attempt-text{
        margin-top: 5px;
    }

    h5{
        font-size: 1.3rem;
        margin: 0 auto 30px; 
    }

    .hanro-img{
        margin: 60px auto;
        padding: 30px;
        border-radius: 30px;
    }
    
    .food-distribution{
        margin: 60px auto;
        padding: 30px;
        border-radius: 30px;
    }

    footer{
        padding: 30px 0;
    }
    
    .footer-logo{
        width: 150px;
        margin: 0 auto 10px;
    }

    footer p{
        font-size: 0.8rem;
    }

    
}

@media screen and ( max-width: 440px ){
    .heading-img{
        width: 85vw;
    }

    .header-logo {
        margin-bottom: 30px;
    }

    .slider-img{
        margin-right: 20px;
    }

    h3 {
        font-size: 1.6rem;
    }

    .mokataka{
        padding: 50px 30px 30px;
    }

}





