@charset "UTF-8";

/* ************************************************************
  リニューアル対象外ページのために読み込む
  CSSとbootstrapの設定を上書きする
************************************************************ */

/* ============================================================
  ビューポート設定
============================================================ */
html, body {
  min-width: 1000px;
}
@media screen and (max-width: 768px) {
  html, body {
    min-width: initial;
  }
}

/* ============================================================
  リニューアル対象共通
============================================================ */
.renew body {
  background-color: #fff!important;
}
.renew a:hover, #gHeader a:hover, #gFooter a:hover, .menuBox a:hover {
  text-decoration: none;
}
#gHeader a, #gFooter a, .menuBox a {
  text-decoration: none!important;
}
#gHeader h1 {
  font-size: 0;
  line-height: 0;
}
#gNavi ul li .sub-menu {
  display: none;
}
/* SP非表示設定 */
@media screen and (max-width: 768px) {
  .renew .p-teaching_material .menuSub {
    display: none;
  }
  .renew .sp,
  #gHeader .sp,
  .fixBanner .sp {
    display: block;
  }
}

/* ============================================================
  パンくず
============================================================ */
.pagePathInner {
  width: 990px;
  margin: 0 auto;
}
.pagePathInner a,
.pagePathInner span {
  color: #4D4C4A;
  font-size: 1.4rem;
}
.pagePathInner a {
  padding-right: 7px;
  display: inline-block;
}
.pagePathInner span a:hover {
  color: inherit;
  text-decoration: underline;
}

/* ============================================================
  記事一覧
============================================================ */
.p-column.archive #main .detail {
  padding: 12px 0 0;
}
.p-column.archive #main .articleBox {
  padding-top: 40px;
  padding-bottom: 80px;
}

/* ============================================================
  ページタイトル
============================================================ */
.pageTitle {
  padding-top: 52px;
}
.pageTitle h2 {
  text-align: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 68px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2C9E9C;
  font-family: 'Noto Sans JP', sans-serif;
}
@media screen and (max-width: 768px) {
  .pageTitle h2 {
    font-size: 24px;
  }
  .pageTitle {
    padding-top: 34px;
  }
}

/* ============================================================
  著者情報
============================================================ */
.authorBox {
  margin-bottom: 100px;
}
.authorBox .content {
  position: relative;
}
.authorBox .content:after {
  position: absolute;
  left: 15px;
  right: -15px;
  top: 15px;
  bottom: -15px;
  background-color: #2E9E9C;
  border: 2px solid #000;
  content: "";
}
.authorBox .content .inner {
  background: #fff;
  border: 2px solid #000;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}
.authorBox .content .inner .imgBox {
  padding: 30px;
  width: 24.5%;
  text-align: center;
}
.authorBox .content .inner .imgBox .ttl {
  display: block;
  padding: 10px;
  border-radius: 20px;
  position: relative;
  background-color: #2E9E9C;
  color: #fff;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 1.3rem;
}
.authorBox .content .inner .imgBox .ttl:after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: 20%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 18px 14px 0;
  border-color: transparent #2e9e9c transparent transparent;
  
}
.authorBox .content .inner .imgBox .img {
  width: 90px;
  height: 90px;
  margin: 25px auto 15px;
}
.authorBox .content .inner .imgBox .img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #000;
  object-fit: cover;
  object-position: center;
  box-sizing: border-box;
}
.authorBox .content .inner .imgBox .name {
  font-size: 1.5rem;
  color: #2E9E9C;
  font-weight: 700;
}
.authorBox .content .inner .txtBox {
  display: flex;
  align-items: center;
  padding: 30px;
  border-left: 2px solid #000;
  width: 75.5%;
}
.authorBox .content .inner .txtBox p {
  font-size: 1.5rem;
  line-height: 1.86;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 768px) {
  .authorBox {
    padding: 0 20px;
  }
  .authorBox .content:after {
    left: 10px;
    right: -10px;
    top: 10px;
    bottom: -10px;
  }
  .authorBox .content .inner {
    flex-direction: column;
  }
  .authorBox .content .inner .imgBox {
    padding: 20px;
    width: 100%;
  }
  .authorBox .content .inner .imgBox .ttl {
    font-size: 1.2rem;
  }
  .authorBox .content .inner .imgBox .img {
    margin: 20px auto 10px;
  }
  .authorBox .content .inner .imgBox .name {
    font-size: 1.4rem;
  }
  .authorBox .content .inner .txtBox {
    padding: 20px;
    border-left: 0;
    border-top: 2px solid #000;
    width: 100%;
  }
  .authorBox .content .inner .txtBox p {
    font-size: 1.4rem;
  }
}

