/* ================================
  message
================================ */

#pgHeadline {
  min-height: 3em;
  font-size: 48px;
}
.heading {
  position: relative;
  font-size: min(7vw, 2.4rem);
}
/*.heading::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f5ac";
}*/


/* 目指すもの
-------------------------------- */
#vision {
  background: url("../img/message/vision_main.jpg") no-repeat center 0,linear-gradient(to bottom, #fbf5eb 0%, #fbf5eb 60%, #fff 100%);
  background-size: 150% auto;
  margin-bottom: 6rem;
}

#vision .heading {
  padding-top: 2rem;
}

#vision .visionImg .imgBox {
  mix-blend-mode: multiply;
}

#vision h3 {
  position: relative;
  margin: 0 0 1rem;
  padding: 0;
  white-space: nowrap;
  font-size: min(6vw,28px);
  color: #b12444;
}

#vision h4 {
  color: #476a3d;
  font-size: 1.3rem;
  padding: 0.5em 0 0;
  text-align: left;
}

#vision p {
  text-align: left;
}

#vision .notesBox {
  background-color: rgba(71,106,61,0.1);
  border-radius: 100vh; 
  color: #476a3d;
  border: none;
  padding: 10px 1.5em;
}

#vision01 .visionImg {
  max-width: 200px;
  text-align: center;
  margin: 0 auto;
  padding-top: 1.5rem;
}

#vision02 .visionImg {
  width: 95%;
}

#vision02 .visionImg img {
  border-radius: 0 50vh 32px 0;
}
#vision02 .visionTxt {
  padding: 1.5rem 5%;
}

@media screen and (min-width: 768px), print {
  #vision {
    background-size: auto;
  }

  #vision .heading {
    padding-top: 6rem;
  }

  #vision01.secBox {
    display: flex;
    align-items: center;
    max-width: 1080px;
  }

  #vision01.secBox .visionTxt {
    flex: 1;
    margin-left: auto;
  }

  #vision h4 {
    font-size: 1.5rem;
  }

  #vision01 .visionImg {
    width: 50%;
    max-width: 300px;
  }

  #vision02 .visionImg {
    width: 50%;
    max-width: 960px;
  }

  #vision02.secBox .visionTxt {
    max-width: 960px;
    margin-left: auto;
  }
}

@media screen and (min-width: 1080px) {
  #vision02.secBox {
    display: flex;
    align-items: center;
  }
  #vision02 .visionImg img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
  #vision02.secBox .visionTxt {
    flex: 1;
  }
}

/* 名称由来
-------------------------------- */
#origin {
  color: #476a3d;
  position: relative;
  height: auto;
  padding: 6rem 0 0;
}
#origin .bgBox {
  background: linear-gradient(#ddecd9, #fff);
  height: 270px;
}
#origin .sideSp {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 100%;
}
#origin .imgBox {
  width: 50%;
  max-width: 218px;
  margin: 0 auto;
  padding: 20px 0;
}

#origin .txtBox {
  text-align: center;
}
#origin .txtBox h2 {
  padding: 0;
}
#origin .txtBox p {
  display: inline-block;
  text-align: left;
}

@media screen and (max-width: 767px) {
  #origin .txtBox p br {
    display: none;
  }
}

/* 開業のきっかけ
-------------------------------- */
#start {
  position: relative;
  padding-top: 6rem;
}
#start::before {
  position: absolute;
  top: 6%;
  right: -15%;
  content: "";
  border: 1px solid #ddecd9;
  border-radius: 32px;
  width: 80%;
  height: 40%;
}

#start .readBox {
  position: relative;
  z-index: 5;
}

#start > ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 960px;
}
#start > ul > li {
  position: relative;
  margin: 4rem 0 0;
  padding: 0;
  z-index: 5;
}
#start > ul > li::before {
  position: absolute;
  top: 5%;
  left: 5%;
  background: rgba(221,236,217,0.3);
  content: "";
  width: 90%;
  height: 85%;
  z-index: -1;
}

#start h3 {
  background: linear-gradient(135deg, rgba(251,245,235,0.9), rgba(221,236,217,0.9));
  width: 90%;
  max-width: 700px;
  padding: 1rem;
  color: #476a3d;
}
#start li .txt {
  border-top: 1px solid #c0a76e;
  border-left: 1px solid #c0a76e;
  margin: -0.5rem 0 0 10%;
  padding: 3% 0 0 5%;
}

