@charset "UTF-8";

html {
  height: 100%;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.7;
  font-style:normal;
  text-decoration: none;
  list-style: none;
}

body {
  background-position: center center;
	-webkit-text-size-adjust: 100%;
}

body, input, textarea {
	font-family: 'Noto Serif JP', serif;
}
img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border: none;
}

footer{
  font-size: 11px;
  text-align: center;
}

/*===================================
 TOPセクション
===================================*/ 
.storystyle{
  background-image: url(../img/about/pc-top.jpg);
  background-size: cover;
  background-position: center center;
  height: 70vh;
}

.top img {
  width: 20%;
  position: relative;
  top: 350px;
  left: 15px;
}

/*===================================
  通常ナビメニュー用
===================================*/
header{
  height: 69px;
  position: fixed;
  max-width: 100%;
  width: 100%;
  background-color:rgba(255,255,255,0.5);
  z-index: 999;
}

#top{
  max-width:1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;

}

.home a:hover,
.about a:hover,
.cotton a:hover,
.onlineshop a:hover,
.contact a:hover{
  opacity: 0.5;
}

h1{
  margin-right: auto;
}
h1 img{
  max-width: 69%;
  vertical-align: bottom;
  border: none;
}

.pc_nav nav ul {
  display: flex;
}
nav ul li{
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  list-style: none;
  margin: auto;
  overflow: hidden;
}

.home a,
.about a,
.cotton a,
.onlineshop a,
.contact a{
  padding: 12px 16px;
}

nav ul li a{
  font-size: 24px;
  display: block;
  padding: 0 20px;
  text-decoration: none;
  list-style: none;
  color: #000;
}

.sp_nav{
  display: none;
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
/*===================================
  タブレット用
===================================*/ 
@media screen and (max-width: 898px){
  nav ul li a{
  font-size: 20px;
}
}
@media screen and (max-width: 820px){
  .top img {
  width: 50%;
  top: 300px;
}
}
@media screen and (max-width: 839px){
 
nav ul {
  flex: none;
}
nav ul li a{
  font-size: 18px;
  padding: 0 16px;
}
.sp_nav{
  display: flex;
}
.pc_nav{
  display: none;
}
/*ハンバーガーメニュー*/
header {
  height: 69px;
  position: fixed;
  width: 100%;
  z-index: 999;
}

#nav-drawer{
  position: relative;
  margin-right:30px;
  margin-top:12px;
  width: 40px;
  height: 44px;
}

#nav-open:hover{
  cursor: pointer;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 60px;
  height: 16px;
  vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 2px;/*線の太さ*/
  width: 50px;/*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  content: '';
  cursor: pointer;
}
#nav-open span:before {
  bottom: -13px;
}
#nav-open span:after {
  bottom: -26px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;/*最前面に*/
  width: 90%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 200px;/*最大幅（調整してください）*/
  height: 100%;
  background: #fff;/*背景色*/
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(120%);
  transform: translateX(120%);/*左に隠しておく*/
}

.top{
  bottom: 15.0rem;
  width: 40%;
}

}

/*===================================
  jqueryでヘッダーを隠す
===================================*/
.site-header{
  position: fixed;
  top: 0;
  transition: .5s;
  width: 100%;
  z-index: 999;
}
 
.site-header.hide{
  transform: translateY(-100%);
}
/*===================================
 ローディング画面
===================================*/ 
#loader-bg {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background-image: url(../img/about/back.jpg);
  z-index: 1;
}

/*ローディングアイコン*/
#loader {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  text-align: center;
  color: gray;
  z-index: 2;
}
.fa-sync-alt{
	font-size: 50px;
}

/*===================================
 TOP画面
===================================*/ 

/*オープニングfade in*/
/* スタイルの状態変化を「my-fade-in」という名前で定義 */
@keyframes my-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loading {  
  /* .loadingが「my-fade-in」で状態変化するように指定 */
  animation-name: my-fade-in;
  animation-duration: 3s;
}

.loading {
  background-image: url(../img/about/back.jpg);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/*===================================
 テキストセクション
===================================*/ 
.text1,
.text2{
	text-align: center;
	margin: 20px 300px;
  z-index: 20;
  line-height: 2.2;
  font-size: 1.4em;
}
.text3{
  text-align: center;
  font-size: 1.5em;
  margin: 20px 50px;
  z-index: 20;
}

.text1 p,
.text2 p,
.text3 p{
  line-height: 2.5em;
}

.text1 p:first-child{ 
  font-size: 1.7em;
  margin-top: 50px;
  margin-bottom: 2px;
}

.text1 p:nth-child(9){
  margin: 50px 0;
}

#eco{
  font-size: 1.7em;
  margin-top: 50px;
}
.text3 p:last-child{
  margin-bottom: 150px;
}

