
body{
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-weight: 400;
	font-style: normal;
    background-color: #fff;
	color: #333;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	-webkit-font-feature-settings: 'palt';
	font-feature-settings: 'palt';
}
input, button, textarea, select {
	-webkit-appearance: none;
	appearance: none;
}

img {
	width: 100%;
}

/* ==================================
全体ｃｓｓ
================================== */
.wrap {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* 色 */
:root {
	--textBlack: #333;
	--red : #e50012;
	--orange: #ff5400;
	--white: #fff;
	--backOrange: #fdf4e4;
}

/* sp改行 */
.sp_br {
	display: none;
}
@media screen and (max-width:658px) {
	.sp_br {
		display: block;
	}
	.sp_brNone {
		display: none;
	}
}

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

/* =================================
メイン
================================== */
/* hero */
.hero_inner {
	bottom: 0;
	max-width: 1600px;
	width: 100%;
	margin: 2em auto;
	text-align: center;
	padding: 0 10px;
}
.hero_inner p {
	display: inline-block;
	text-align: left;
	font-size: clamp(16px, 1.375vw, 22px);
	line-height: 2.2em;
}
@media screen and (min-width:765px) {
	.hero_inner {
		margin: 2em auto 5em;
	}
	.hero_inner p {
		text-align: center;
	}
}

/* トヤマ米粉紹介 */
.comeco {
	background-color: var(--backOrange);
}
.comeco_inner {
	max-width: 1300px;
	width: 100%;
	margin: 0 auto;
	padding: 2.5em 10px;
}
.comeco_cap {
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
}

.comeco_contWrap {
	margin: 2em 10px;
	display: flex;
	flex-direction: column;
}
.comeco_cont1, .comeco_cont3 {
	display: flex;
	flex-direction: column;
	gap: 2em;
	justify-content: center;
	align-items: center;
}
.comeco_cont2 {
	display: flex;
	flex-direction: column-reverse;
	gap: 2em;
	justify-content: center;
	align-items: center;
}
.comeco_ttlImg {
	max-width: 600px;
	width: 100%;
	margin: 0 auto;
}
.comeco_contTxt_inner {
	padding: 1.5em 0 0;
}
.comeco_contTxt_inner h2 {
	color: var(--orange);
	font-size: clamp(16px, 1.375vw, 22px);
}
.comeco_contTxt_inner h2::before {
	content: '\f14a';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding: 0 7px 0 0
}
.comeco_contTxt {
	flex-basis: 70%;
}
.comeco_contTxt p {
	font-size: clamp(16px, 1.125vw, 18px);
	padding: .5em 1.5em;
	line-height: 2em;
}
.comeco_img {
	flex-basis: 40%;
}
@media screen and (min-width:765px) {
	.comeco_cont1, .comeco_cont2, .comeco_cont3 {
		flex-direction: row;
	}
	.comeco_contTxt_inner {
		padding: 1.5em;
	}
}

.dott_orange {
	border-top: 6px dotted var(--orange);
	margin: 3em 0;
}


/* ショップリスト */
.shopList {
	background-color: #ffffff;
	background-image: linear-gradient(90deg, #fff2d680 45px, transparent 45px), linear-gradient(#fff2d680 45px, transparent 45px);
	background-position: 10px 10px;
	background-size: 105px 105px;
}
.shopList_wrap {
	max-width: 1300px;
	width: 100%;
	margin: 0 auto;
	background-color: #fff;
	padding: 2.5em 0;
}
.shop_ttl {
	max-width: 900px;
	width: 100%;
	margin: 0 auto;
	padding: 0 5px;
}

.rules-outer {
	border: 2px solid #A77958;
	padding: 5px;
	position: relative;
	/* z-index: -1; */
	text-align: center;
}

h2.rules-inner {
	border: 1px solid #A77958;
	padding: 1.5em 1em;
	position: relative;
	font-size: clamp(18px, 1.5625vw, 25px);
}

.rules-outer::before,
.rules-outer::after,
.rules-inner::before,
.rules-inner::after {
	background: #fff;
	border: 2px solid #A77958;
	border-radius: 50%;
	box-sizing: border-box;
	content: '';
	display: block;
	height: 40px;
	position: absolute;
	width: 40px;
	z-index: -1;
}

/* .rules-outer::before{
	top: -20px;
	left: -20px;
	clip: rect(18px, auto, auto, 18px);
}

.rules-outer::after {
	top: -20px;
	right: -20px;
	clip: rect(18px, 22px, auto, auto);
}

h2.rules-inner::before {
	bottom: -25px;
	left: -25px;
	clip: rect(auto, auto,23px,17px);
}

h2.rules-inner::after {
	bottom: -25px;
	right: -25px;
	clip: rect(auto, 23px, 23px, auto);
} */

.shopList_inner {
	/* max-width: 1000px;
	width: 100%;
	margin: 3.5em auto;
	padding: 0 3em;
	background-color: #fff;

	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(21, 1fr);
	grid-column-gap: 2.5em;
	grid-row-gap: 5.5em; */
	/* grid-auto-flow: column; */
}

.shop_cont {
	position: relative;
}
.shop_cont a {
	text-decoration: none;
}
.shop_cont h3 {
	position: absolute;
	top: 10px;
	left: -10px;
	font-size: clamp(18px, 1.3125vw, 21px);
	color: #fff;
	background-color: #ff5500d3;
	width: fit-content;
	padding: .3em .5em;
}
.shop_cont img {
	overflow: hidden;
	border-radius: 30px;
}
.shop_cont:hover {
	opacity: .5;
}
.shop_cont p {
	position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 600;
}
.shop_cont p:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 100%;
    height: 2px;
    background: rgba(0,0,0,.1);
    transform: translateX(-50%);
}
.shop_cont p:after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.shop_cont p:hover {
    opacity: 0.7;
}
.shop_cont p:hover:after {
    transform: scale(1, 1);
}
@media screen and (min-width:765px) {
	.shop_cont h3 {
		padding: .3em 1.2em;
	}
	.shopList_inner {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-flow: row;
		grid-column-gap: 6em;
		grid-row-gap: 6.5em;
	}
}

/* モーダルウィンドウ中身 */
/* ==========================
	モーダル（ポップアップ）
========================== */
.js_modalBtnCont {
	transition: 0.3s;
}
.js_modalWrap {
	opacity: 0;
	z-index: -1;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}
.js_modalWrap.active {
	animation: modalOpen 0.3s ease forwards;
}
.js_modalWrap.active2 {
	animation: modalClose 0.3s ease forwards;
}
.js_modalBG {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
}
.js_modalContInner {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	max-width: 1000px;
	width: 95%;
	/* height: auto; */
	max-height: 95vh;
	height: fit-content;
	background-color: #fff;
	border-radius: 16px;
	overflow: auto;
}
.js_modalCont {
	overflow-y: auto;
}
  .js_modalCont > * + * {
	margin-top: 10px;
}
  .js_modalContInner > .js_modalClose + * {
	margin-top: 0;
}
.js_modalClose {
	display: block;
	position: absolute;
	top: 12px;
	right: 12px;
	width: 50px;
	height: 50px;
	overflow: hidden;
	cursor: pointer;
	z-index: 1001;
	background-color: #ffffff;
	border-radius: 100vh;
}
.js_modalClose::before,
.js_modalClose::after {
	content: "";
	background-color: #333;
	position: absolute;
	top: 10px;
	right: 24px;
	width: 1px;
	height: 30px;
}
.js_modalClose::before {
	transform: rotate(45deg);
}
.js_modalClose::after {
	transform: rotate(-45deg);
}
@keyframes modalOpen {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
		z-index: 1000;
	}
}
@keyframes modalClose {
	0% {
		opacity: 1;
		z-index: 1000;
	}
	100% {
		opacity: 0;
	}
}
/* モーダルの中身調整 */
.modal_img {
	overflow: hidden;
	border-radius: 16px 16px 0 0;
}
.modal_img p{
	text-align: right;
	padding-right: 1em;
}
.modal_txt {
	padding: 10px;
}
.modal_txt h1 {
	padding: 5px;
	border-bottom: 2px solid var(--orange);
	font-size: clamp(18px, 1.5vw, 24px);
}
.modal_txt h3 {
	text-align: center;
	margin-top: 2em;
	font-size: clamp(16px, 1.25vw, 20px);
}
.modal_txt h3 span {
	font-size: 14px;
}
.modal_txt p {
	max-width: 600px;
	width: 100%;
	margin: 1em auto;
	line-height: 2em;
}
.modal_txt ul {
	list-style-type: none;
	padding-left: .5em;
}
.modal_txt ul li {
	line-height: 2.5em;
	font-size: clamp(14px, 1.125vw, 18px);
}
.modal_txt ul li a {
	text-decoration: none;
	color: #333;
}
.modal_txt ul li a:hover {
	opacity: .5;
}
li.shop_link::before {
	content: '\f0c1';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding: 0 7px 0 0
}
li.shop_tel::before {
	content: '\f095';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding: 0 7px 0 0
}
li.shop_adress a {
	color: #3497d1!important;
}
li.shop_adress::before {
	content: '\f3c5';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding: 0 7px 0 0
}
@media screen and (min-width:1050px) {
	.js_modalContInner {
		width: 100%;
	}
}