#start .imgBox {
  margin-top: 30px;
}

#start .imgBox img {
  width: 60%;
  border-radius: 6px;
}

#start01 .imgBox {
  position: relative;
}
#start01 .imgBox:before {
  content: "";
  display: block;
  padding-top: 60%;
}

#start01 .imgBox img:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
}
#start01 .imgBox img:nth-child(2) {
  position: absolute;
  top: 30%;
  right: 0;
  box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

#start02 .imgBox {
  text-align: right;
}
#start02 .imgBox img {
  margin-left: auto;
}

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

  #start01 .imgBox:before {
    padding-top: 380px;
  }
  #start01 .imgBox img {
    width: 400px;
  }
  #start01 .imgBox img:nth-child(1) {
    left: auto;
  }
  #start01 .imgBox img:nth-child(2) {
    top: 100px;
    left: 380px;
  }
  #start02 .imgBox img {
    width: 300px;
  }

  #start h3 {
    font-size: 1.5rem;
  }
}


/* 紹介
-------------------------------- */
#prof {
  position: relative;
}
#prof::before {
  position: absolute;
  top: 2%;
  left: -15%;
  content: "";
  border: 1px solid #ddecd9;
  border-radius: 32px;
  width: 64%;
  height: 9%;
}

.profBox {
  position: relative;
}
.profBox > .fEng {
  position: absolute;
  top: 5%;
  right: 10%;
  font-size: 20vw;
  color: #ebebeb;
  
  /* グラデアニメ */
  display: inline-block;
  background: linear-gradient(135deg, #ebebeb 16%, #fbf5eB 57%, #ddecd9 90%);
  background: -webkit-linear-gradient(135deg, #ebebeb 16%, #fbf5eB 57%, #ddecd9 90%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientEffect 5s infinite alternate;
}
@keyframes gradientEffect {
  from {background-position: left}
  to {background-position: right}
}


#calmy.profBox > .fEng {
  top: 8%;
  right: 0;
  font-size: 18.5vw;
  text-align: right;
}

.profBox > .fEng .txt {
  display: block;
  margin-top: -0.5em;
}

#prof .basicBox {
  margin: 0 auto 2rem;
  max-width: 960px;
}

#prof .nameBox {
  position: relative;
  z-index: 5px;
}
#prof .nameBox h3 {
  color: #476a3d;
}
main #prof .nameBox p {
  margin: 0;
  padding: 5px 0 0;
  font-size: min(6vw,28px);
}
#prof .nameBox .cap {
  display: inline-block;
  font-size: 11px;
  margin: 0 0 0 10px;
  letter-spacing: 0.1em;
}
#prof .nameBox p.fS {
  font-size: 12px;
  color: #b12444;
  margin: -10px 0 0;
}
.profBox table {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 20px 0;
  font-size: 14px;
}
.profBox table th {
  padding: 1em 1rem 1em 0;
  width: 34%;
  color: #476a3d;
  text-align: left;
  vertical-align: top;
}
.profBox table td {
  width: 66%;
  border-left: 1px solid #476a3d;
  padding: 1em 0 1em 1.2em;
}
.profBox table td p {
  padding: 5px 0 0;
}
.profBox table td p:first-child {
  padding: 0;
}

.profBox table td dl {
  margin: 0;
}
.profBox table td dt {
  color: #476a3d;
}
.profBox table td dt:nth-of-type(n+2) {
  padding: 10px 0 0;
}
.profBox table td ul {
  padding-top: 0;
}
.profBox table td li:last-child {
  margin-bottom: 0;
}

#takahara.profBox > .fEng {
right: 0;
text-align: left;
top: 5.3%;
}

#takahara.profBox > .fEng .txt {
    font-size: 11.5vw;
}

#takaharasayako.profBox > .fEng {
  right: 0;
  text-align: left;
  top: 5.3%;
}
#takaharasayako.profBox > .fEng .txt {
  font-size: 10vw;
}

.cmntBox{
  margin: 0 auto 2em;
  position: relative;
  z-index: 10;
} 

.cmntBox p:first-child{
  padding-top:0;
}


@media screen and (max-width: 767px) {
  #prof .basicBox .profImg {
    width: 40%;
  }
}

