/* CSS Document */
.panInner {
  background-color: #fff;
}

.pan a {
  color: #1ca97d;
}

.titlebg {
  height: 170px;
  min-width: 1000px;
  font-weight: bold;
  font-size: 2rem;
    color: #1ca97d;
  background: url("../img/yui/head-yui.jpg") no-repeat right top;
  border-top: 2px solid #e4730a;
  border-bottom: 2px solid #e4730a;
}

.titlebg .pageTitle {
  font-weight: 700;
  text-shadow: 2px 2px 2px #fff, -2px 2px 2px #fff, 2px -2px 2px #fff, -2px -2px 2px #fff;
}

#pageNav {
  width: 100%;
  border-bottom: 3px solid #e4730a;
  padding-top: 50px;
}

#pageNav ul {
  margin: 0 auto -3px;
  width: 1000px;
}

#pageNav li {
  display: inline-block;
  float: left;
}

@media screen and (max-width: 768px) {
  .pageTitle {
    width: 100%;
    max-width: 720px;
  }

  .titlebg {
    height: 170px;
    min-width: 320px;
    width: 100%;
    box-sizing: border-box;
    font-weight: bold;
    /* color: #FFF; */
    background: url("../img/yui/head-yui.jpg") no-repeat right top;
    border-top: none;
    border-bottom: 2px solid #e4730a;
  }

  .titlebg .pageTitle {
    padding: 0 5%;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
  }

  .titlebg .pageTitle img {
    width: 100%;
    height: auto;
    max-width: 300px;
    margin: 0 auto;
  }

  #pageNavSp {
    width: 100%;
    border-bottom: 3px solid #e4730a;
    padding: 50px 2% 0;
    box-sizing: border-box;
  }

  #pageNavSp ul li {
    width: 48%;
    border: 1px solid #F06433;
    border-radius: 90px;
    padding: 0 10px 0 25px;
    box-sizing: border-box;
    margin-bottom: 20px;
  }

  #pageNavSp ul li:nth-child(odd) {
    float: left;
  }

  #pageNavSp ul li:nth-child(even) {
    float: right;
  }

  #pageNavSp ul li a {
    display: block;
    background: url("../img/yui/icon-try.png") no-repeat right center;
    padding: 5px 0;
    text-decoration: none;
    line-height: 50px;
  }

  #pageNavSp ul li:first-child a {
    line-height: 25px;
  }

  #pageNavSp ul li:nth-child(2) a {
    line-height: 25px;
  }
}

#contents h2 {
  width: 1000px;
  border-bottom: 3px solid #e4730a;
  color: #3e3a39;
  font-size: 34px;
  font-weight: bold;
  text-align: center;
}

#about,
#access,
#works,
#staff {
  background-color: #FFFEFC;
}

#aboutBottom,
#flow,
#faq,
#blog {
  background-color: #fff;
}

#contents .inner {
  width: 1000px;
  margin: 0 auto;
  color: #3e3a39;
}

#contents .inner a {
  color: #2e98d1;
}

@media screen and (max-width: 768px) {
  #contents h2 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 34px 20px 0 20px;
    color: #3e3a39;
    background: none;
    position: relative;
    width: 100%;
    height: 80px;
    margin: 0 0 30px;
    box-sizing: border-box;
    border-bottom: 3px solid #e4730a;
  }

  #contents .inner {
    width: 90%;
    margin: 0 5%;
    margin: 0 auto;
    color: #3e3a39;
  }

  #contents .inner a {
    color: #2e98d1;
  }
}

@media screen and (max-width: 320px) {
  #contents h2 {
    font-size: 16px;
  }
}

#aboutTop {
  padding: 115px 0 75px;
}

#about h2 {
  margin-bottom: 55px;
}

#about h3 {
  color: #e4730a;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}

#aboutTop .lBox {
  width: 600px;
  float: left;
  padding-top: 40px;
}

#aboutTop .rBox {
  width: 368px;
  float: right;
}

#aboutTop .rBox img {
  border-radius: 50%;
}

#about p.strong {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