/* ============================================================
  ページネーション
============================================================ */
.renew .pagination .page-numbers li {
  margin: 0 8px;
}
.renew .pagination .page-numbers li a,
.renew .pagination .page-numbers li span,
.renew .pagination .page-numbers li a.prev,
.renew .pagination .page-numbers li a.next {
  display: inline-flex;
  align-items: center;
  font-size: 1.6rem;
}
.renew .pagination .page-numbers li a {
  border-radius: 0;
  height: 40px;
  width: auto;
}
.renew .pagination .page-numbers li a:hover {
  background-color: transparent;
  color: #2d9e9c;
}
.renew .pagination .page-numbers li span.current {
  width: auto;
  height: 38px;
  color: #2d9e9c;
  background-color: transparent;
  border-radius: 0;
  border-bottom: 2px solid #2d9e9c;
}
.renew .pagination .page-numbers li span.dots {
  color: #000;
}
.renew .pagination .page-numbers li a.prev .fa-chevron-left:before,
.renew .pagination .page-numbers li a.next .fa-chevron-right:before {
  content: "";
  display: block;
  width: 16px;
  height: 15px;
  background-repeat: no-repeat;
}
.renew .pagination .page-numbers li a.prev .fa-chevron-left:before {
  background-image: url('/wp-content/themes/sango-theme-child/core/img/common/arrow_prev.svg');
  background-size: contain;
}
.renew .pagination .page-numbers li a.next .fa-chevron-right:before {
  background-image: url('/wp-content/themes/sango-theme-child/core/img/common/arrow_next.svg');
  background-size: contain;
}

/* ============================================================
  404
============================================================ */
.renew .notfound {
  max-width: 990px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.86;
  letter-spacing: 0.05em;
}
.renew .notfound .searchform div {
  margin: 40px auto 80px;
}

/* ============================================================
  トップMV 外注コーディングのCSSを上書き調整する
============================================================ */
.pad .p-index .mainVisual .info,
.pad .p-index .mainVisual .textImg {
  margin: 0;
  transform: translate(-50%, -50%);
}
.pad .p-index .mainVisual .textImg {
  z-index: 1;
  top: 45%;
}
/* iPadPro縦 OR iPad横 */
@media screen and (min-width: 769px) {
  .pad .p-index .mainVisual .info {
    top: 50%;
    width: 60vh;
    height: 60vh;
    width: calc((var(--vh, 1vh) * 60));
    height: calc((var(--vh, 1vh) * 60));
  }
  .pad .p-index .mainVisual .textImg {
    width: 35vh;
    height: 35vh;
    width: calc((var(--vh, 1vh) * 35));
    height: calc((var(--vh, 1vh) * 35));
  }
  .pad .p-index .mainVisual .personBox .person01 {
    width: calc((109/1024) * 100vh);
  }
  .pad .p-index .mainVisual .personBox .person02 {
    width: calc((164/1024) * 100vh);
  }
  .pad .p-index .mainVisual .personBox .person03 {
    width: calc((159/1024) * 100vh);
  }
  .pad .p-index .mainVisual .personBox .person04 {
    width: calc((146/1024) * 100vh);
  }
  .pad .p-index .mainVisual .personBox .person05 {
    width: calc((129/1024) * 100vh);
  }
}
/* iPadPro横表示 */
@media screen and (min-width: 1281px) {
  .pad .p-index .mainVisual .info {
    top: 48%;
  }
  .pad .p-index .mainVisual .info {
    width: 70vh;
    height: 70vh;
    width: calc((var(--vh, 1vh) * 70));
    height: calc((var(--vh, 1vh) * 70));
  }
}
/* SP表示 */
@media screen and (max-width: 768px) {
  .p-index .mainVisual {
    min-height: 433px;
  }
  .p-index .mainVisual .textImg {
    width: calc((var(--vh, 1vh) * 32));;
    height: calc((var(--vh, 1vh) * 32));;
    margin: 0;
    top: 42%;
    transform: translate(-50%,-50%);
    z-index: 1;
    
  }
  .p-index .mainVisual .scroll a {
    font-size: 1rem;
    padding: 1vh 0 2.5vh;
    background-size: 0.8vh auto;
  }
  .p-index .mainVisual .personBox .person01 {
    width: calc((55/667) * 100vh);
  }
  .p-index .mainVisual .personBox .person02 {
    width: calc((92/667) * 100vh);
  }
  .p-index .mainVisual .personBox .person03 {
    width: calc((89/667) * 100vh);
  }
  .p-index .mainVisual .personBox .person04 {
    width: calc((80/667) * 100vh);
  }
  .p-index .mainVisual .personBox .person05 {
    width: calc((67/667) * 100vh);
  }
}

