@charset "utf-8";

/* --------------------------------------------------------------------------------

	SP向け index-device.css
	
-------------------------------------------------------------------------------- */
body{
	background: #fff;
}
.h-logo{
	display: none;
}

img{
	display: block;
}
 a:hover {
	opacity: 0.7;
}




/* --------------------------------------------------------------------------------
	デバイスごとの表示・非表示
-------------------------------------------------------------------------------- */
.device-sp{
	display:block;
}
.device-sp-inline{
	display:inline;
}
.device-pc{
	display:none;
}
.device-pc-inline{
	display:none;
}



/* --------------------------------------------------------------------------------
	ヘッダー
-------------------------------------------------------------------------------- */
.header-box{
	height: 15vw;
	margin-left: 15vw;
	
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/*ロゴ*/
.header-box h1 {
	display: flex;
	flex-direction: column;
	font-weight: 700;
	margin-left: 2vw;
}	
.header-box h1 span.logo{
	font-size: 5.2vw;
}
.header-box h1 span.sub{
	font-size: 3.6vw;
}

/*tel*/
.header-box .btn-tel {
	width: 50vw;
	margin-right: 2vw;
}
.header-box .btn-tel a{
	display: block;
	background: #00aa50;
	font-size: 4vw;
	color: #fff;
	font-weight: 700;
	padding: 2vw;
	border-radius: 5vw;
	text-align: center;
	padding-left: 7vw;
	box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.2);
	position: relative;
}
.header-box .btn-tel a::before{
	content: url("../images/common/h-icon-tel.png");
	transform: scale(0.46);
	position: absolute;
	top: 1.6vw;
	left: 2vw;
}





/* --------------------------------------------------------------------------------
	main
-------------------------------------------------------------------------------- */
.main{
	margin: 0;
}

/* 看板
-------------------------------------------------------------------------------- */
.main .img-main{
	margin: 0 0 4vw;
}