#about .line {
  border-bottom: 1px dotted #cdcece;
  padding-bottom: 40px;
}

#about .mvBox {
  margin-top: 55px;
}

#about .mvBox .mv {
  margin: 50px auto 0;
  width: 640px;
}

@media screen and (max-width: 768px) {
  #aboutTop {
    padding: 50px 0 50px;
  }

  #about h2 {
    margin-bottom: 30px;
  }

  #about h3 {
    color: #e4730a;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
  }

  #aboutTop .lBox {
    width: 100%;
    float: none;
    padding-top: 40px;
  }

  #aboutTop .rBox {
    width: 100%;
    float: none;
    margin-top: 1.5rem;
    text-align: center;
  }

  #about .mvBox .mv {
    margin: 50px auto 0;
    width: 100%;
  }
}

#aboutBottom {
  padding: 60px 0 110px;
}

#aboutBottom .lBox {
  width: 456px;
  float: left;
}

#aboutBottom .rBox {
  width: 515px;
  float: right;
  padding-top: 40px;
}

#aboutBottom .targetBox {
  padding: 60px 0 100px;
}

#aboutBottom .targetBox .target {
  margin: 65px 0 0 200px;
}

#aboutBottom .targetBox .target li {
  font-weight: bold;
}

#aboutBottom .targetBox .targetList li {
  padding-left: 1em;
  text-indent: -1.3em;
  padding-top: 5px;
  font-weight: bold;
}

#aboutBottom .targetBox .targetList li span {
  color: #e4730a;
}

#aboutBottom .targetBox p {
  font-size: 14px;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  #aboutBottom {
    padding: 50px 0 50px;
  }

  #aboutBottom .lBox {
    width: 100%;
    float: none;
  }

  #aboutBottom .rBox {
    width: 100%;
    float: none;
    padding-top: 40px;
  }
}

#access {
  padding: 75px 0 70px;
}

#access h2 {
  width: 1000px;
  margin: 0 auto 50px;
}

@media screen and (max-width: 768px) {
  #access h2 {
    width: 90%;
    margin: 0 5% 30px;
  }
}

#flow {
  padding: 110px 0 100px;
}

#flow h2 {
  margin-bottom: 80px;
}

#flow h3 {
  color: #e4730a;
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 10px;
}

#flow ol li p {
  margin-left: 40px;
}

#flow ol li .telBanner {
  margin: 30px 0 0 40px;
}

#flow #flowList li {
  padding-bottom: 30px;
  margin-top: 30px;
  border-bottom: 1px dotted #cdcece;
}

#flow #flowList {
  margin-bottom: 50px;
}

@media screen and (max-width: 768px) {
  #flow {
    padding: 50px 0 50px;
  }

  #flow h2 {
    margin-bottom: 30px;
  }

  #flow h3 {
    color: #e4730a;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
  }

  #flow ol li p {
    margin-left: 40px;
  }

  #flow ol li .telBanner {
    margin: 30px 0 0 40px;
  }

  #flow #flowList li {
    padding-bottom: 30px;
    margin-top: 30px;
    border-bottom: 1px dotted #cdcece;
  }

  #flow #flowList {
    margin-bottom: 50px;
  }
}

#works {
  padding: 75px 0 85px;
}

#works h2 {
  margin-bottom: 80px;
}

#works .lBox {
  width: 480px;
  float: left;
  margin-bottom: 30px;
}

#works .rBox {
  width: 480px;
  float: right;
  margin-bottom: 30px;
}

#works #worksBox {
  margin-bottom: 75px;
}

/* 2023.09 */

#works .works-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 75px;
}

#works .works-wrap .box {
  flex-basis: 31.5%;
}

#works .works-wrap .box a {
  display: block;
  text-decoration: none;
}

#works .works-wrap .box a h3 {
  background: #e4730a;
  color: #fff;
  padding: .75rem 1rem;
  position: relative;
}

