@charset "utf-8";

/* --------------------
 base settings
-------------------- */

#thought_allergen {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	color: #000;
	line-height: 1.4;
	-webkit-text-size-adjust: 100%;
}

#thought_allergen * {
	margin: 0;
	padding: 0;
	box-sizing: inherit;
}

/* Bugfix for Android font-size
#thought_allergen * {max-height: 999999px;}
*/

#thought_allergen ol,
#thought_allergen ul {
	list-style: none;
}

#thought_allergen img {
	height: auto;
	max-width: 100%;
	vertical-align: top;
}


/* --------------------
 Class
-------------------- */

.center {
	text-align: center !important;
}

.left {
	text-align: left !important;
}

.right {
	text-align: right !important;
}

.nw {
	display: inline-block;
}


.mincho {
	font-family: Garamond, "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

.gothic {
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック体", "Original Yu Gothic", "游ゴシック", "Yu Gothic", YuGothic, Verdana, "Meiryo UI", "メイリオ", Meiryo, sans-serif;
}

/* --------------------
 Content
-------------------- */
#thought_allergen {
	text-align: left;
	margin-bottom: 1rem;
	font-size: 0.98rem;
	line-height: 1.7;
}

#thought_allergen h2 {
	font-size: 1.5rem;
}

@media screen and (min-width:769px),
print {
	#thought_allergen h2 {
		font-size: 1.75rem;
	}
}

#thought_allergen h3 {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 20px;
	line-height: 1.2;
}

@media screen and (min-width:769px),
print {
	#thought_allergen h3 {
		font-size: 1.5rem;
	}
}

#thought_allergen .article {
	margin: 0 5% 4rem;
	color: #571414;
}

@media screen and (min-width:769px),
print {
	#thought_allergen .article {
		margin: 0 0 5rem;
	}
}


#thought_allergen .section {
	margin: 0 0 3rem;
}

@media screen and (min-width:769px),
print {
	#thought_allergen .section {
		margin: 0 0 5rem;
	}
}

/* --------------------
 Smart device
-------------------- */
@media screen and (max-width: 768px) {

	/* PC-SP Switch */
	.dispPC {
		display: none;
	}
}

/* --------------------
 PC and Print
-------------------- */
@media screen and (min-width:769px),
print {

	/* PC-SP Switch */
	.dispSP {
		display: none;
	}

	/* ----- Content ----- */
	#thought_allergen {
		text-align: left;
		margin-bottom: 1rem;
	}
}

/* ----- Content ----- */

/* 均等な段組み */
#thought_allergen .col2 {
	overflow: hidden;
	margin: 0;
	font-size: 0;
}

@media screen and (max-width: 768px) {

	#thought_allergen .col2,
	#thought_allergen .col3 {
		overflow: visible;
		margin: 0;
	}

	#thought_allergen .col2s,
	#thought_allergen .col3s {
		margin: 0 -10px;
	}
}

#thought_allergen .col2 li {
	display: inline-block;
	vertical-align: top;
	margin: 0 0 40px 0;
	padding: 0;
	border: none;
	position: relative;
	font-size: 1rem;
	line-height: 1.5;
}

#thought_allergen .col2 li,
#thought_allergen .col2s li {
	width: calc(50% - 20px);
}

#thought_allergen .col3 li,
#thought_allergen .col3s li {
	width: calc(100% / 3 - 40px);
}

@media screen and (max-width: 768px) {

	#thought_allergen .col2s li,
	#thought_allergen .col3s li {
		width: calc(50% - 20px);
	}

	#thought_allergen .col1 li,
	#thought_allergen .col2 li,
	#thought_allergen .col3 li {
		display: block;
		margin: 0;
		/* margin: 30px 0; */
		width: auto;
		font-size: 16px;
	}

	#thought_allergen .col2s li,
	#thought_allergen .col3s li {
		margin: 0 10px 20px 10px;
		font-size: 16px;
	}
}