/* まずはご相談ください
-------------------------------------------------------------------------------- */
.inquiry{
		padding: 5vw 3vw;
	border-top: 0.4vw solid #333;
	border-bottom: 0.4vw solid #333;
}
.inquiry h2{
	font-size: 5vw;
	text-align: center;
	margin-bottom: 1vw;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.inquiry .box{
	width: 82vw;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.inquiry .img-operator{
	width: 41vw;
}
.inquiry .img-sample{
	width: 39vw;
	margin-top: 7vw;
}

.inquiry .lot{
	width: 92vw;
	margin: 0 auto;
	font-size:4vw;
	color: #780000;
	text-align: center;
	font-weight: 700;
	border: 0.2vw solid #780000;
	border-radius: 5vw;
	padding:0.6vw ;
	margin-bottom: 1vw
}
/*TEL*/
.inquiry .telno{
	width: 67vw;
	margin: 0 9vw 4vw auto;
	font-size:10vw;
	font-weight: 700;
	line-height: 1;
}
.inquiry .telno a{
	position: relative;
}
.inquiry .telno a::before{
	content: url("../images/common/icon-tel.png");
	transform: scale(0.4);
	position: absolute;
	top: -2vw;
	left: -18vw;
}
/*ボタン*/
.inquiry .btn{
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}
.inquiry .btn .btn-sample a{
	width: 45vw;
	display: block;
	background: #8c0000;
	font-size: 4.4vw;
	color: #fff;
	font-weight: 700;
	padding:2vw;
	border-radius:2vw;
	text-align: center;
	box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.2);
}
.inquiry .btn .btn-contact a{
	width: 45vw;
	display: block;
	background: #00aa50;
	font-size: 4.4vw;
	color: #fff;
	font-weight: 700;
	padding:2vw;
	border-radius:2vw;
	text-align: center;
	box-shadow: 4px 4px 8px 2px rgba(0, 0, 0, 0.2);
}




/* ページ内アンカー
-------------------------------------------------------------------------------- */
.content-list {
	padding: 0 3vw;
	margin-top: 9vw;
	margin-bottom:11vw;
}
.content-list ul{
	display: flex;
	flex-wrap: wrap;	
}
.content-list ul li{
	width:44.4vw;
	background: #e6e6e6;
	border-radius:1vw;
	font-size: 3.6vw;
	font-weight: 700;
	text-align: center;	
	margin-right: 2vw;
	margin-bottom: 2vw;
	position: relative;
}
.content-list ul li:nth-child(2n){
	margin-right:0;	
}
.content-list ul li::after{
	content: "";
	position: absolute;
	bottom: -0.5vw;
	left: 50%;
	transform: translateY(0) translateX(-50%); 
	border: 6px solid transparent;
	border-top: 7px solid #8c0000; 
}
.content-list ul li a{
	display: block;
	padding: 2.2vw 0 4.2vw 0;
}



/* コンセプト
-------------------------------------------------------------------------------- */
.concept{
	padding: 0 3vw;
	margin-bottom: 45px;
}
.concept h2{
	font-size: 6.4vw;
	text-align: center;	
	margin-bottom: 3vw;
	line-height: 1.4;;
}
.concept .sub{
	font-size:4vw;
	margin-bottom: 40px;
}

.concept .concept-box{
	border-radius: 5vw;
	box-shadow: 0px 0px 15px -5px #808080;
	padding-bottom: 7vw;
}
.concept .concept-box .img{
	width: 100%;
	background: #f0e6dc;
	border-radius: 3vw 3vw 0 0;
	margin-bottom: 6vw;
}

.concept .concept-box .box{
	margin: 0 auto 26px auto;
	display: flex;
	flex-direction: column-reverse;
	align-items: center;
}
.concept .concept-box .box .photo{
	width: 58vw;
}
/*吹き出し*/
.concept .concept-box .box .txtbox {
	position: relative;
	display: inline-block;
	width: 82vw;
	padding: 2.8vw 3.4vw;
	border-radius: 3vw;
	background-color: #e6c26e;
	text-align: left;
	font-size: 4.4vw;
	font-weight: 700;
	line-height: 1.4;
	color: #000000;
	margin-bottom: 6vw;
}
.concept .concept-box .box .txtbox::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 70%;
	border-style: solid;
	border-width: 5vw 5vw 0 0;
	border-color: #e6c26e transparent transparent;
	translate: calc(-50% - 0.4px) 100%;
}
.concept .concept-box .txt{
	font-size: 4vw;
	padding: 0 5vw;
}
/*三角形*/
.concept .triangle{
	margin: 0 auto;
	width: 0;
	height: 0;
	border-style: solid;
	border-right: 150px solid transparent;
	border-left: 150px solid transparent;
	border-top: 40px solid #8c0000;
	border-bottom: 0;
}
.concept h3{
	font-size: 5.2vw;
	text-align: center;	
	margin-top: 4vw;
	line-height: 1.3;
	letter-spacing: -0.03em;
}



/* ご依頼の流れ
-------------------------------------------------------------------------------- */
.flow{	
	margin-top: 19vw;
	margin-bottom: 15vw;
}
.flow h2{
	font-size: 6.4vw;
	text-align: center;	
	margin-bottom: 2vw;
}
.flow .sub{
	font-size: 4vw;
	text-align: center;	
	margin-bottom:7vw;
}

