@charset "utf-8";

/*---------------------------------
CSS information
file name  :  symptom.css
style info :  症状についてのページ用スタイル
admin info :  ファースト整骨院
---------------------------------*/

/*------------header---------------------------------*/

/*------------eyecatch---------------------------------*/

section.eyecatch {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

section.eyecatch img {
  margin-bottom: 0;
}

/*------------testimony---------------------------------*/

div#testimony {
  padding-top: 20px;
  padding-bottom: 20px;
  box-sizing: border-box;
  text-align: center;
}

div#testimony div {
  width: 90%;
  max-width: 960px;
  margin: 80px auto;
}

#testimony h2 {
  height: 30px;
  margin-bottom: 50px;
  padding: 20px 5px;
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

#testimony h3 {
  height: 100%;
  margin-top: -60px;
  padding: 0;
  font-size: 2rem;
  font-weight: bold;
  color: #333333;
  background: linear-gradient(rgba(0, 0, 0, 0) 90%, #ffe800 0%);
  display: inline;
}

#testimony img {
  width: 100%;
  margin-top: 50px;
}

#testimony .doc_name {
  text-align: right;
  margin: 30px 0;
}

#testimony blockquote {
  position: relative;
  padding: 35px 15px 10px 15px;
  box-sizing: border-box;
  font-style: italic;
  background: #f5f5f5;
  color: #333333;
  border-left: 4px solid #ffe800;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.14);
  z-index: -100;
  text-align: left;
}

#testimony blockquote:before {
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 3px;
  vertical-align: middle;
  content: " “　";
  font-family: "sans-serif";
  color: #ffe800;
  font-size: 90px;
  line-height: 1;
}

#testimony blockquote p {
  padding: 0;
  margin: 7px 0;
  line-height: 1.7;
}

#testimony blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}

/*------------checklist---------------------------------*/

div#checklist {
  width: 90%;
  max-width: 960px;
  margin: 20px auto;
}

div#checklist h2 {
  margin-bottom: 40px;
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

div#checklist ul {
  background: #fffce4;
  box-shadow: 0px 0px 0px 10px #fffce4; /*線の外側*/
  border: dashed 2px #ffe800; /*破線*/
  border-radius: 9px;
  margin-left: 10px; /*はみ出ないように調整*/
  margin-right: 10px; /*はみ出ないように調整*/
  padding: 0.5em 0.5em 0.5em 2em;
}

div#checklist ul li {
  line-height: 1.5;
  padding: 0.5em 0 0.5em 0;
}

div#checklist ul li:before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 0.5em;
  background-image: url(../images/icon_check.png);
  vertical-align: middle;
  background-position: 0 0;
  background-size: contain;
  /*background-size: 10.416667em auto;*/
}

div#checklist ul li {
  border-bottom: solid 1px #f3abac;
  margin-right: 20px;
}
div#checklist ul li:last-child {
  border-bottom: none;
}

div#checklist .other_symptom {
  position: relative;
  border-top: solid 2px #ffe800;
  border-bottom: solid 2px #ffe800;
  background: #f4f4f4;
  line-height: 1.4;
  padding: 0.4em 0.5em;
  margin: 100px auto;
  width: 100%;
  box-sizing: border-box;
}

div#checklist .other_symptom:after {
  /*タブ*/
  position: absolute;
  content: "こんな症状に>>";
  background: #ffe800;
  color: #333333;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 10px;
  font-size: 1em;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.05em;
}

div#checklist .other_symptom p {
  margin: 0;
  padding: 20px;
}

ul.checklist_gray li {
  width: 95%;
  border-bottom: #bbbbbb solid 1px;
  margin: 20px;
  padding-bottom: 10px;
  box-sizing: border-box;
  text-align: left;
}

ul.checklist_gray li:before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 0.5em;
  background-image: url(../images/icon_check_gray.png);
  vertical-align: middle;
  background-position: 0 0;
  background-size: contain;
}

/*------------section#symptom_detail---------------------------------*/

section#symptom_detail {
  width: 100%;
  padding: 20px;
  background-color: #f3f3f3;
  box-sizing: border-box;
  text-align: center;
}

section#symptom_detail h2 {
  margin-bottom: -40px;
}

section#symptom_detail img {
  margin: 40px auto;
}

#symptom_detail p {
  line-height: 3em;
  text-align: left;
}
section#symptom_detail h4 {
  display: block;
  width: auto;
  text-align: left;

  padding: 1em; /*文字周りの余白*/
  margin: 20px 0;
  /*display: inline-block;おまじない*/
  line-height: 1.5; /*行高*/
  /*background: #ffe800;*/
  /*color: #333333;*/
  background: #555555; /*背景色*/
  color: #ffffff; /*文字色*/
  font-weight: bold;
  font-size: 1.2rem;
  vertical-align: middle; /*上下中央*/
  border-radius: 30px 30px 30px 30px; /*左側の角を丸く*/
}

#symptom_detail span {
  background: linear-gradient(transparent 10%, #fdf4b1 0%);
  font-weight: bold;
}

#symptom_detail .instagram_banner {
  width: 100%;
  margin: 40px auto auto auto;
}