@media screen and (min-width:769px),
print {

	#thought_allergen .col2 li:nth-last-child(-n+2),
	#thought_allergen .col3 li:nth-last-child(-n+3),
	#thought_allergen .col2s li:nth-last-child(-n+2),
	#thought_allergen .col3s li:nth-last-child(-n+3) {
		margin-bottom: 0;
	}

	#thought_allergen .col2 li:nth-child(-n+2) *:first-child,
	#thought_allergen .col3 li:nth-child(-n+3) *:first-child,
	#thought_allergen .col2s li:nth-child(-n+2) *:first-child,
	#thought_allergen .col3s li:nth-child(-n+3) *:first-child {
		margin-top: 0;
	}

	#thought_allergen .col2 li *:last-child,
	#thought_allergen .col3 li *:last-child,
	#thought_allergen .col2s li *:last-child,
	#thought_allergen .col3s li *:last-child {
		margin-bottom: 0;
	}
}

@media screen and (max-width: 768px) {
	#thought_allergen .col3s li:nth-last-child(-n+2) {
		margin-bottom: 0;
	}

	#thought_allergen .col3s li:nth-child(-n+2) *:first-child {
		margin-top: 0;
	}
}

@media screen and (min-width:769px),
print {
	#thought_allergen .col2_reverse ul:nth-of-type(2n+0) {
		display: flex;
		flex-direction: row-reverse;
	}
}

@media screen and (min-width:769px),
print {
	#thought_allergen .col2_reverse ul:nth-of-type(2n) li:last-child {
		margin-right: 40px;
	}
}

@media screen and (min-width:769px),
print {
	#thought_allergen .col2_reverse ul:nth-of-type(2n+1) li:first-child {
		margin-right: 40px;
	}
}

/* 202107 */
@media screen and (min-width:769px),
print {
	#thought_allergen .col2-10 li {
		width: calc(50% - 10px);
	}
}

@media screen and (min-width:769px),
print {
	#thought_allergen .col2_reverse-mr20 ul:nth-of-type(2n) li:last-child {
		margin-right: 20px;
	}
}

@media screen and (min-width:769px),
print {
	#thought_allergen .col2_reverse-mr20 ul:nth-of-type(2n+1) li:first-child {
		margin-right: 20px;
	}
}

/* col content */
#thought_allergen .itemImg {
	margin-bottom: 1rem;
}

#thought_allergen .itemImg-bdr {
	border: 1px solid #ccc;
}

#thought_allergen .btn-Back {
	margin: 5rem 0 0;
	padding: 2rem 5%;
	border-top: 1px solid #ccc;
	text-align: left;
}

@media screen and (min-width:769px),
print {
	#thought_allergen .btn-Back {
		padding: 2rem 0;
	}
}

#thought_allergen .btn a {
	display: block;
	border: 1px solid #999;
	padding: 0.4rem 1rem;
	color: #000;
	text-align: center;
	text-decoration: none;
	position: relative;
}

#thought_allergen .btn-Back a::after {
	position: absolute;
	left: 0.5rem;
	top: 50%;
	display: block;
	width: 0.3rem;
	height: 0.3rem;
	content: "";
	border-left: 1px solid #333;
	border-bottom: 1px solid #333;
	transform: rotate(45deg);
	margin-top: -0.15rem;
}

@media screen and (min-width:769px),
print {
	#thought_allergen .btn-Back a {
		display: inline-block;
		padding: 0.4rem 3rem;
		min-width: 200px;
	}
}

#thought_allergen .btn-Next a::after {
	position: absolute;
	right: 0.5rem;
	top: 50%;
	display: block;
	width: 0.3rem;
	height: 0.3rem;
	content: "";
	border-top: 1px solid #333;
	border-right: 1px solid #333;
	transform: rotate(45deg);
	margin-top: -0.15rem;
}

@media screen and (min-width:769px),
print {
	#thought_allergen .btn-Next a {
		display: inline-block;
		padding: 1rem 3rem;
		min-width: 450px;
	}
}

#thought_allergen .sp_col2,
#thought_allergen .sp_col2 li {
	margin: 0;
}

@media screen and (max-width:768px) {
	#thought_allergen .sp_col2 li {
		display: inline-block !important;
	}
}

