@charset "UTF-8";

/* general */
.ly-wrp-main {
	font-family: "YuGothic", "Yu Gothic", "游ゴシック", "Hiragino Sans", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Verdana, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
	font-feature-settings: "palt";
	position: relative;
}
.textPwid .ly-wrp-main {
	font-feature-settings: "pwid";
}
.ly-wrp-main a {
  text-decoration: underline;
}
.ly-mod-page-submenu a,
.ly-mod-breadcrumbs a {
  text-decoration: none;
}

/* utility */
.sfg__title_h2 {
	position: relative;
	margin: 28px 0 0;
	padding: 0 0 0 12.5px;
	font-size: 20px;
	letter-spacing: 0.05em;
}
.sfg__title_h2:before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 5px;
	height: 20px;
	background: #f9be2c none;
	border-radius: 100px;
	-webkit-transform: translate(0%, -50%);
	transform: translate(0%, -50%);
}
.sfg__title_h2.line2:before {
	top: 3.5px;
	-webkit-transform: none;
	transform: none;
}
.sfg__subtitle_h2 {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.333333333333333;
}
.sfg__annotation {
  font-size: 12px;
  line-height: 1.583333333333333;
}
.sfg__annotation li {
	position: relative;
  padding-left: 1.4em;
}
.sfg__annotation li:first-child {
  margin: 6px 0 0;
}
.mark {
	position: absolute;
	left: 0;
	top: 0;
	display: inline-block;
	width: 1em;
	text-indent: 0;
}
.sfg__pagetitle {
  position: relative;
  z-index: 1;
  padding: 15px 0 0;
  font-size: 21px;
  font-weight: bold;
  line-height: 1.142857142857143;
}
.sfg__pagetitle:before,
.sfg__pagetitle:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
}
.sfg__pagetitle:before {
  z-index: 3;
  width: 79px;
  background: #f9be2c none;
}
.sfg__pagetitle:after {
  z-index: 2;
  width: 100%;
  background: #e4e4e4 none;
}
.sfg__lead {
  margin: 21px 0 0;
	font-size: 15px;
	line-height: 1.7;
}

/* sfg__footer_allergy_nut_check */
.sfg__footer_allergy_nut_check {
  padding: 60px 5.6% 98px;
}
.ly-wrp-main .sfg__footer_allergy_nut_check_btn {
  position: relative;
  display: block;
  padding: 19px 0 17px 30px;
  background: #f1f1f1 none;
  border-radius: 4px;
  box-shadow: 0 2px 0 #e5e5e5;
  font-size: 15px;
	font-weight: bold;
	line-height: 1;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.12em;
}

@media screen and (max-width: 359px) {
  .ly-wrp-main .sfg__footer_allergy_nut_check_btn {
    font-size: 14px;
    line-height: 27px;
    letter-spacing: -0.05em;
  }
}

.sfg__footer_allergy_nut_check_btn:before {
  content: '';
  position: absolute;
  left: 15px;
  top: calc(50% - 9.75px);
  width: 19.5px;
  height: 19.5px;
  background: transparent url(./img/arrow_red.svg) left top no-repeat;
  background-size: contain;
  transform: scale(-1, 1);
}

/* sfg__footer-link-area */
.sfg__footer-link-area {
	padding: 0 24px;
}
.sfg__footer-link-area-list {
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid #e4e4e4;
}
.sfg__footer-link-area-item {
	width: 50%;
	border-bottom: 1px solid #e4e4e4;
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1.583333333333333;
}
.ly-wrp-main .sfg__footer-link-area-link {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	min-height: 44.5px;
	padding: 5px 25px 5px 8px;
	text-decoration: none;
}
.ly-wrp-main .sfg__footer-link-area-item.current .sfg__footer-link-area-link {
	font-weight: bold;
	color: #999;
	pointer-events: none;
}
.ly-wrp-main .sfg__footer-link-area-item:nth-child(2n + 1) .sfg__footer-link-area-link:before {
	content: '';
	position: absolute;
	right: -0.5px;
	top: calc(50% - 21.25px);
	width: 1px;
	height: 42.5px;
	background: #e4e4e4 none;
}
.ly-wrp-main .sfg__footer-link-area-link:after {
	content: '';
	position: absolute;
	right: 9px;
	top: calc(50% - 7px);
	display: block;
	width: 14px;
	height: 14px;
	background: transparent url(./img/arrow_red.svg) left top no-repeat;
	background-size: 14px 14px;
}
.ly-wrp-main .sfg__footer-link-area-item.current .sfg__footer-link-area-link:after,
.ly-wrp-main .sfg__footer-link-area-item.current .sfg__footer-link-area-link:hover:after {
	background-image: url(./img/arrow_black.svg);
	opacity: 0.4;
}

/* btn_totop */
#m_to_top_btn {
  position: fixed;
  width: 100%;
  bottom: 15px;
	z-index: 999;
	pointer-events: none;
}
#m_to_top_btn a {
  float: right;
  margin-right: 21px;
  width: 45px;
  height: 45px;
  background: url(../scale_for_good/img/arrow_to_top.png) no-repeat center;
	background-size: contain;
	pointer-events: all;
}