/* ============================================================
  デフゼミMV
============================================================ */
/* SP表示 */
@media screen and (max-width: 768px) {
  html.renew {
    margin-top:0!important;
  }
  .p-teaching_material .mainImg {
    padding-top: 50px;
    height: calc((var(--vh, 1vh) * 100) - 55px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .p-teaching_material .mainImg .imgBox {
    margin-bottom: calc((20/750) * 100vh);
  }
  .p-teaching_material .mainImg .imgBox .textBox {
    margin-bottom: calc((10/750) * 100vh);
  }
  .p-teaching_material .mainImg .imgBox .textBox .textImg {
    width: calc((240/750) * 100vh);
  }
  .p-teaching_material .mainImg .imgBox .pho {
    margin-top: calc((10/750) * 100vh);
  }
  .p-teaching_material .mainImg .imgBox .pho img {
    width: calc((170/750) * 100vh);
  }
  .p-teaching_material .mainImg .moive {
    margin-top: calc((15/750) * 100vh);
    width: calc((220/750) * 100vh);
  }
  .p-teaching_material .mainImg .scroll a {
    padding: 1vh 0 4vh;
    background-size: calc((10/750) * 100vh);
  }
}

/* ============================================================
  SP時タイトル位置調整
============================================================ */
@media screen and (max-width: 768px) {
  .p-vision .headLine02,
  .p-teaching_material .headLine02,
  .p-service_workshop .headLine02 {
    margin-top: -15px;
  }
}

/* ============================================================
  最小幅を1000pxに変更したことによる調整
============================================================ */
@media screen and (max-width: 1200px) {
  .p-service_workshop #main .sec06 .btmLink a .img02 {
    right: -35px;
    width: 140px;
  }
  .p-service_workshop #main .sec01 .icon01,
  .p-service_workshop #main .sec01 .icon02 {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .p-service_workshop #main .sec06 .btmLink a .img02 {
    right: -10px;
    top: -30px;
    width: 80px; }
}



/* ============================================================
  リニューアル対象外ページ 上書き設定
============================================================ */
/* リニューアル用のresetcssで打ち消してしまった部分を復帰する */
.old #content p { margin-bottom: 1rem; }
.old #content label { margin-bottom: 0.5rem; }
.old #content dl, .old #content ol, .old #content ul { margin: 1em 0; }
.old #content small, .old #content .small { font-size: 80%;font-weight: 400; }
.old #content strong, .old #content .strong { font-weight: bolder; }

/* header,footerは全ページリニューアルのため対象外ページCSSとの調整 */
.old #gHeader, 
.old #gFooter,
.old #gFooter .fBg .fNavi li a {
  line-height: 1.5;
  color: #000;
}
.old #gHeader #gNavi > ul > li > a,
.old #gHeader #gNavi > ul > li > span,
.old #gHeader #gNavi > ul > li .naviBox ul li a,
.old #gFooter .fBox .fText {
  font-size: calc(1.4 * 0.625rem);
}
.old #gHeader .hSearch span,
.old #gFooter .fLink li a > span,
.old #gFooter .fBg .fNavi li a {
  font-size: calc(1.5 * 0.625rem);
}
.old #gFooter .fSns p,
.old #gFooter .fLink li a > span .txt {
  letter-spacing: 0.05em;
  font-size: calc(2.0 * 0.625rem);
}
.old #gFooter .fBg address {
  font-size: calc(1.2 * 0.625rem);
}
@media screen and (max-width: 970px) {
  .old #gHeader #gNavi > ul > li > a,
  .old #gHeader #gNavi > ul > li > span {
    font-size: calc(1.3 * 0.625rem);
  }
}
@media screen and (max-width: 768px) {
  .old #gHeader .menu,
  .old #gHeader .snsTxt {
    font-size: calc(1.6 * 0.625rem);
  }
  .old .menuBox .menuUl > li > span,
  .old .menuBox .menuUl > li > a,
  .old .menuBox .menuSearch input[type="submit"] {
    font-size: calc(2.0 * 0.625rem);
  }
  .old .menuBox .menuUl > li ul li a,
  .old .menuBox .menuSearch input[type="text"] {
    font-size: calc(1.7 * 0.625rem);
  }
  .old #gFooter .fLink li:last-child a > span .txt {
    font-size: calc(1.8 * 0.625rem);
  }
}