#works .works-wrap .box a h3::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
  #works {
    padding: 50px 0 50px;
  }

  #works h2 {
    margin-bottom: 30px;
  }

  #works .lBox {
    width: 100%;
    float: none;
    margin-bottom: 30px;
    text-align: center;
  }

  #works .rBox {
    width: 100%;
    float: none;
    margin-bottom: 30px;
    text-align: center;
  }

  #works #worksBox {
    margin-bottom: 50px;
  }

  #works .works-wrap {
    display: block;
  }

  #works .works-wrap .box  {
    flex-basis: auto;
  }

  #works .works-wrap .box + .box {
    margin-top: 1.5rem;
  }

}

#faq {
  padding: 110px 0 75px;
}

#faq h2 {
  margin-bottom: 50px;
}

#faq .faqBox {
  margin-bottom: 50px;
}

#faq dl {
  padding: 16px 0 0 6px;
  width: 1000px;
  box-sizing: border-box;
  border-bottom: 1px dotted #cdcece;
}

#faq dt {
  background: url("../img/yui/q.png") no-repeat left 8px;
  margin-top: 15px;
  padding: 10px 15px 15px 54px;
  font-size: 24px;
  line-height: 35px;
  font-weight: bold;
  overflow: hidden;
  zoom: 1;
  box-sizing: border-box;
}

#contents .inner dt a {
  display: block;
  background: url("../img/yui/close.png") no-repeat right bottom;
  color: #3e3a39;
  text-decoration: none;
}

#contents .inner dt a:hover {
  text-decoration: underline;
}

#faq dt a img {
  float: right;
  display: block;
  background: url("../img/yui/close.png") no-repeat right bottom;
  opacity: 1;
  filter: alpha(opacity=100);
  -ms-filter: “alpha(opacity=100)”;
}

#faq .open a img {
  visibility: hidden;
}

#faq a {
  text-decoration: underline;
}

#faq dd a {
  text-decoration: none;
}

#faq dd a:hover {
  text-decoration: underline;
}

#faq a:hover {
  text-decoration: none;
}

#faq dd {
  background: url("../img/yui/a.png") no-repeat left 1px;
  padding: 0 0 15px 54px;
  font-size: 18px;
  line-height: 2;
  display: none;
}

@media screen and (max-width: 768px) {
  #faq {
    padding: 50px 0 50px;
  }

  #faq h2 {
    margin-bottom: 30px;
  }

  #faq .faqBox {
    margin-bottom: 50px;
  }

  #faq dl {
    padding: 16px 0 0 6px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px dotted #cdcece;
  }

  #faq dt {
    background: url("../img/yui/q.png") no-repeat left 8px;
    margin-top: 15px;
    padding: 10px 15px 15px 54px;
    font-size: 20px;
    line-height: 35px;
    font-weight: bold;
    overflow: hidden;
    zoom: 1;
  }

  #contents .inner dt a {
    display: block;
    background: url("../img/yui/close.png") no-repeat center bottom;
    color: #3e3a39;
    text-decoration: none;
  }

  #contents .inner dt a:hover {
    text-decoration: underline;
  }

  #faq dt a img {
    float: none;
    display: block;
    background: url("../img/yui/close.png") no-repeat center bottom;
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: “alpha(opacity=100)”;
    margin: 0 auto;
  }

  #faq .open a img {
    visibility: hidden;
  }

  #faq a {
    text-decoration: underline;
  }

  #faq dd a {
    text-decoration: none;
  }

  #faq dd a:hover {
    text-decoration: underline;
  }

  #faq a:hover {
    text-decoration: none;
  }

  #faq dd {
    background: url("../img/yui/a.png") no-repeat left 1px;
    padding: 0 0 15px 54px;
    font-size: 18px;
    line-height: 2;
    display: none;
  }
}

#staff {
  padding: 65px 0 110px;
}

#staff h2 {
  margin-bottom: 40px;
}

#staff .staffBox {
  padding-bottom: 60px;
  clear: both;
}

#staff .staffBox .lBox {
  width: 290px;
  float: left;
}

#staff .staffBox .lBox img {
  border-radius: 50%;
}

#staff .staffBox .rBox {
  width: 670px;
  float: right;
  min-height: 285px;
}

#staff .staffBox .rBox h3 {
  color: #e4730a;
  font-size: 26px;
  font-weight: bold;
  margin: 40px 0 0;
}