@media screen and (max-width:768px) {
	#thought_allergen .sp_col2 .w60 {
		width: 60%;
	}

	#thought_allergen .sp_col2 .w40 {
		width: 40%;
	}
}

@media screen and (min-width:769px),
print {
	#thought_allergen .img_parent {
		position: relative;
		text-align: center;
	}
}

#thought_allergen .img_pc_w80 {
	width: 80%;
}


/* object-fit */
/*
#thought_allergen .object-img {
	width: 100%;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}
@media screen and (min-width:769px), print {
	#thought_allergen .object-img {
		width: 100%;
		object-fit: cover;
		font-family: 'object-fit: cover;';
	}
} */

/*
@media screen and (min-width:769px), print {
	#thought_allergen .object-img-01 {
		height: 500px;
	}
}

@media screen and (min-width:769px), print {
	#thought_allergen .object-img-01b {
		height: 250px;
	}
}
*/

/*
@media screen and (min-width:769px), print {
	#thought_allergen .object-img-h180 {
		height: 180px;
	}
} */


#thought_allergen .Img_note {
	color: #666;
	font-size: 0.6rem;
	text-align: right;
	display: block;
	margin-top: .25rem;
	width: 100%;
}

/* font-size */
#thought_allergen .fs8 {
	font-size: 0.8rem;
}

/* 202103 header */
#thought_allergen h1,
#thought_allergen .bg_omoi,
#thought_allergen .bg_kodawari,
#thought_allergen .bg_faq {
	position: relative;
}


#thought_allergen h1 .h1_inner {
	position: absolute;
	top: 0;
	left: 0;
	margin: 1rem;
	color: #fff;
}

@media screen and (min-width:769px),
print {
	#thought_allergen h1 .h1_inner {
		position: absolute;
		top: 50%;
		left: 5%;
		/* bottom: 0; */
		margin: auto;
		/* right: 0; */
		/* left: 0; */
		transform: translateY(-50%);
	}
}

#thought_allergen h1 .h1_inner_main {
	font-size: 6vw;
}

@media screen and (min-width:769px),
print {
	#thought_allergen h1 .h1_inner_main {
		font-size: 2rem;
	}
}

#thought_allergen h1 .h1_inner_sub {
	font-size: 4vw;
}

@media screen and (min-width:769px),
print {
	#thought_allergen h1 .h1_inner_sub {
		font-size: 1.25rem;
	}
}

/* カーニング */
#thought_allergen .kerning {
	letter-spacing: 3px;
}

#thought_allergen .line-18 {
	line-height: 1.8 !important;
}


/* フッターメニュー */
@media screen and (max-width:768px) {
	#thought_allergen .list_menu {
		padding: 0 5% !important;
	}
}

#thought_allergen .list_menu ul {
	display: -webkit-flex;
	display: -ms-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: -10px -10px 0 !important;
}

#thought_allergen .list_menu li {
	width: calc(25% - 20px);
	margin: 10px 10px 0 !important;
}

#thought_allergen .list_menu li a {
	position: relative;
	display: block;
	align-items: center;
	height: 100%;
	padding: 15px 15px 15px 30px !important;
	font-weight: bold;
	color: #571414;
	border: 1px solid #571414;
	text-decoration: none;
	line-height: 1.2;
}

#thought_allergen .list_menu li a::after {
	position: absolute;
	top: 50%;
	left: 10px;
	width: 11px;
	height: 20px;
	margin-top: -10px;
	background: url("/library/contents/products/anshin2021/torikumi/ico_arrow_01_left.png") no-repeat;
	content: "";
}

#thought_allergen .list_menu li a:hover {
	background: #ddd0d0;
}

@media screen and (max-width: 768px) {
	#thought_allergen .list_menu {}

	#thought_allergen .list_menu li {
		width: calc(50% - 20px);
	}

	#thought_allergen .list_menu li a {
		padding: 10px 30px 10px 10px;
	}
}

@media screen and (max-width: 475px) {
	#thought_allergen .list_menu li {
		width: calc(100% - 20px);
	}
}

/* movie */
#thought_allergen .movie {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

#thought_allergen .movie iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}