@media only screen and (min-width: 768px) {
	/* general */
	.ly-wrp-main a {
		transition: opacity 0.3s ease;
	}
	.ly-wrp-main a:hover {
		text-decoration: none;
	}
	.ly-mod-page-submenu a,
	.ly-mod-breadcrumbs a {
		text-decoration: none;
	}

	/* utility */
	.sfg__title_h2 {
		margin: 31px 24px 0;
		padding: 0 0 0 18px;
		font-size: 28px;
	}

	/* Edge */
	@supports (-ms-ime-align: auto) {
		.sfg__title_h2 {
			padding-top: 3px;
			margin-bottom: -3px;
		}	
	}
	/* IE11 */
	_:lang(x)::-ms-backdrop, .sfg__title_h2 {
		padding-top: 7px;
		margin-bottom: -7px;
	}

	.sfg__title_h2 {
		font-size: 28px;
		letter-spacing: 0.1em;
	}
	.sfg__title_h2:before,
	.sfg__title_h2.line2:before {
		top: 50%;	
		width: 6px;
		height: 25px;
		-webkit-transform: translate(0%, -50%);
		transform: translate(0%, -50%);
	}
	_:lang(x)::-ms-backdrop, .sfg__title_h2:before,
	_:lang(x)::-ms-backdrop, .sfg__title_h2.line2:before {
		top: calc(50% - 2px);
	}
	.sfg__subtitle_h2 {
		font-size: 20px;
	}
	.sfg__annotation {
		margin: 5px 0 0;
		font-size: 14px;
		line-height: 1.714285714285714;
	}
	.sfg__annotation li,
	.sfg__annotation li:first-child {
		margin: 0;
	}	
	.sfg__pagetitle {
		margin: 17px 0 0;
		padding: 17px 0 0;
		font-size: 32px;
		line-height: 1.5;
		letter-spacing: 0.05em;
	}
	.sfg__pagetitle:before {
		width: 64px;
	}
	.sfg__lead {
		margin: 31px 0 0;
		font-size: 18px;
		line-height: 2.111111111111111;
	}
	.sfg__header .sfg__annotation {
		margin: 9px 0 0;
	}

	/* sfg__footer_allergy_nut_check */
	.sfg__footer_allergy_nut_check {
		width: 1024px;
		margin: 0 auto;
		padding: 101px 0 104px;
		letter-spacing: 0.12em;
	}
	.ly-wrp-main .sfg__footer_allergy_nut_check_btn {
		width: 430px;
		margin: 0 auto;
		padding: 24px 0 24px 30px;
		font-size: 18px;
		letter-spacing: 0.12em;
		transition: all 0.3s ease;
	}
	_:lang(x)::-ms-backdrop, .ly-wrp-main .sfg__footer_allergy_nut_check_btn {
		padding: 28px 0 20px 30px;
	}
	.ly-wrp-main .sfg__footer_allergy_nut_check_btn:hover {
		background: #c01900 none;
		color: #fff;
		opacity: 1;
	}
	.sfg__footer_allergy_nut_check_btn:before {
		left: 25px;
		top: calc(50% - 10px);
		width: 20px;
		height: 20px;
	}
	.ly-wrp-main .sfg__footer_allergy_nut_check_btn:hover:before {
		background-image: url(./img/arrow_white.svg);
	}

	/* sfg__footer-link-area */
	.sfg__footer-link-area {
		width: 976px;
		margin: 0 auto;
		padding: 0 24px;
	}
	.sfg__footer-link-area-item {
		font-size: 16px;
		font-size: 1.6rem;
		line-height: 1.75;
	}
	.ly-wrp-main .sfg__footer-link-area-link {
		padding: 17px 52px 17px 17px;
		transition: all 0.3s ease;
	}
	.ly-wrp-main .sfg__footer-link-area-link:hover {
		opacity: 1;
		color: #c01900;
	}
	.ly-wrp-main .sfg__footer-link-area-item:nth-child(2n + 1) .sfg__footer-link-area-link {
		padding: 17px 53px 17px 17px;
	}
	.ly-wrp-main .sfg__footer-link-area-item.current .sfg__footer-link-area-link:hover {
		font-weight: bold;
		color: inherit;
		pointer-events: none;
	}
	.ly-wrp-main .sfg__footer-link-area-item:nth-child(2n + 1) .sfg__footer-link-area-link:before {
		right: 0;
		top: calc(50% - 24.5px);
		height: 49px;
	}
	.ly-wrp-main .sfg__footer-link-area-link:after {
		right: 31px;
		top: calc(50% - 10px);
		width: 20px;
		height: 20px;
		background-size: 20px 20px;
		transition: all 0.3s ease;
	}
	.ly-wrp-main .sfg__footer-link-area-link:hover:after {
		background-image: url(./img/arrow_black-yellow.svg);
	}
	.ly-wrp-main .sfg__footer-link-area-item:nth-child(2n + 1) .sfg__footer-link-area-link:after {
		right: 32px;
	}

	/* btn_totop */
  #m_to_top_btn {
    max-width: 2000px;
    bottom: 30px;
		left: 0;
    right: 0;
    margin-left: auto;
		margin-right: auto;
	}
  #m_to_top_btn a {
    width: 60px;
    height: 60px;
    margin-right: 90px;
  }
  #m_to_top_btn a:hover {
    background: url(../scale_for_good/img/arrow_to_top_over.png) no-repeat center;
    background-size: contain;
  }
}
