/****======================================
*
* 画面幅が500px以下の時
*
======================================****/
:root {
	--color-main: #66BB6A;
	--color-sub: #FFA000;
	--color-text: #263238;
	--color-shadow: #EBE6E4;
}

body {
	font-size: 1.4rem;
	min-width: 420px;
	max-width: 500px;
}

.wrapper {
	width: 90%;
	margin: 0 auto;
	position: relative;
}

.sm-wrapper {
	width: 80%;
	margin: 0 auto;
	position: relative;
}

.sm-text,
.sm-title,
.sm-image {
	display: block;
}

.pc-title,
.pc-image {
	display: none;
}

.pc-text {
	display: inline;
}

.sm-title,
.title {
	line-height: 1.6;
	font-size: 2.4rem;
	color: var(--color-main);
	margin-bottom: 40px;
	order: 1;
	text-align: center;
}

.flex-box {
	flex-direction: column;
}

img {
	max-width: 100%;
	height: auto;
}

h2 .small-text {
	font-size: 65%;
}

/****======================================
*
* header ヘッダー
*
======================================****/

.g-menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 30px;
	position: absolute;
	right: 30px;
	padding-top: 30px;
	color: var(--color-main);
}

/* 閉じるボタン */
/*×に変化*/

.menu-btn {
	display: block;
	position: relative;
	width: 100%;
	height: 27px;
}

.menu-btn span {
	display: inline-block;
	transition: all .4s;
	/*アニメーションの設定*/
	position: absolute;
	left: 50%;
	margin-left: -12px;
	height: 3px;
	border-radius: 2px;
	background: var(--color-main);
	width: 24px;
}

.menu-btn span:nth-of-type(1) {
	top: 0;
}

.menu-btn span:nth-of-type(2) {
	top: 9px;
}

.menu-btn span:nth-of-type(3) {
	top: 18px;
}

.menu-btn.active span:nth-of-type(1) {
	top: 6px;
	left: 15px;
	transform: translateY(6px) rotate(-45deg);
	width: 80%;
}

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

.menu-btn.active span:nth-of-type(3) {
	top: 18px;
	left: 15px;
	transform: translateY(-6px) rotate(45deg);
	width: 80%;
}

.menu-text {
	margin-top: 20px;
	font-size: 1.6rem;
	font-weight: 400;
}


#g-nav {
	/*position:fixed;にし、z-indexの数値を大きくして前面へ*/
	position: fixed;
	/*ナビのスタート位置と形状*/
	top: 0;
	left: -83%;
	width: 100%;
	height: 100%;
	/*ナビの高さ*/
	transition: all 0.5s;
	color: var(--color-main);
}

#g-nav ul {
	/*ナビゲーション天地中央揃え*/
	position: absolute;
	top: 100px;
	left: 60px;
	font-size: 1.4rem;
}

/***----------------
contact お問い合わせ
-----------------------------***/
.contact-btn {
	width: auto;
	height: 60px;
	line-height: 60px;
	padding: 0 30px;
	left: 0;
	bottom: 50px;
	border-radius: 0 15px 15px 0;
}

/****======================================
*
* main メイン
*
======================================****/

/***----------------
main-view メインビュー
-----------------------------***/

.shinmai-logo {
	position: absolute;
	right: 0;
	top: 30px;
	width: auto;
}

.shinmai-logo img {
	width: 40px;
	height: auto;
}

.main-image {
	display: flex;
	flex-direction: column;
	padding-top: 60px;
}

.helas-logo {
	position: initial;
	order: 1;
}

.desc {
	margin-top: 30px;
}

.logo-img {
	margin-top: 40px;
}

.main-img01,
.main-img02 {
	margin: 0 auto;
	position: initial;
}

.main-img01 {
	order: 3;
	position: relative;
	top: -32px;
	left: 0;
}

.main-img02 {
	order: 2;
	z-index: 100;
}

.app_store_list li{ 
	clear: both;
}

.app_store_list li a img{
	width: 100%;
	height: auto;
}
/***----------------
.recruiting 募集案内
-----------------------------***/

.recruiting .wrapper {
	padding: 0;
}

.sm-flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.main-contact-btn a {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	line-height: 1.6;
	padding: 20px;
}

.sm-flex span {
	display: inline-block;
}

.app_store_icon { 
	width: 100%;
	height: auto;
}

/***----------------
news お知らせ
-----------------------------***/

.news {
	margin-top: 70px;
}

.news-list {
	flex-direction: column;
	align-items: flex-start;
	padding: 20px 30px;
}

.time,
.news-more,
.news-list {
	font-size: 1.4rem;
}

/***----------------
about HELASって何？
-----------------------------***/

#about {
	margin-top: 120px;
}


#about figure {
	order: 2;
	display: block;
	margin: 0 auto;
}

#about .text {
	order: 3;
	width: 90%;
	margin: 40px auto 0;
	padding: 0;
}

.text p:not(:last-of-type) {
	margin-bottom: 20px;
}

#about picture {
	max-width: 100%;
	margin: 0 auto;
	margin-top: 60px;
}

.note {
	display: none;
}

/***----------------
#user-merit 購入者のメリット
-----------------------------***/
#user-merit {
	margin-top: 120px;
}

.content-box {
	width: 100%;
	padding: 30px;
}

.subtitle {
	font-size: 1.8rem;
}

.merit-img {
	position: relative;
	top: -20px;
}

