@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;700&family=Zen+Maru+Gothic:wght@300;400;500;700&display=swap');

body {
    font-family: 'Zen Maru Gothic', sans-serif;
    background-color: #f2cd75;
}



/*  //////////// ハンバーガーメニュー ////////////////  */




.header-inner {             /* ハンバーガーメニューを開いたときの背景画像  */
    background-image: url(../image/archive-img/background.jpg);
    display: none;
    background-size: cover;
    width: 100vw;
    padding: 100px 0;
    overflow-y: scroll;
	position: fixed;
	z-index: 999;
}

.open-btn {  /* ハンバーガーメニューの形作り */
    display: block;
    width: 90px;
    height: 90px;
    border: #fff 0.5px solid;
    border-radius: 100%;
    background: linear-gradient(180deg, #f0da4b 35%, #ed8f14);
    margin: 20px 20px 0 0;
    box-shadow: #11111173 2px 4px 10px;
    transition: 0.3s ease-in-out;
    /*position: relative;*/
	position: fixed;
	right: 0;
	z-index: 9999;
}

.open-btn:hover {
    transform: scale(1.2);
}

.open-btn span {     /* 3本線の原型つくり */
    display: inline-block;
    transition: all .3s;
    width: 50px;
    height: 4px;
    border-radius: 50px;
    background-color: #fff;
    position: absolute;
    left: calc(50% - 26px);
}


.open-btn span:nth-child(1) {    /* 1本目の絶対位置 */
    top: 27px;
}

.open-btn span:nth-child(2) {   /* ２本目の絶対位置 */
    top: 39px;
}

.open-btn span:nth-child(3) {   /* ３本目の絶対位置 */
    top: 51px;
}

.open-btn span:nth-of-type(3)::after {
    content:"メニュー";/*3つ目の要素のafterにMenu表示を指定*/
    position: absolute;
    top: 8px;
    right: calc(50% - 24px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/

.open-btn.active span:nth-of-type(1) {
    top: calc(50% - 10px);
    right: calc(50% - 10px);
    transform: translateY(6px) rotate(-45deg);
}

.open-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.open-btn.active span:nth-of-type(3){
    top: calc(50% + 3px);
    left: calc(50% -20px);
    transform: translateY(-6px) rotate(45deg);
}

.open-btn.active span:nth-of-type(3)::after {
    content:"とじる";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
    top: 14px;
    right: -12px;
}

@media screen and (max-width: 1024px) {

    .open-btn {
        display: block;
        width: 70px;
        height: 70px;
        margin: 10px 10px 0 0;
        box-shadow: #11111173 2px 3px 5px;
		position: fixed;
    }

    .open-btn span {     /* 3本線の原型つくり */
        display: inline-block;
        transition: all .3s;
        width: 40px;
        height: 3px;
        border-radius: 50px;
        background-color: #fff;
        position: absolute;
        left: calc(50% - 20px);
    }

    .open-btn span:nth-child(1) {    /* 1本目の絶対位置 */
        top: 26px;
    }
    
    .open-btn span:nth-child(2) {   /* ２本目の絶対位置 */
        top: 33px;
    }
    
    .open-btn span:nth-child(3) {   /* ３本目の絶対位置 */
        top: 40px;
    }

    .open-btn.active span:nth-of-type(1) {
        top: calc(50% - 7px);
        right: calc(50% - 10px);
        transform: translateY(6px) rotate(-45deg);
    }
    
    .open-btn.active span:nth-of-type(2) {
        opacity: 0;
    }
    
    .open-btn.active span:nth-of-type(3){
        top: calc(50% + 6px);
        left: calc(50% -20px);
        transform: translateY(-6px) rotate(45deg);
    }
    
    .open-btn span:nth-of-type(3)::after {
        content: '';
    }

    .open-btn.active span:nth-of-type(3)::after {
        content: '';
    }
}

/*  //////////// ハンバーガーメニュー終了////////////////  */


/*  //////////// ハンバーガーメニュー開いたときのデザイン////////////////  */

#logo img {
    width: 90px;
    height: auto;
    padding: 20px 0 0 20px;
    transition: 0.3s ease-in-out;
	z-index: 99999;
	position: fixed;
}

#logo img:hover {
    transform: scale(1.2);
}


.header-nav-list {
    display: block;
    display: flex;
    justify-content: center;
    gap: 120px;
    margin: 0 auto;
}



.header-item1 {
    width: fit-content;
    color: #29639B;
    font-size: 35px;
    font-weight: 500;
    position: relative;
    transition: 0.5s;
}

.header-item2 {
    width: fit-content;
    color: #1E962E;
    font-size: 35px;
    font-weight: 500;
    position: relative;
    transition: 0.5s;
}

.header-item1 span,.header-item2 span{
    font-size: 28px;
    transition: 0.5s;
}

.header-nav-list img {
    width: 280px;
    height: auto;
}

.header-local {
    display: flex;
    column-gap: 50px;
    row-gap: 20px;
    width: 300px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.header-locals {
    color: #29639B;
    font-size: 20px;
    font-weight: 500;
    transition: 0.5s;
}

.header-locals2 {
    color: #1E962E;
    font-size: 20px;
    font-weight: 500;
    transition: 0.5s;
}

.header-list-item {
    margin-bottom: 60px;
}



.header-item1:hover, .header-item2:hover,
 .header-locals:hover, .header-locals2:hover:hover {
    transform: scale(1.15);
}

.header-item1::before {
    content: '';
    position: absolute;
    right: -65px;   
    top: 40px; 
    width: 40px;
    height: 3px;
    border-radius: 50px;
    background:#29639B;
}

.header-item1::after {
    content: '';
    position: absolute;
    right: -66px;   
    top: 35px; 
    width: 15px;
    height: 3px;
    border-radius: 50px;
    transform: rotate(45deg);
    background:#29639B;
}

.header-item2::before {
    content: '';
    position: absolute;
    right: -65px;   
    top: 40px; 
    width: 40px;
    height: 3px;
    border-radius: 50px;
    background:#1E962E;
}

.header-item2::after {
    content: '';
    position: absolute;
    right: -66px;   
    top: 35px; 
    width: 15px;
    height: 3px;
    border-radius: 50px;
    transform: rotate(45deg);
    background:#1E962E;
}


@media screen and (max-width: 1024px) {

    #logo img {
        padding: 10px 0 0 10px;
        width: 50px;
        height: auto;
    }

    #logo img:hover {
        transform: scale(1);
    }

    .open-btn:hover {
        transform: scale(1);
    }

    .header-nav-list {
        display: block;
    }

    .header-inner {
        padding-top: 60px;
        padding-left: 80px;
    }

    .header-sdg-contact {
        display: flex;
        gap: 30px;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-item1 {
        font-size: 18px;
        font-weight: 500;
    }
    
    .header-item2 {
        font-size: 18px;
        font-weight: 500;
    }

    .header-item1 span,.header-item2 span{
        font-size: 14px;
    }

    .header-nav-list img {
        width: 100px;
    }

    .header-local {
        column-gap: 30px;
        row-gap: 16px;
        width: 200px;
        padding-top: 16px;
    }
    
    .header-locals {
        font-size: 16px;
    }
    
    .header-locals2 {
        font-size: 16px;
    }

    .header-list-item {
        margin-bottom: 40px;
    }

    .header-list-item:nth-child(3) {
        margin-bottom: 40px;
    }

    .header-item1::before {
        content: '';
        position: absolute;
        right: -30px;   
        top: 20px; 
        width: 20px;
        height: 2px;
        border-radius: 50px;
        background:#29639B;
    }
    
    .header-item1::after {
        content: '';
        position: absolute;
        right: -30px;   
        top: 18px; 
        width: 6px;
        height: 2px;
        border-radius: 50px;
        transform: rotate(45deg);
        background:#29639B;
    }

    .header-item2::before {
        content: '';
        position: absolute;
        right: -30px;   
        top: 20px; 
        width: 20px;
        height: 2px;
        border-radius: 50px;
        background:#1E962E;
    }
    
    .header-item2::after {
        content: '';
        position: absolute;
        right: -30px;   
        top: 18px; 
        width: 6px;
        height: 2px;
        border-radius: 50px;
        transform: rotate(45deg);
        background:#1E962E;
    }

}

.sdgs {
    animation: poyopoyo 3s ease-in-out infinite;
}

@keyframes poyopoyo {
    0%, 40%, 60%, 80% {
      transform: scale(1.0);
    }
    50%, 70% {
      transform: scale(0.85);
    }
  }

  .container {
    padding: 6vw 20px;
}

.top-sdg {
    width: fit-content;
    margin: 0 auto 6vw;
}


 
.top-sdg img {
    width: 38vw;
    height: 38vw;
    padding: 3vw;
    background-color: #fff;
    text-align: center;
    border-radius: 2vw;
}




  /*------------------------------
  画像付き吹き出し(会話)
------------------------------*/
/* 吹き出し 全体*/
.talking {
    position:relative;
    display: flex; 
    align-items: center;
    justify-content: center;
    max-width: 80vw;
    margin: 0 auto;
    margin-bottom: 3em;
}

.talking-right {
	max-width: 80vw;
}

/*アイコン*/
.talking img {
    width:15vw;     /*アイコンの横幅*/
    height:auto;    /*アイコンの縦幅*/
}

.talking-left-icon {
    margin-right:3vw;    /*アイコンの右の余白(左の吹き出し)*/
}

.talking-right-icon {
    margin-left:3vw;    /*アイコンの左の余白(右の吹き出し)*/
}

.talking-right-icon img {
	width:15vw;     /*アイコンの横幅*/
    height:auto;    /*アイコンの縦幅*/
}



/*アイコンの下の名前*/
.talking-left-icon figcaption ,
.talking-right-icon figcaption {
    padding: 2px 0 0;
    font-size: 1.05vw;
    text-align:center;
}

/*吹き出しのセリフ部分*/
.talking-left{
    position:relative;
    padding: 30px;
    border-radius: 18px;    /*セリフを入れる部分の角丸*/
    height: fit-content;
}

.talking p{
    font-size: 1.5vw;
    color: #DF7600;
    font-weight: 600;
    letter-spacing: 5px;
    line-height: 1.8;
    margin:0;
}

.talking-right {
	width: 68vw;
	position:relative;
    padding: 30px;
    border-radius: 18px;    /*セリフを入れる部分の角丸*/
    height: fit-content;
	font-size: 1.5vw;
    color: #DF7600;
    font-weight: 600;
    letter-spacing: 5px;
    line-height: 1.8;
    margin: 0;
}

.talking p :last-child {
    margin:0;
}

/*---左の吹き出し---*/
.talking-left {
    background: #fff;    /*背景色*/
}

/*左の吹き出し 三角*/
.talking-left:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-right: 10px solid #fff;  /*三角の線になる部分*/
    top: 15px;
    left: -10px;
}

