/* 基本設定 */
html {
  overflow: auto;
  scroll-behavior: smooth;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.03;
  font-family: sans-serif;
  font-weight: normal;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow: hidden;
}

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

li {
  list-style: none;
}

p {
  margin: 0 auto;
  text-align: left;
}

a {
  text-decoration: none;
}

.left {
  float: left;
}

.right {
  float: right;
}

.clearfix:after {
  clear: both;
  content: "";
  display: block;
  height: 0;
}

.br_pc {
  display: none;
}

.br_sp {
  display: block;
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

@media only screen and (min-width: 950px) {

  /* ブラウザ幅に応じて画像を切り替える */
  .pc {
    display: block !important;
  }

  .sp {
    display: none !important;
  }

  .pc_fl {
    float: left;
    width: 45%;
  }

  .pc_fr {
    float: right;
    width: 45%;
  }

  .br_pc {
    display: block;
  }

  .br_sp {
    display: none;
  }
}

/* 共通ヘッダー・フッター */
header {
  height: 60px;
  background-color: #fff;
  position: relative;
  z-index: 5;
}

header .logo_area {
  width: 293px;
  margin: 0 auto;
  padding: 10px 0;
  background-color: #fff:
}

footer {
  background-color: #00003F;
  padding: 20px;
  text-align: center;
}

footer small {
  font-size: 14px;
  color: #fff;
}

main {
  text-align: center;
  min-height: auto;
}

.marker {
  background-color: #FFFF80;
}

/* 入眠セレモニー */
article  {
	opacity: 0;
	-webkit-transform: translateY(20px);
	transform: translateY(20px);
	transition: 1s;
}
article.on  {
	opacity: 1;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
section {overflow: hidden;}

/* ボタン */
@media only screen and (min-width: 950px) {

	.alpha {transition: 0.5s;}
	.alpha:hover {opacity: 0.6;}
}

/* タイトル */
#title {
	padding: 2em 0 0;
	background: url(../img/bg_title.jpg), url(../img/bg_star.png), -webkit-linear-gradient(left, #67b8c4 0%, #67b8c4 50%, #be7bc6 51%,  #be7bc6 100%);
	background: url(../img/bg_title.jpg), url(../img/bg_star.png), linear-gradient(to right, #67b8c4 0%, #67b8c4 50%, #be7bc6 51%,  #be7bc6 100%);
	background-repeat: no-repeat, repeat, no-repeat;
	background-position: 50% 0;
	background-size: cover, auto, cover;
}
#title > div {
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 60%, rgba(255,255,255,1) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,255,255,1) 100%);
}
#title h1 {
	overflow: hidden;
	text-align: center;
}
#title h1 img {margin-left: -1.5em;}

#title p {
	margin-top: 40%;
	padding: 0 1.5em 2em;
	font-weight: bold;
	color: #705393;
	text-shadow: 0 0 5px #fff;
}

@media only screen and (min-width: 768px) {

	#title p {
		max-width: 640px;
		margin-top:20%;
	}
}
@media only screen and (min-width: 950px) {

	#title {
		font-size: 1.4em;
		background-size: 968px, auto, cover;
	}
	#title p {
		max-width: 720px;
		margin-top: 300px;
	}
}

/* チェック */
#check {background: url(../img/bg_check.png);}

/* コラム */
#column {
	padding: 60% 0 2em;
	background: #f2f2f2 url(../img/bg_column.jpg) no-repeat 50% 0;
	background-size: 110%;
}
#column p {
	padding: 1em 2em;
	font-weight: bold;
	color: #705393;
}
#column p:first-of-type {padding-bottom: 0;}
#column figure {padding: 0 2em;}

@media only screen and (min-width: 768px) {

	#column {
		padding-top: 50%;
		background-size: 90%;
	}
	#column p {max-width: 640px;}

}
@media only screen and (min-width: 950px) {

	#column {
		padding-top: 500px;
		background-size: 900px auto;
	}
}

/* セレモニー */
#ceremony {
	padding-bottom: 2em;
	background:  url(../img/bg_ceremony_2.png) no-repeat 50% 0, url(../img/bg_ceremony.png);
	background-size: 150%, auto;
}
#ceremony div {
	display: none;
	margin: 0 1.5em 2em;
	padding: 1em;
	border-radius: 10px;
	background: #fff;
}
#ceremony div > * {
	opacity: 0;
	transition: 0.5s 0s;
}
#ceremony div > *.on {
	opacity: 1;
	transition: 0.5s 0.5s;
}

#ceremony h3 {
	position: relative;
	margin: 0 0.5em;
}