/* =================================
フッター
================================== */
.footer{
    margin-top: auto;
	background-color: #fff;
}

.footer_inner {
	max-width: 1600px;
	width: 100%;
	margin: 2.5em auto;
	padding: 0 10px;
	text-align: center;
}
.footer_inner h3 {
	text-align: center;
	border-bottom: 2px solid var(--textBlack);
}

.footer_cont {
	display: flex;
	flex-direction: column;
	gap: 2em;
	align-items: center;
	justify-content: center;

	padding: 1.5em 0;
}
.footer_contName {
	text-align: center;
}
.footer_contName h4 {
	font-size: clamp(16px, 1.125vw, 20px);
	margin-top: .8em;
}
.footer_contName p {
	font-size: clamp(14px, 1.125vw, 18px);
	padding-bottom: .5em;
}
.footer_contName p.fot_building,
.footer_contName p.fot_address {
	line-height: 1.2em;
}
.footer_contInquiry {
	font-size: clamp(18px, 1.375vw, 22px);
	line-height: 2em;
	text-align: left;
}
.footer_contInquiry p.fot_tel::before {
	content: '\f095';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding: 0 7px 0 0
}
.footer_contInquiry p.fot_fax::before {
	content: '\f1ac';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding: 0 7px 0 0
}
.footer_contInquiry p.fot_mail::before {
	content: '\f0e0';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding: 0 7px 0 0
}
.toyama_logo {
	max-width: 150px;
	width: 100%;
	margin: 1.5em auto 1em;
}
@media screen and (min-width:765px) {
	.footer_cont {
		flex-direction: row;
		padding: 2em 0;
	}
	.footer_contName p.fot_building,
.footer_contName p.fot_address {
	line-height: 2em;
}
}


/* ページトップボタン */
#page-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	font-size: 14px;
	line-height: 1;
	z-index: 99;
}
#page-top a {
	background: #5b805a;
	text-decoration: none;
	color: #fff;
	width: 70px;
	padding: 28px 5px;
	text-align: center;
	display: block;
	border-radius: 90px;
	opacity: 0.9;
	transition: all .3s ease;
}
#page-top a:hover {
	text-decoration: none;
	opacity: .5;
}