.flow ul{
	width: 84vw;
	margin: 0 auto;

}
.flow ul li{
	width: 100%;
	background: #e6e6e6;
	font-size: 5.2vw;
	font-weight: 700;
	text-align: center;
	padding: 4vw 0 6vw 0;
	margin-bottom: 5vw;
	border-radius: 3vw;
	box-shadow: 0px 0px 15px -5px #808080;
}
.flow ul li span{
	font-size: 4.8vw;
	font-weight: 400;
	display:block;
	position: relative;
	margin-bottom: 2vw;
}
.flow ul li span::after{
	content: '';
	width: 10vw;
	height: 0.4vw;
	display: inline-block;
	background-color: #e6c26e;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}



/* 安藤醸造の業務用味噌一覧
-------------------------------------------------------------------------------- */
.products-list{	
	margin-top: 18vw;
	margin-bottom: 9vw;
}
.products-list h2{
	font-size: 6.4vw;
	text-align: center;	
	margin-bottom: 7vw;
}
.products-list .box{
	padding: 0 3vw;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.products-list .box .miso{	
	width: 45vw;
	padding: 3vw 3vw 5vw 3vw;
	border-radius: 4vw;
	box-shadow: 0px 0px 15px -5px #808080;
	margin-bottom: 6vw;
}
.products-list .box .miso .img{	
	position: relative;
}
.products-list .box .miso .label{	
	font-size: 3.4vw;
	text-align: center;
	color: #fff;
	background: #780000;
	border-radius: 5vw;
	padding: 0.1vw 2vw;
	position: absolute;
	bottom: 1vw;
	left: 1vw;
}
.products-list .box .miso .img img{	
	border-radius: 2vw;
}
.products-list .box .miso .name{	
	font-size: 4.4vw;
	font-weight: 700;	
	margin-top: 2vw;
}
.products-list .box .miso .price{
	font-size: 4.4vw;
	color: #780000;
	font-weight: 700;
	margin-bottom: 4vw;
}
.products-list .box .miso .tax{	
	color: #333333;
	font-size: 3.6vw;
	font-weight: 400;
}

/*ポップアップ*/
#popup_1,#popup_2,#popup_3,#popup_4{
	display: none; /* label でコントロールするので input は非表示に */
}
.popup-open {
	cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
	display: block;
	font-size: 4vw;
	text-align: center;
	border: 1px solid #333;
	border-radius: 5vw;
	padding: 2vw;
}
.popup-overlay {
	display: none; /* input にチェックが入るまでは非表示に */
}
#popup_1:checked ~ .popup-overlay,
#popup_2:checked ~ .popup-overlay,
#popup_3:checked ~ .popup-overlay,
#popup_4:checked ~ .popup-overlay{
	display: block;
	z-index: 99999;
	background-color: #00000080;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
.popup-window {
	width: 90vw;
	max-width: 550px;
	background-color: #ffffff;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.popup-text {
	margin: 0;
}
.popup-text:not(:last-of-type) {
	margin-bottom: 1em
}
.popup-close {
	cursor: pointer;
	position: absolute;
	top: -2vw;
	right: -2vw;
	width: 8vw;	
}

/*ポップアップの内容*/
.popup-window .ttl-box{
	border-bottom: 1px solid #000;
}
.popup-window .ttl-box .ttl{
	font-size: 5.4vw;
	font-weight: 700;
	padding: 2vw 5vw 1vw 5vw;
}
.popup-window .ttl-box .ttl span{
	font-size: 4vw;
	font-weight: 700;
	padding-left:3vw;
}

.popup-window .box{
	padding:  3vw 5vw;
	display: flex;
}
.popup-window .box .txt{
	width: 40vw;
}
.popup-window .box .txt .p-label{
	width: 90px;
	font-size: 3vw;
	text-align: center;
	color: #fff;
	background: #780000;
	border-radius: 5vw;
	padding: 0.4vw 1vw;
	margin-bottom: 1vw;
}
.popup-window .box .txt .p-name{
	font-size: 4vw;
	font-weight: 700;
	margin-bottom: 1vw;
}
.popup-window .box .txt .p-txt{
	font-size: 3vw;
	line-height: 1.7;
}
.popup-window .box .img{
	width: 38vw;
	border-radius: 3vw;
}
/*詳細*/
.popup-window  table{
	width:90%;
	margin: 0 auto 5vw auto;
	border:solid 1px #000;
	border-collapse:collapse;
	font-size: 2.8vw;
}
.popup-window table th{
	width:20%;
	padding:1vw 2vw;
	border:solid 1px #000;
}
.popup-window  table td{	
	padding:1vw 2vw;
	border:solid 1px #000;
}



/* ３つの理由
-------------------------------------------------------------------------------- */
.reason{
	margin-top: 17vw;
	margin-bottom: 15vw;
}
.reason h2{
	font-size: 6.4vw;
	text-align: center;
	line-height: 1.4;
	margin-bottom: 7vw;
}
.reason h2 span{
	font-size: 8vw;
	color: #780000;
}
.reason .box{
	width: 84vw;
	margin: 0 auto;
}
.reason .box .detail{
	width:100%;
	background: #f0f0f0;
	border-radius: 5vw;
	padding: 7vw 5.6vw;
	box-shadow: 0px 0px 15px -5px #808080;
	margin-bottom: 8vw;
}
.reason .box .detail .icon{
	width: 16.6vw;
	margin: 0 auto 3vw auto;
}
.reason .box .detail h3{
	font-size: 5.2vw;
	color: #780000;
	line-height: 1.4;
	position: relative;
	display: inline-block;
	margin-bottom: 8vw;
}
.reason .box .detail h3::after{
	content: "";
	position: absolute;
	bottom: -5vw;
	left: 50%;
	transform: translate(-50%, -50%); 
	width: 23vw;
	height: 1vw;
	background-color: #e6c26e;
}
.reason .box .detail .txt{
	font-size: 4vw;
	margin-bottom: 4vw;
}
.reason .box .detail ul.check-list {
	list-style: none;
	padding: 0;
}
.reason .box .detail ul.check-list li {
	position: relative;
	padding-left: 7vw;
	margin-bottom: 1vw;
	position: relative;
}
/* チェックボックス */
.reason .box .detail ul.check-list li::before {
	content: url("../images/index/icon-check.png");
	transform: scale(0.4);
	position: absolute;
	top: -3vw;
	left: -3vw;
}



/* 安藤醸造でできること
-------------------------------------------------------------------------------- */
.cando{	
	margin-top: 18vw;
	margin-bottom:15vw;
}
.cando h2{
	font-size: 6.4vw;
	text-align: center;	
	margin-bottom: 2vw;
}
.cando .sub{
	font-size: 4vw;
	text-align: center;	
	margin-bottom: 7vw;
}

.cando .box{
	width: 84vw;
	margin: 0 auto;
}
.cando .box .detail{
	border-radius: 5vw;
	padding: 8vw 3vw;
	box-shadow: 0px 0px 15px -5px #808080;
	margin-bottom: 6vw;
}
.cando .box .detail .icon{
	width: 51%;
	margin: 0 auto 4vw auto;
}
.cando .box .detail h3{
	font-size:5.2vw;
	color: #780000;
	text-align: center;
	margin-bottom: 2.8vw;
}
.cando .box .detail .txt{
	font-size: 4vw;
	text-align: center;
	margin-bottom: 1vw;
}
.cando .box .detail .txt span {
	position: relative;
}
.cando .box .detail .txt span::before {
	content: url("../images/index/icon-attention.png");
	transform: scale(0.45);
	position: absolute;
	top: -3vw;
	left: -10vw;
}



/* 導入事例・お客様の声
-------------------------------------------------------------------------------- */
.voice{	
	padding: 0 3vw;
	margin-top: 17vw;
	margin-bottom: 15vw;
}
.voice h2{
	font-size: 32px;
	text-align: center;	
	margin-bottom: 35px;
}

.voice .box{		
	background: #f0f0f0;
	padding: 5vw 4vw 10vw 4vw;
	border-radius: 5vw;
	box-shadow: 0px 0px 15px -5px #808080;
}
.voice .box .detail{
	margin-bottom: 6vw;
}
.voice .box .detail .icon{
	width: 15vw;
	margin: 3vw auto 2vw auto;
}
.voice .box .detail h3{
	font-size: 5.2vw;
	color: #780000;
	text-align: center;
	margin-bottom: 2vw;
}
.voice .box .detail .txt{
	font-size: 4vw;
	letter-spacing: -0.02em;
}
.voice .photo{
	width: 58vw;
	margin: 0 auto;
}



/* よくある質問
-------------------------------------------------------------------------------- */
.qa{
	padding: 0 3vw;
	margin-top:17vw;
	margin-bottom: 14vw;
}
.qa h2{
	font-size: 6.4vw;
	text-align: center;	
	margin-bottom: 6vw;
}
.qa .box{	
	padding: 4vw 0 6vw 0;
	border-radius: 5vw;
	box-shadow: 0px 0px 15px -5px #808080;
	
	display: flex;
	justify-content: space-between;
}

/* アコーディオン */
.accordion{
	width:100%;
	padding: 0 3vw;
}
.item {
	font-size: 4.4vw;
	margin-bottom: 2vw;
	overflow: hidden;
}
.question {
	list-style: none; /* デフォルトの矢印を消す */
	cursor: pointer;
	position: relative;
	padding: 2vw 10vw 2vw 3vw; /* 右側に矢印用の余白を確保 */
	user-select: none;
	font-weight: 700;
	padding-left: 1.5em;
	text-indent: -1.5em;
	margin-left: 3vw;
}
.question span{
	color: #780000;
	padding-right: 2vw;	
}
.question:hover {
	opacity: 0.7;
}
/* 矢印（閉じた状態：下向き） */
.question::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 2vw;
	width: 2vw;
	height: 2vw;
	border-top: 0.6vw solid #666;
	border-right: 0.6vw solid #666;
	transform: translateY(-50%) rotate(135deg);
	transition: transform 0.3s ease;
}
/* 矢印（開いた状態：上向き） */
.item[open] .question::after {
	transform: translateY(-50%) rotate(-45deg);
}
.answer {
	font-size: 4vw;
	padding:2vw 3vw;
	background-color: #f0f0f0;
	margin-bottom: 5px;
}
.answer p{
	padding-left: 1.5em;
	text-indent: -1.5em;
}
.answer span{
	font-size: 4.4vw;
	font-weight: 700;
	color: #d2aa46;
	padding-right: 2vw;
}