@media screen and (min-width: 768px), print {
  #prof .basicBox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
  }
  
  #prof .basicBox .profImg {
   margin: 0 5% 0 0;
  }

  #calmy.profBox > .fEng {
    top: 20%;
    transform: translateY(-50%);
    font-size: 17vw;
  }

  .profBox table th {
    text-align: right;
  }
  
#takahara.profBox > .fEng {
  top:5%;
}  
  
.profBox > .cmntBox{
max-width: 1285px;
margin-left: 26.5%;

}  
  
}


/* 学術資料 */
#mate {
  background: url("../img/message/prof_bg_ken.png") no-repeat 0 0 #313131;
  background-size: 100% auto;
  border-radius: 0 32px 0 32px;
  margin: 0 0 2rem;
  padding: 40% 0 5% 5%;
}

#mate .dataBox,
#mate2 .dataBox{
  background-color: rgba(0,0,0,0.5);
  border-radius: 6px 0 0 6px;
  color: #fff;
  margin: 0 -15% 10px auto;
  padding: 1.5rem 16% 1.5rem 1.5rem;
}
#mate .dataBox h4,
#mate2 .dataBox h4 {
  padding: 1rem 0 0;
  font-size: 1rem;
}
#mate .dataBox h4:first-child {
  padding: 0;
}
#mate .notesBnr,
#mate2 .notesBnr {
  border-radius: 6px 0 0 32px;
}

#mate2 {
  background: url("../img/message/prof_bg_takahara.png") no-repeat 0 0 #313131;
    background-size: auto;
  background-size: 100% auto;
  border-radius: 0 32px 0 32px;
  margin: 0 0 2rem;
  padding: 40% 0 5% 5%;
}

@media screen and (min-width: 768px), print {
  #mate,
  #mate2 {
    background-size: auto;
    margin: 0 0 2rem auto;
    padding: 5% 0 5% 45%;
  }
  #mate .notesBnr,
  #mate2 .notesBnr{
    border-radius: 6px 0 0 6px;
  }
}

@media screen and (min-width: 1200px) {
  #mate,
  #mate2{
    background-size: auto;
    margin: 0 0 2rem auto;
    padding: 5% 0 5% 24%;
    max-width: 1285px;
  }
}

/* Calmy */
#calmy {
  position: relative;
}
#calmy::before {
  position: absolute;
  top: 10%;
  content: "";
  background: linear-gradient(135deg, #fbf5eb 0%, rgba(177,36,68,0.1) 50%, rgba(177,36,68,0.1) 100%);
  border-radius: 0 32px 32px 0;
  width: 38%;
  height: 240px;
  margin-left: -6%;
}

/* B-balancy */
#yogaLink {
  padding: 55px 0 0;
}
#yogaLink .box {
  margin: 0;
  padding: 0;
  position: relative;
}
#yogaLink .dataBox {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  background: url("../img/common/bg_gold.png") no-repeat right 0 rgba(255,255,255,0.8);
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
  width: 80%;
  max-width: 320px;
  text-align: center;
}
#yogaLink .dataBox a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  color: #b12444;
  width: 100%;
  height: 100%;
  padding: 2% 5%;
}
#yogaLink .txtUrl {
  display: block;
  font-size: 12px;
}
#yogaLink .bgImg img {
  border-radius: 32px 0 32px 0;
}

@media screen and (min-width: 768px), print {
  #yogaLink .dataBox:hover {
    background: #fff;
  }
}

@media screen and (min-width: 1200px) {
  #yogaLink {
    background-size: auto;
    margin: 0 auto;
    padding: 5% 0 0;
    max-width: 960px;
  }
}

/* SNS */
p.linkBox {
  margin-top: 0.25rem;
}
p.linkBox a {
  display: inline-block;
  margin-right: 20px;
  text-decoration: none;
  font-size: 14px;
}
p.linkBox a.btnArw {
  position: relative;
  padding-left: 14px;
}
p.linkBox a.btnArw::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 1px solid #476a3d;
  border-right: 1px solid #476a3d;
  position: absolute;
  left: 0;
  top: 36%;
  transform: rotate(45deg);
}
 p.linkBox a i {
  display: inline-block;
  margin-right: 5px;
}
p.linkBox a:hover {
  color: #b12444;
}
p.linkBox a.btnArw:hover::after {
  border-color: #b12444;
}