.talking-left:after {
    position: absolute;
    content: '';
    border: 14px solid transparent;
    border-right: 20px solid #fff;
    top: 20px;
    left: -30px;
}

/*---右の吹き出し---*/
.talking-right {
    background: #fff;    /*背景色*/
}

/*右の吹き出し 三角*/
.talking-right:before {
    position: absolute;
    content: '';
    border: 10px solid transparent;
    border-left: 10px solid #fff;  /*三角の線になる部分*/
    top: 15px;
    right: -10px;
}

.talking-right:after {
    position: absolute;
    content: '';
    border: 14px solid transparent;
    border-left: 20px solid #fff;
    top: 20px;
    right: -30px;
}

.another {
	width:100%;
	height:auto;
	display:flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 100px;
}

.another img {
	width:18vh;
	height:18vh;
	padding: 1vw;
	background-color: #fff;
    text-align: center;
    border-radius: 1vw;
}

footer {
    padding: 50px 100px;
    background-color: #f2cd75;
}

#footer {
    padding: 50px;
    background-color: #ffffffa0;
    border-radius: 30px;
}

.footer-flex {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
}

.footer-flex ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-flex ul li {
    max-width: 270px;
}

.footer-item {
    font-size: 28px;
    color: #707070;
    padding: 6px 14px;
    position: relative;
}