.text2 p:nth-child(2),
.text2 p:nth-child(7),
.text2 p:nth-child(8){
  font-size: 1.5em;
}


.text2 p:nth-child(7){
  margin-top: 30px;
  margin-bottom: 10px;
}
.text2 p:first-child{
  margin-top: 10px;
}

#right{
	margin-top: 40px;
  text-align: right;
  margin-left: 35%;
}

.ill1,
.ill2,
.bird{
  margin-top:30px;
  position: relative;
}
.ill1{
  /*height: 100px;*/
}

.ill2{
  height: 20px;
}

.bird{
    height: 100px;
}
.text1 .ill1 img{
  position: absolute;
  width: 80%;
  bottom: 40%;
  left: 20%;
  z-index: 10;
  opacity: 0.4;
}

.text3 .bird img{
  position: absolute;
  width: 20%;
  top: 60%;
  right: 5%;
  z-index: 10;
  opacity: 0.6;
}

.text2 .ill2 img{
  position: absolute;
  width: 35%;
  bottom: 100%;
  left: 7%;
  z-index: 10;
  opacity: 0.8;
}

.text_top{
  line-height: 2.2;
  font-size: 1.9em;
  margin:50px;
}

#center{
padding:80 200 0 200px;
}

.flex1{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

 .flex1 image{
  width:20px;
margin: 0;
padding: 0;
overflow:hidden;
position:relative;
 }

.flex1 .image img{
  width:60%;
  height:auto;
 }

.under{
  border-bottom: solid 4px #87CAFA;
}
/*===================================
 メディアクエリ
===================================*/ 
@media screen and (max-width: 1024px) {
.top{
  width: 50%;
top: 500px;
}
.text1,
.text2,
.text3{
  font-size: 1.2em;
  margin: 20px 50px;
}
.text_top{
  font-size: 0.8em;
  margin: 20 20 2 20px;
}
}

@media screen and (max-width: 769px) {
.text1,
.text2,
.text3{
  font-size: .8em;
}

#eco{
	font-size: 1.3em;
	margin-bottom: 10px;
}
.text2 p:first-child{
  margin-bottom: 10px;
}

.text2 p:nth-child(7){
  font-size: 1.1em;
}

.text2 p:nth-child(2),
.text2 p:nth-child(8){
  font-size: 1.3em;
}

#eco{
  margin-top: 50px;
}
.text3 p:last-child{
  margin-bottom: 50px;
}

.text2{
  margin-bottom: 0;
}
.ill1,
.ill2,
.bird {
  margin-top: 0;
}

.bird{
  height: 10px;
}
.ill1{
  height: 50px;
}

.text1 .ill1 img{
  width: 100%;
  bottom: -60%;
  left: 1%;
}

.text3 .bird img{
  bottom: 92%;
  left: 5%;
}

.text2 .ill2 img{
  bottom: 100%;
  left: -1%;
}

#right {
  margin-top: 20px;
}
}
/*===================================
 SNSアイコン
===================================*/ 
.sns{
  margin: 3px;
  text-align: center;
}
.sns li{
  display: inline-block;
}
.sns a{
  display: block;
  padding: 10px 10px;
  background: #fff;
  color: #dc3858;
  border-radius: 5px;
  text-decoration: none;
  font-size: 20px; 
}
.sns a:hover{
  opacity: 0.5;
}

@font-face {
  font-family: 'icomoon';
  src:  url('fonts/icomoon.eot?q7igpd');
  src:  url('fonts/icomoon.eot?q7igpd#iefix') format('embedded-opentype'),
    url('fonts/icomoon.ttf?q7igpd') format('truetype'),
    url('fonts/icomoon.woff?q7igpd') format('woff'),
    url('fonts/icomoon.svg?q7igpd#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  /*speak-as: none;*/
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-instagram:before {
  content: "\ea92";
}

#sdgs_back a{
  background: none;
  padding-top: 10;
  padding-bottom: 0;
}

.sdgs img{
  width: 65px;
}