section#symptom_detail .square_btn {
  width: 100%;
  display: inline-block;
  padding: 1.2em 1em;
  text-decoration: none;
  text-align: center;
  color: #67c5ff;
  font-size: 1.2rem;
  border: solid 2px #979797;
  border-radius: 60px;
  transition: 0.6s;
  box-sizing: border-box;
  margin: 20px auto;
}

section#symptom_detail .square_btn:hover {
  background: #ffe800;
  color: white;
}

/*------------symptom---------------------------------*/
div#symptom {
  width: 90%;
  max-width: 960px;
  margin: 80px auto;
}

div#symptom h2 {
  margin-bottom: 40px;
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

.symptom_block {
  margin-bottom: 30px;
  box-sizing: border-box;
  border: solid 1px #e3e3e3;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 2px;
}

.symptom_block dl dd {
  padding: 10px 10px 0;
  box-sizing: border-box;
}

.symptom_block dl dd h4 {
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.symptom_block dl dd p {
  font-size: 1rem;
  text-align: justify;
}

.symptom_image img {
  width: 100%;
}

div#symptom .symptom_block .sub_head {
  height: 30px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  line-height: 30px;
}

#other_symptom {
  width: 100%;
  text-align: center;
}

#other_symptom h3 {
  margin: 0 auto 20px auto;
  padding: 20px;
  background-color: #c3c3c3;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}
#other_symptom .wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0;
  list-style: none;
}
#other_symptom .box1 {
  width: calc(100% / 3);
  margin: 2px;
  background-color: #ffe800;
  transition: 0.6s;
}
#other_symptom .box2 {
  width: calc(100% / 4);
  margin: 2px;
  background-color: #ffe800;
  transition: 0.6s;
}
#other_symptom .box1:hover,
.box2:hover {
  opacity: 0.6;
}
#other_symptom p {
  text-align: center;
  color: #333333;
  font-weight: bold;
  margin: 35px auto;
  display: block;
  width: 100%;
  height: 100%;
}
/*.other_nayami  p:after {
	content:"　＞＞";
}*/

/*------------treatment_menu---------------------------*/

#treatment_menu {
  width: 90%;
  max-width: 960px;
  margin: 0 auto 60px auto;
  padding-top: 80px;
  padding-bottom: 20px;
  background-color: #f3f3f3;
  box-sizing: border-box;
}

#treatment_menu h2 {
  height: 30px;
  margin-bottom: 30px;
  padding: 20px 5px;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

div#youtube {
  width: 90%;
  max-width: 960px;
  margin: 80px auto;
}

div#youtube h2 {
  margin-bottom: 40px;
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

.youtube_video {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin-bottom: 50px;
}

.youtube_video iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#treatment_menu ul li {
  width: 90%;
  height: auto;
  margin: 0 auto 20px;
  padding: 20px 15px;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 10px;
  /*border:solid 1px #000;*/
  /*list-style: square url('../images/logo_black_mini.png') inside;*/
}

#treatment_menu ul li dl dt h4 {
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
}

#treatment_menu ul li dl dt img {
  margin: 20px auto;
  text-align: center;
  width: 100%;
}

#treatment_menu ul li dl {
  margin-bottom: 20px;
}

#treatment_menu ul li .button {
  width: 60%;
  margin: 0 auto;
  padding: 5px;
  background-color: #ffe800;
  color: #000;
  text-align: center;
  border-radius: 50px;
}

#treatment_menu ul li .button a {
  color: #000;
  font-weight: 500;
}

#treatment_menu ul li .button:hover {
  background-color: #ffb800;
}

#treatment_menu ul li .button a:hover {
  color: #000;
}

/*------------access---------------------------------*/

#access {
  padding-top: 80px;
  padding-bottom: 20px;
  background-color: #f3f3f3;
  box-sizing: border-box;
  text-align: center;
}

#access h2 {
  height: 30px;
  margin-bottom: 20px;
  padding: 20px 5px;
  color: #000;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

#access h3 {
  height: 100%;
  margin-top: 0;
  margin-bottom: 30px;
  padding: 0;
  color: #ffe800;
  font-size: 2rem;
  font-weight: bold;
  color: #333333;
  background: linear-gradient(rgba(0, 0, 0, 0) 90%, #ffe800 0%);
  display: inline;
}

.accessbox {
  width: 90%;
  max-width: 960px;
  margin: 80px auto;
  text-align: left;
}

.access_type ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.access_type li {
  display: block;
  padding: 20px;
  border-bottom: dotted 1px #dddddd;
  color: #000000;
  font-size: 1rem;
  line-height: 1.5rem;
}

.access_type .text {
  float: none;
  width: auto;
  margin-left: 60px;
  padding-left: 15px;
  color: #666666;
}

.access_type img {
  float: left;
  width: 60px;
}

.access_type span {
  display: block;
  font-weight: bold;
}

/*------------------------------------------------------
タブレット向けのスタイル:
------------------------------------------------------*/

@media screen and (min-width: 640px) {
  /*------------access---------------------------------*/
  div#access h2 {
    margin-bottom: 40px;
    font-size: 24px;
  }
}

/*------------------------------------------------------
						PC
------------------------------------------------------*/
@media screen and (min-width: 768px) {
}

/*------------------------------------------------------
						PC
------------------------------------------------------*/
@media screen and (min-width: 960px) {
  #treatment_menu ul li {
    max-width: 650px;
    height: auto;
  }

  #treatment_menu ul li .button {
    width: 35%;
  }
}

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