#staff .staffBox .rBox p.tanto {
  color: #595757;
  font-size: 14px;
  margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
  #staff {
    padding: 50px 0 50px;
  }

  #staff h2 {
    margin-bottom: 30px;
  }

  #staff .staffBox {
    padding-bottom: 30px;
    clear: both;
  }

  #staff .staffBox .lBox {
    max-width: 280px;
    width: 100%;
    margin: auto;
    float: none;
    text-align: center;
  }

  #staff .staffBox .rBox {
    width: 100%;
    float: none;
    min-height: 285px;
  }

  #staff .staffBox .rBox h3 {
    color: #e4730a;
    font-size: 26px;
    font-weight: bold;
    margin: 40px 0 0;
  }

  #staff .staffBox .rBox p.tanto {
    color: #595757;
    font-size: 14px;
    margin-bottom: 15px;
  }
}

#blog {
  padding: 90px 0 110px;
}

#blog h2 {
  margin-bottom: 20px;
}

#blog ul {
  margin-bottom: 50px;
}

#blog ul li {
  border-bottom: 1px dotted #cdcece;
  padding: 20px 0;
}

#blog ul li dt {
  width: 150px;
  float: left;
}

#blog ul li dd {
  width: 830px;
  float: right;
}

#blog .blogBtn {
  width: 1000px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  #blog {
    padding: 50px 0 50px;
  }

  #blog h2 {
    margin-bottom: 20px;
  }

  #blog ul {
    margin-bottom: 50px;
  }

  #blog ul li {
    border-bottom: 1px dotted #cdcece;
    padding: 20px 0;
  }

  #blog ul li dt {
    width: 100%;
    float: none;
  }

  #blog ul li dd {
    width: 100%;
    float: none;
  }

  #blog .blogBtn {
    width: 100%;
    text-align: center;
  }
}

.contactbanner {
  width: 100%;
  margin: 0 auto;
}

.contactbanner {
  padding-top: 50px;
  margin: 0 auto 100px;
  width: 1000px;
}

@media screen and (max-width: 768px) {
  .contactbanner {
    padding-top: 0;
    margin: 0 auto 50px;
    width: 100%;
  }
}


/* 2023.4.20 福島追記 */

.otherStaffArea {
  padding-bottom: 110px;
}

.otherStaffBox {
  border: solid 1px #ccc;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
}

.otherStaffBox .staffDetail {
  display: flex;
  border-bottom: dashed 1px #ccc;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.otherStaffBox .staffDetail figure {
  flex-basis: 18%;
}

.otherStaffBox .staffDetail .info {
  flex-basis: 82%;
  padding-left: 1.25rem;
  box-sizing: border-box;
}

.otherStaffBox .staffDetail .info .staffName {
  font-size: 1.375rem;
  color: #e4730a;
  margin-bottom: .5rem;
  font-weight: 700;
}

.otherStaffBox .staffDetail .info .staffPosition {
  font-size: .875rem;
}

@media (max-width: 767px) {
  .otherStaffArea .otherStaffBox:nth-child(n+2) {
    margin-top: 2.5rem;
  }
}

@media (min-width: 768px) {
  .otherStaffBox {
    padding: 1.75rem;
  }

  .otherStaffArea {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .otherStaffArea .otherStaffBox {
    flex-basis: 48%;
  }

  .otherStaffArea .otherStaffBox:nth-child(n+3) {
    margin-top: 2.5rem;
  }
}

/* ここから古溝 */

#aboutBottom .rBox {
  padding-top: 0;
}

#aboutBottom .rBox .yuiTitle {
  margin-bottom: 10px;
}

#aboutBottom .rBox .strong {
  margin-bottom: 4px;
}

#aboutBottom .rBox .yuiabouttxt {
  padding-top: 12px;
}

#aboutBottom .rBox ul {
  padding: 12px 0 12px;
}

#aboutBottom .rBox li {
  font-weight: bold;
}

#aboutBottom .rBox li span {
  padding-right: 4px;
  color: #e4730a;
}