.footer-item::before {
    background: #ffaa00;
    content: '';
    width: 100%;
    height: 4px;
    border-radius: 50px;
    position: absolute;
    left: 0;
    bottom: 0;
    margin: auto;
    transform-origin: center top;
    transform: scale(0, 1);
    transition: transform .3s;
  }
  .footer-item:hover::before {
    transform-origin: center top;
    transform: scale(1, 1);
  }

.footer-sdgs {
    width: 200px;
    height: auto;
}

.copyright {
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    .talking {
        max-width: 95vw;
        margin-bottom: 2em;
    }
	
	.talking-right {
        width: 95vw;
        margin-bottom: 2em;
    }

    .talking p, .talking-right {
        letter-spacing: 1px;
    }
	
	.talking p,.talking-right {
		font-size: 3vw;
	}

    .talking img {  /*このcssの最後に画面幅390px以下の場合の記述があることに注意*/
        width: 18vw;
        height: auto;
    }
	
	
	.talking-right-icon img {
	width:15vw;     /*アイコンの横幅*/
    height:auto;    /*アイコンの縦幅*/
}

    .talking-left , .talking-right {
        padding: 18px;
    }

    /*左の吹き出し 三角*/
.talking-left:after {
    position: absolute;
    content: '';
    border: 7px solid transparent;
    border-right: 10px solid #fff;
    top: 20px;
    left: -15px;
}

/*右の吹き出し 三角*/
.talking-right:after {
    position: absolute;
    content: '';
    border: 7px solid transparent;
    border-left: 10px solid #fff;
    top: 20px;
    right: -15px;
}

.index h2 {
    font-size: 8vw;
    -webkit-text-stroke: 1px #FFF;
}

#section2 h3 img , #section3 h3 img{
    width: 10vw;
}
	
	.another img {
	width:10vh;
	height:10vh;
	padding: 1vw;
	background-color: #fff;
    text-align: center;
    border-radius: 1vw;
}

    footer {
        padding: 35px;
    }

    #footer {
        width: fit-content;
        padding: 40px;
        margin: 0 auto;
    }

    .footer-flex {
        padding: 35px;
        width: fit-content;
        margin: 0 auto;
    }

    .footer-flex ul {
        display: block;
    }
    
    .footer-flex ul li {
        width: fit-content;
        margin: 0 auto;
        margin-bottom: 20px;
    }

    .footer-item {
        font-size: 20px;
    }

    .footer-sdgs {
        width: 150px;
    }

    .copyright {
        font-size: 1vw;
    }
}

@media screen and (max-width: 390px) {
	
	    .talking img {
        width: 30vw;
        height: auto;
    }

    .talking-left-icon figcaption ,
.talking-right-icon figcaption {
    padding: 2px 0 0;
    font-size: 3vw !important;
    text-align:center;
}

    
}