.esthe-trouble,.esthe-reason,.esthe-course,.esthe-teacher,.esthe-experience,.esthe-flow,#information02 {
    margin: 120px 0;
}

#booking {
    padding: 0px 0 80px;
}

@media(max-width:1024px){
  .esthe-trouble, .esthe-reason, .esthe-course, .esthe-teacher, .esthe-experience, .esthe-flow, #information02 {
    margin: 100px 0;
}
}

@media(max-width:599px){
  .esthe-trouble, .esthe-reason, .esthe-course, .esthe-teacher, .esthe-experience, .esthe-flow, #information02 {
    margin: 80px 0;
}
}

/* trouble */
.esthe-trouble .ttl-cmn-01 {
    background: #fe929f;
    width: fit-content;
    border-radius: 100px;
    padding: 5px;
    margin: 0 auto 60px;
    width: fit-content;
}

.esthe-trouble .ttl-cmn-01 .bg_pink {
    padding: 10px 50px 5px;
    display: block;
    font-size: 26px;
    text-align: center;
    border-radius: 100px;
    width: fit-content;
    border: 1px solid #fff;
}

.esthe-trouble .item-inner {
    background-image: url(/upload/tenant_1/220217761-ai.webp);
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 531 / 487;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.esthe-trouble .item-inner>*{
    font-size: 22px;
    line-height: 1.8;
    text-align: center;
}

@media(max-width:1024px){
  .esthe-trouble .item-inner>*{
    font-size: 16px;
  }
}

@media(max-width:599px){
  .esthe-trouble .ttl-cmn-01{
    margin-bottom: 30px;
  }
    .esthe-trouble .ttl-cmn-01 .bg_pink {
      padding: 15px 20px 15px;
      font-size: 20px;
      line-height: 1.3;
    }
}

/* reason */
.esthe-reason .item + .item{
  margin-top: 20px;
}

.esthe-reason .item .item-inner {
    border: 1px solid #fe929f;
    padding: 20px 15px;
    border-radius: 10px;
    background: #fff;
}

.esthe-reason .item .tit {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 500;
    color: #fe929f;
    font-size: 20px;
    margin-bottom: 10px;
}

.esthe-reason .item .tit .num {
    width: auto;
    height: auto;
    border-radius: 0;
    line-height: 1;
    color: #fe929f;
    background-color: unset;
    flex-shrink: 0;
    font-size: 130%;
}

.esthe-reason .item .txt {
    line-height: 1.5;
}

@media(max-width:599px){
  .esthe-reason .item .tit {
    gap: 5px;
    font-size: 18px;
}
}

/* course */
/* tab ここから */
.tabItem {
    display: none;
}

[data-element-id].tabItem {
    display: flex;
    border: 5px solid orange;
    flex-direction: column;
}

[data-element-id].tabItem::before{
  content: "項目１";
  background: orange;
  color: #fff;
  text-align: center;
}

[data-element-id].tabItem:nth-of-type(2)::before{
  content: "項目２"
}

[data-element-id].tabItem + .tabItem{
  margin-top: 30px;
}

[data-element-id].tabItem .item-inner {
    padding: 30px;
}

.tabItem.active {
    display: block;
}

.tabItem .item-inner .box + .box{
  margin-top: 50px;
}

.tabBtn ul {
    display: flex;
    width: 100%;
    justify-content: space-around;
    border-bottom: 3px solid #fe929f;
}

.tabBtn ul .tab_class {
    width: fit-content;
    min-width: 430px;
    text-align: center;
    font-weight: 600;
}

.tab_class .btn-txt {
    border-top: 1px solid #fe929f;
    border-right: 1px solid #fe929f;
    border-left: 1px solid #fe929f;
    padding: 20px 20px;
    color: #fe929f;
    font-size: 18px;
    letter-spacing: 1px;
    text-align: center;
    font-weight: 400;
}

.tab_class.active .btn-txt {
    background: #fe929f;
    color: #fff;
}

@media(max-width:1024px){
  .tabBtn ul .tab_class {
    width: 48%;
    min-width: unset;
  }

  .tab_class .btn-txt {
      padding: 10px 20px;
      line-height: 1.5;
  }
}

@media(max-width:599px){
  .tab_class .btn-txt {
    padding: 10px 5px;
    line-height: 1.5;
    font-size: 15px;
    letter-spacing: 0px;
  }  
}

/* tab　ここまで */

.esthe-course .coursebox .subitem + .subitem{
  margin-top: 50px;
}

.esthe-course .coursebox .subitem-inner {
    display: flex;
    flex-wrap: wrap;
}

.esthe-course .coursebox .subitem:nth-of-type(even) .subitem-inner{
  flex-direction: row-reverse;
}

.esthe-course .coursebox .subitem-inner .txtbox {
    background: #fe929f;
    color: #fff;
    padding:30px calc(5% + 30px) 30px 30px ;
    width: 55%;
    margin-bottom: 5%;
}

.esthe-course .coursebox .subitem:nth-of-type(even) .subitem-inner .txtbox {
  padding: 30px 30px 30px calc(5% + 30px);
}

.esthe-course .coursebox .subitem-inner .txtbox .info {
    background: #fff;
    color: #666;
    padding: 20px 10px;
    margin: 15px 0;
}

.esthe-course .coursebox .subitem-inner .txtbox .info div + div {
    margin-top: 15px;
    line-height: 1.3;
}

.esthe-course .coursebox .subitem-inner .txtbox .content *{
  line-height: 1.3;
}

.esthe-course .coursebox .subitem-inner .txtbox .info .price .p-list{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.esthe-course .coursebox .subitem-inner .txtbox .info .price .p-list dt{
  position: relative;
  padding-left: 30px;
}

.esthe-course .coursebox .subitem-inner .txtbox .info .price .p-list dt::before {
    content: "";
    background: url(/import/tenant_1/www.beppu-hanakago.jp/wp/wp-content/themes/hanakago2021/lib/images/common/title07.png) no-repeat left 0;
    background-size: contain;
    aspect-ratio: 41 / 38;
    width: 20px;
    display: inline-block;
    position: absolute;
    top: -3px;
    left: 3px;
}

.esthe-course .coursebox .subitem-inner .txtbox .info .price .p-list dd{
  text-align: right;
}

.esthe-course .coursebox .subitem-inner .txtbox .info .name {
    border-bottom: 1px solid #666;
    padding-bottom: 8px;
}

.esthe-course .coursebox .subitem-inner .imgbox {
    width: 50%;
    margin-left: -5%;
    margin-top: 5%;
}

.esthe-course .coursebox .subitem:nth-of-type(even) .subitem-inner .imgbox{
  margin-left: 0;
  margin-right: -5%;
}

@media(max-width:1024px){
  .esthe-course .coursebox .subitem + .subitem{
    margin-top: 20px;
  }
}

@media(max-width:599px){
  .esthe-course .coursebox .subitem + .subitem {
        margin-top: 40px;
    }
    
  .esthe-course .coursebox .subitem-inner .txtbox {
        padding: 30px 15px 80px 15px;
        width: 95%;
        margin-bottom: -50px;
    }
    
    .esthe-course .coursebox .subitem:nth-of-type(even) .subitem-inner .txtbox {
        padding: 30px 15px 80px 15px;
        margin-right: auto;
    }
    
    .esthe-course .coursebox .subitem-inner .imgbox {
        width: 80%;
        margin-left: auto;
        margin-top: 0;
    }
    
    .esthe-course .coursebox .subitem:nth-of-type(even) .subitem-inner .imgbox {
        margin-right: 0;
    }
}

/* teacher */
.esthe-teacher .teacher01Box {
    padding: 80px 30px;
    margin-bottom: 0;
}

.esthe-teacher .teacher01Box.box01:after {
    content: "";
    display: block;
    position: absolute;
    background: url(/import/tenant_1/www.beppu-hanakago.jp/wp/wp-content/themes/hanakago2021/lib/images/common/box01_before.png);
    width: 242px;
    height: 203px;
    bottom: -30px;
    left: 0;
    transform: scale(-1, -1);
}

.esthe-teacher .teacher01Box .teacher-list {
    border-bottom: 1px dashed #fe929f;
    padding-bottom: 50px;
    margin-bottom: 50px;
}

.esthe-teacher .teacher01Box .teacher-list .top .titbox {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.esthe-teacher .teacher01Box .teacher-list .top .tit {
    background: #fe95a1;
    color: #fff;
    display: inline;
    padding: 10px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: .3em;
    line-height: 2.5;
}

.esthe-teacher .teacher01Box .teacher-list .top .titbox .n-tit {
    border-bottom: 1px solid #fe95a1;
    display: inline;
    line-height: 1.5;
    font-size: 20px;
}

.esthe-teacher .teacher01Box .teacher-list .top .name{
  position: relative;
  width: fit-content;
}

.esthe-teacher .teacher01Box .teacher-list .top .name:after {
    content: "";
    display: block;
    position: absolute;
    background: url(/import/tenant_1/www.beppu-hanakago.jp/wp/wp-content/themes/hanakago2021/lib/images/common/pageCatch.png);
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 8 / 11;
    width: 35px;
    top: -5px;
    right: -35px;
}

.esthe-teacher .teacher01Box .teacher-list .bottom {
    background: rgb(255 255 255);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.esthe-teacher .teacher01Box .teacher-list .bottom .img {
    border-radius: 10px;
    overflow: hidden;
}

@media(max-width:599px){
  .esthe-teacher .teacher01Box {
    padding: 80px 20px;
  }
  
  .esthe-teacher .teacher01Box .teacher-list {
      padding-bottom: 30px;
      margin-bottom: 20px;
  }

  .esthe-teacher .teacher01Box .teacher-list .top .tit {
    font-size: 18px;
    letter-spacing: 0px;
    padding: 0.3em;
  }
  
  .esthe-teacher .teacher01Box .teacher-list .top .titbox .n-tit{
    font-size: 16px;
    line-height: 1.8;
  }
  
  .esthe-teacher .teacher01Box.box01:after {
        width: 150px;
        background-size: contain;
        background-repeat: no-repeat;
    }
}

/* experience */
.esthe-experience .item-inner {
    background: #fff4f6;
    border: 2px solid #fe929f;
    padding: 20px;
    border-radius: 10px;
}

.esthe-experience .item-inner .tit {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.esthe-experience .item-inner .tit .nums {
    color: #666;
    font-size: 120%;
}

.esthe-experience .item-inner .tit .t-main {
    font-weight: 500;
}

.esthe-experience .item-inner .txt {
    line-height: 1.5;
    font-size: 16px;
}

.esthe-experience .item-inner .img {
    margin: 10px 0;
    border-radius: 5px;
    overflow: hidden;
}

/* flow */
.esthe-flow .item + .item{
  margin-top: 20px;
}

.esthe-flow .item .item-inner {
    border: 1px solid #c0ab71;
    padding: 20px;
    display: flex;
}

.esthe-flow .item .tit {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-weight: 500;
    color: #fe929f;
    font-size: 20px;
    width: 30%;
    flex-shrink: 0;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px dashed #c0ab71;
}

.esthe-flow .item .tit .nums {
    flex-shrink: 0;
}

.esthe-flow .item .tit>*{
  line-height: 1.5;
}

@media(max-width:1024px){
  .esthe-flow .item .tit{
    font-size: 18px;
    width: 32%;
  }
}

@media(max-width:599px){
  .esthe-flow .item .item-inner {
    flex-direction: column;
  }
  
  .esthe-flow .item .tit {
        font-size: 18px;
        width: 100%;
        padding-bottom: 10px;
        margin-bottom: 20px;
        border-bottom: 1px dashed #c0ab71;
        border-right: none;
        padding-right: 0;
    }
}

/* access */
.information02Box02{
  margin: 0 0 80px;
}