#ceremony h3 a {
	position: absolute;
	width: 55%;
	max-width: 286px;
	bottom: 5%;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	cursor: pointer;
	background: #fff;
	border: solid 1px #fff;
}
#ceremony p {
	font-weight: bold;
	color: #705393;
}

@media only screen and (min-width: 768px) {

	#ceremony div {
		max-width: 640px;
		margin: 0 auto 2em;
	}
}

/* お休み前に「薬用養命酒」 */
#recommended {
	margin-bottom: 1em;
	padding-bottom: 1em;
	background: #7a6554 url(../img/bg_recommended.png) no-repeat 50% 0;
	background-size: 120%;
}
#recommended div {
	margin: 1em;
	padding: 1.5em 2em 2.5em;
	background: #fff;
}
#recommended figure {
	margin: 1em 0;
}
#recommended p:first-of-type {	font-weight: bold;}
#recommended p:nth-of-type(2) {
	margin-bottom: 2em;
	font-size: 0.9em;
}
#recommended p span {
	display: inline-block;
	margin-bottom: 10px;
	padding: 2px 10px;
	border: solid 1px #999;
}

@media only screen and (min-width: 768px) {

	#recommended div {
		max-width: 640px;
		margin: 1em auto;
	}
}
@media only screen and (min-width: 950px) {

	#recommended {
		background-size: 900px;
	}
}

#buy a {
  display: block;
  width: 80%;
  max-width: 430px;
  margin: 0 auto;
  transition: 0.3s;
  z-index: 10;
}

#buy.fixed a {
  display: block;
  position: fixed;
  bottom: 0;
  left: calc(50% - 213px);
}

#buy a:hover {
  opacity: 0.7;
}

@media only screen and (max-width: 450px) {
  #buy.fixed a {
    left: 10%;
  }
}


/* バナー */
#bnr {margin-bottom: 2em;}



#banner_area {
  background-color: #FAF9F7;
  width: 100%;
  bottom: 0%;
  z-index: 99;
  padding: 30px 0;
  color: #6A1900;
}

#banner_area a {
  display: block;
  width: 90%;
  max-width: 400px;
  margin: 0 auto;
  transition: 0.5s;
}

#banner_area a img {}

#banner_area a:hover {
  opacity: 0.6;
  transition: 0.5s;
}

@media only screen and (max-width: 400px) {
  #banner_area a img {}
}

#questionnaire_area {
  background-color: #FFF;
  height: auto;
  padding: 20px 0;
  text-align: center;
  margin-bottom: 0;
}

#questionnaire_area .questionnaire_btn {
  display: block;
  width: 90%;
  max-width: 400px;
  background-color: #FF5900;
  border-radius: 5px;
  margin: 0 auto;
  padding: 10px;
  line-height: 1;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

#questionnaire_area .questionnaire_btn img {
  max-width: 280px;
}

#questionnaire_area .questionnaire_btn:hover {
  background-color: #FF3D00;
  border-radius: 0px;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

#questionnaire_area .sns_area {
  width: 90%;
  max-width: 320px;
  margin: 20px auto 0;
}

#questionnaire_area .sns_area div {
  display: inline-block;
  font-weight: bold;
  line-height: 1.4em;
  margin-right: 5px;
  position: relative;
  top: -6px;
}

#questionnaire_area .sns_area ul {
  display: inline-block;
}

#questionnaire_area .sns_area ul li {
  display: inline-block;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 5px;
  margin: 0px 3px 0 0;
}

#questionnaire_area .sns_area ul li:first-child {
  background-color: #0075FB;
}

#questionnaire_area .sns_area ul li:nth-child(2) {
  background-color: #00AAEC;
}

#questionnaire_area .sns_area ul li:nth-child(3) {
  background-color: #00B900;
}

#questionnaire_area .sns_area ul li a {
  display: block;
  width: 100%;
  height: 100%;
  transition: 0.1s;
}

#questionnaire_area .sns_area ul li a img {
  width: 60%;
  height: 60%;
  margin: 20% auto;
  transition: 0.1s;
}

#questionnaire_area .sns_area ul li a:hover img {
  width: 55%;
  height: 55%;
  margin: 23% auto;
  opacity: 0.5;
  transition: 0.3s;
}

@media only screen and (min-width: 950px) {
  #questionnaire_area .clearfix {
    width: 750px;
    margin: 0 auto;
  }

  #questionnaire_area a {
    float: left;
  }

  #questionnaire_area .sns_area {
    
    
  }

  #questionnaire_area.no_qu .sns_area {
    float: none;
    margin: 0 auto -10px;
  }
}



.fadeInDown {
  -webkit-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -ms-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