/***----------------
#shop-merit 出品者のメリット
-----------------------------***/

#shop-merit {
	margin-top: 120px;
}

.merit-img {
	order: 2;
}

#shop-merit .merit-img {
	top: -30px;
}

/***----------------
#howto アプリの使い方
-----------------------------***/

#howto {
	margin-top: 120px;
}

.caption {
	font-size: 1rem;
	margin-bottom: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.caption span {
	display: inline-block;
}

.top-caption {
	margin: 0;
}

.detail {
	width: 100%;
	padding: 70px 30px 30px;
	margin-top: -50px;
	order: 3;
}

.detail p {
	width: 100%;
}

.step-box {
	padding-bottom: 0;
	display: flex;
	flex-direction: column;
}

.step-box:not(:first-of-type) {
	margin-top: 60px;
}

.step-title {
	width: 100%;
	font-size: 18px;
	margin-left: 30px;
	margin-bottom: 10px;
	padding-top: 0;
}

.step-no {
	margin-right: 20px;
}

.app-image {
	position: relative;
	order: 2;
	top: 0;
}

/***----------------
#food-loss 食品ロスについて
-----------------------------***/

#food-loss {
	margin-top: 120px;
}

.image {
	order: 1;
	width: 100%;
}

.loss-text {
	order: 2;
	width: 90%;
	margin: 40px auto 0;
}

.sm-image {
	text-align: center;
	margin-top: 40px;
}

.table-img {
	max-width: 260px;
}

/***---
ロスをみえる化
--------------------------***/

.loss-title {
	margin-top: 60px;
}

.loss-img {
	top: -50px;
}

#food-loss .text-area {
	width: 90%;
	margin: -30px auto 0;
}

.project-logo {
	margin-top: 20px;
}

/***----------------
#related 連携組織・自治体
-----------------------------***/
#related {
	margin-top: 120px;
}

#related .flex-box {
	flex-direction: row;
}

.nasc-logo {
	width: 140px;
	margin-right: 20px;
	flex-shrink: 0;
}

.nasc-logo img {
	display: block;
	width: 100%;
}

#related p {
	width: auto;
}



/***----------------
#faq よくある質問
-----------------------------***/
#faq {
	margin-top: 120px;
	overflow-x: hidden;
}

#faq .wrapper {
	width: 100%;
	position: static;
}

.inquiry {
	height: auto;
	margin: 0 auto 60px;
	padding: 0 10% 20px;
	position: relative;
	background: none;
}

.faq-bk {
	display: block;
	width: 85%;
	height: 100%;
	position: absolute;
	right: 0;
	background: var(--color-shadow);
	z-index: -10;
	border-radius: 0 0 0 30px;
}

.question {
	position: relative;
	top: -15px;
	left: 0;
	margin: 0 auto;
	text-indent: -1.5em;
	padding-left: 1.5em;
	font-size: 1.6rem;
	line-height: 1.6;
}

.question::after {
	content: '';
	width: 100%;
	left: 15%;
	bottom: -10px;
	border-radius: 2px 0 0 2px;
}

.answer {
	margin-left: 15%;
	padding-top: 5px;
}

.flow-img {
	width: 100%;
}

/***----------------
#sponsorship わたしたちもHELASを支援しています
--------------------------***/

#sponsorship {
	margin-top: 100px;
	display: grid;
	justify-content: center;
	align-items: center;
}

.support {
	color: var(--color-main);
	text-align:center;
	font-size: medium;
	position: relative;
	padding-bottom: 10px;
}

.support::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 2px;
    background: var(--color-sub);
    transform: translateX(-50%);
}

.logos {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-top: 35px;
}

.logos a {
	max-height: 45px;
	width: 170px;
	text-align: center;
}

.logos img {
	max-height: 45px;
	width: auto;
	max-width: 170px;
}


/****======================================
*
* 下層ページ共通コンテンツ
*
======================================****/
.content-wrapper {
	width: 80%;
}

/***----------------
.content-logo 下層ページのロゴ
-----------------------------***/

.content-logo {
	position: fixed;
	right: 5%;
	top: 30px;
}

.content-logo img {
	width: 60px;
}

/***----------------
.page-title 下層ページのページタイトル
-----------------------------***/

.page-title {
	font-size: 3rem;
	text-align: center;
	margin-top: 100px;
}

.back-btn {
	width: 100%;
}

/****======================================
*
* privacy プライバシーポリシー
* scta 特定商取引法に基づく表記
* cancel キャンセルポリシーページ
*
======================================****/

.policy-item {
	margin-top: 40px;
	margin-bottom: 5px;
	font-size: 1.4rem;
}

.scta-item {
	margin-top: 20px;
	margin-bottom: 5px;
	font-size: 1.4rem;
}

.cancel-item {
	margin-top: 20px;
	margin-bottom: 5px;
	font-size: 1.4rem;
}

.cancel-section {
	margin-top: 40px;
	margin-bottom: 5px;
	font-size: 1.4rem;
}

/****======================================
*
* footer フッター
*
======================================****/

footer {
	margin-top: 140px;
	padding: 40px 0 30px;
}

footer .flex-box {
	align-items: start;
}

.foot-logo img {
	width: 130px;
}

.foot-nav {
	flex-direction: column;
	margin-top: 30px;
}

.foot-nav li:not(:first-of-type) {
	margin: 15px 0 0 0;
}

.copy {
	margin-top: 80px;
	text-align: center;
}