/* iOSでのデフォルトアイコンを非表示にする */
details summary {
	list-style: none; /* リストスタイルの削除 */
}

/* Safari特有のデフォルトマーカーを非表示にする */
summary::-webkit-details-marker {
	display: none;
}



/* 対応地域
-------------------------------------------------------------------------------- */
.area{
	padding: 0 3vw;
	margin-top: 18vw;
	margin-bottom:19vw;
}
.area h2{
	font-size: 6.4vw;
	text-align: center;	
	margin-bottom: 7vw;
}
.area .box{	
	background: #f0f0f0;
	padding: 3vw 4.8vw;
	border-radius:  5vw;
	box-shadow: 0px 0px 15px -5px #808080;	
}
.area .box .txt{	
	font-size: 4vw;
	line-height: 1.48;
}



/* 開発例
-------------------------------------------------------------------------------- */
.example{
	padding: 0 3vw;
	margin-bottom: 100px;
}
.example h2{
	font-size: 6.4vw;
	text-align: center;	
	margin-bottom: 7vw;
}
.example .box{	
	padding: 4vw 4vw 6vw 4vw;
	border-radius: 5vw;
	box-shadow: 0px 0px 15px -5px #808080;
	margin-bottom: 7vw;
}
.example .bg-g{	
	background: #f0f0f0;
}
.example .box .group{	
	font-size: 4vw;
	line-height: 1.45;
	color: #780000;
	font-weight: 700;
}
.example .box .txt{	
	font-size: 4vw;
	line-height: 1.45;
}



/* フロートバナー
-------------------------------------------------------------------------------- */
.f-float{
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 100;
	display: flex;
}
.f-float img{
	display: block;
	width: 100%;
}




/* フッター 非表示
-------------------------------------------------------------------------------- */
#footer .col-menu,
#contact,
.float{
	display: none;
}
#footer{
	margin: 0;
}





