/*
Theme Name: 後楽堂
Template: base
Description: 
Author: Markernet
Version: 1
*/

/* 親テーマのCSSを読込
@import url('../base/style.css');
@import url('./resources/css/style.css'); */


/* ===============================
  TOPページ
=============================== */
/* body {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
} */

body {
  font-family: "Zen Kaku Gothic New", "Inter", sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.85 !important;
  letter-spacing: 0.04em !important;
  @media screen and (max-width: 960px) {
      min-width: auto !important;
  }
}


.centerArea {
  width: auto !important;
  max-width: 1200px !important;
  padding: 0 3%;
  .toggle_btn {
    display: none;
  }
}

.setArea {
  padding: 40px 48px !important;
  h2 {
    font-size: 36px !important;
    &::after {
      color: #32834a !important;
      padding: 10px;
    }
  }
  @media (max-width: 800px) {
    padding: 40px 24px !important;
    h2 {
      font-size: 28px !important;
    }
  }
}

.button {
  .afarrow&::after {
      top: 50%;
      transform: translateY(-50%);
    }
}

.headerArea {
  padding-top: 12px;
  .siteCatch {
    font-size: 14px;
    margin-bottom: 1em;
  }
  .logoArea img {
    width: 200px;
  }
  .rightArea {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: auto !important;

    .img {
      width: 120px;
    }
    .tel {
      margin-left: 20px;
    }
    .afarrow {
      padding: 10px 14px 10px 0;
      &::after {
        right: 1.2em;
      }
    }
  }
  .mainMenu {
    margin-top: 20px;
    font-family: "Zen Kaku Gothic New", "Inter", sans-serif;
    li a {
      font-size: 17px;
      line-height: 3em;
      letter-spacing: 0.1em;
    }
  }

  @media(max-width: 900px) {
    padding-bottom: 16px;
    .centerArea {
      display: flex;
      align-items: center

    }

    /* ハンバーガーメニュー */
    .toggle_btn {
      display: block;
      width: 55px;
      height: 55px;
      background-color: #dbdfa7;
      position: relative;
      position: fixed;
      right: 20px;
      z-index: 40;
      transition: all .5s;
      cursor: pointer;
      span {
        width: 70%;
        background-color: #16371f;
        height: 2px;
        border-radius: 2px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: 0.7s;
        &:nth-child(1) {
          top: 26%;
        }
        &:nth-child(2) {
          top: 50%;
        }
        &:nth-child(3) {
          top: 74%;
        }
      }
    }
    .mainMenu {
      display: none;
    }
    .siteCatch {
      display: none;
    }

    .open {
      &.toggle_btn span:nth-child(1) {
        transform: rotate(45deg);
        top: 50%;
        left: 18%;
      }
      &.toggle_btn span:nth-child(2) {
        display: none;
      }
      &.toggle_btn span:nth-child(3) {
        transform: rotate(-45deg);
        top: 50%;
        left: 18%;
      }

      &.mainMenu {
        width: 100%;
        height: 100%;
        margin-top: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        padding-top: 30%;
        
        display: flex;
        flex-direction: column;
        li {
          width: auto;
        }
      }

    }

    .rightArea {
      .headBnArea {
        display: none;
      }
      .tel, .btnBlk {
        width: 50%;
        height: 60px;
        position: fixed;
        bottom: 0;
        margin: 0 !important;
      }
      .tel {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-left: 0;
        color: #16371f;
        background: #dbdfa7;
        left: 0;
        &::before {
          display: none;
        }
        .text {
          font-size: 11px;
        }
        .telno {
          font-size: 20px;
        }
      }
      .btnBlk {
        right: 0;
        a {
          border-radius: 0;
          padding: 18px 0 !important;
          height: 60px;
          &::after {
            display: none;
          }
        }
      }
    }
  }
}

.newsArea {
  margin: 40px 0;
  dl {
    border-bottom: 1px dotted #333 !important;
  }
  dt {
    padding: 6px 0;
    font-size: 16px !important;
    display: flex;
  }
}

.aboutArea {
  border-spacing: 32px !important;
  li {
    .btnBlk {
      position: absolute;
      right: 0;
      bottom: 0;
    }
    
    .txt {
      margin: 2em 1em 2.5em 1em !important;
    }
  }
  .afarrow {
    padding: 12px 44px 12px 36px !important;
    line-height: 1;
    letter-spacing: 0.1em;
  }
  @media(max-width: 800px) {
    .listArea {
      display: flex !important;
      flex-direction: column;
      align-items: center;
      gap: 40px;
      h3 {
        width: 80%;
        margin: 0 auto;
        position: relative;
        img {
          width: 60% !important;
          min-width: 286px;
          position: absolute;
          left: 50%;
          transform: translateX(-50%);
        }
      }
    }
    .about, .message, .flow {
      width: 100% !important;
      margin-bottom: 40px;
    }
    li {
      .btnBlk {
        text-align: center !important;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
      }
      .txt {
        margin: 1em 1em 2.5em 1em !important;
        padding-bottom: 16px;
      }
    }
  }
}

.case {
  .catch {
    font-size: 20px;
    margin-top: 0 !important;
    margin-bottom: 10px;
  }
  .listArea {
    .ti_35, .ti_55, .ti_62 {
      margin-bottom: 80px !important;
      .list {
        display: flex;
        flex-wrap: wrap;
        margin: 12% 0 0 12% !important;
        span {
          width: 42%;
        }
      }
    }
    a {
      /* color: #333; */
      font-size: 15px !important;
      line-height: 1.7 !important;
    }
  }

  @media(max-width: 800px) {
    .catch {
      font-size: 18px;
    }
    .listArea {
      .ti_35, .ti_55, .ti_62 {
        width: 100% !important;
        background-size: 170% auto !important;
        .list {
          margin: 18% 0 0 18% !important;
          display: flex;
          flex-direction: column;
          span {
            width: 100%;
          }
        }
      }
      li {
        margin: 0 !important;
        width: 100% !important;
        padding-bottom: 2.5em !important;
        .list {
          margin: 1.5em 3em 0 6%;
          span {
            display: block !important;
          }
        }
      }
      .kusuri {
        img {
          max-width: 350px;
          margin: 0;

        }
      }
    }
  }
}

.footMenuSet {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding: 24px 3%;
  a {
    color: #16371f;
    font-size: 16px !important;
  }
  .footMenu {
    display: flex;
    gap: 80px;
    padding-bottom: 0;
    li {
      margin-bottom: 4px;
    }
    @media (max-width: 900px) {
      display: none;
    }
  }
  .bnArea {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 0;
    justify-content: center;
  }

  .twArea {
    width: auto !important;
  }
}

.bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0 !important;
  .address {
    span {
      font-size: 15px;
      padding: 12px 15px 12px 0;
    }
  }
  .menu2 {
    max-width: 1200px;
  }
  @media(max-width: 900px) {
    margin-bottom: 60px;
    .address {
      text-align: center;
      padding-bottom: 22px;
      span {
        padding-bottom: 0px;
      }
    }
  }
}

/* コラム */
#tracer {
  padding-top: 20px;
}
#con_r {
  padding: 0 3% !important;
}
#content-ex {
  margin: 0 !important;
  padding: 0 3%;
}

.wysi {
  padding-top: 1em;
  p {
    /* margin: 0 2em 1.5em 2em !important; */
    line-height: 1.7em !important;
    span {
      margin-top: 8px;
    }
  }
  ul {
    padding-left: 2em !important;
  }
  h3 {
    font-size: 20px !important;
  }
  h4 {
    font-size: 18px;
  }
  @media (max-width:800px) {
    p {
      img {
        margin: 0 0 16px 0;
        float: none;
        display: block;
      }
      span {
        display: block;
        margin-top: 10px;
      }
    }
  }
}
.index01 {
  font-size: 24px !important;
}
.index02 {
  font-size: 16px !important;
  padding: 4px 16px !important;
}

.wp-pagenavi {
  a {
    font-size: 14px !important;
  }
  .btn_back {
    width: auto;
  }
  .current {
    font-size: 14px !important;
  }
}

/* 店主紹介 */
#cont_r-core {
  h2 {
    margin-bottom: 0;
  }
  h3 {
    font-size: 20px !important;
  }
  .about_table01 {      
    margin-bottom: 60px;
  }
  @media(max-width: 800px) {
    .flL, .mr15 ,.w300, .w450 {
      float: none;
      width: auto;
      margin-right: 0;
    }
    .bg-lg {
      padding: 40px 0;
    }
    
    tr {
      display: flex;
      flex-direction: column;
      padding: 0.8em 1em;
      border-bottom: 1px dotted #333;
      font-size: 14px;
      td {
        padding:0.8em 1em;
      }
    }
    .about_table01 {
      width: 100%;
      margin: 0 0 60px 0;
    }
  }
}
.subcat {
  h4 {
    font-size: 18px !important;
    margin-bottom: 0;
  }
}

/* 薬局紹介 */
#about_list {
  display: none;
}
.w300 {
  max-width: 300px;
}

/* Blog */
.subcatbody01 {
  .box01 {
    padding: 20px 4%;
  }
}
.room_ex {
  @media (max-width: 800px) {
    dl {
      dt {
        padding: 10px 20px 0px 20px !important;
      }
      dd {
        padding: 0 20px 10px 20px !important;
      }
    }
  }
}

/* アクセス */
.mapbox_l {
    margin-top: 32px;
}
.mapbox_r {
  .station {
    padding: 0 1em;
  }
}
.AccessPage {
  .transportation {
    margin-bottom: 40px;
    p:first-child {
      margin-top: 24px;
    }
      .setsu {
        padding: 0 1em;
      }
    &.air {
      div {
        margin: 0 1em;
      }
    }
  }
}

@media(max-width:800px) {
  .mapbox_l {
    width: 100% !important;
    float: none;
  }
  .mapbox_r {
      width: 100% !important;
      float: none;
  }
  .AccessPage {
    margin: 0 ;
    padding: 0 3%;
  }
}


/* FAQ */
.faq {
  br {
    display: none;
  }
  h3.index01 {
    margin: 0 3%;
  }
  .subcat {
    padding: 20px 3% !important;
  }
  .wysi {
    p {
      margin-bottom: 0;
    }
  }
  #content-ex {
    p {
      padding: 0 16px 16px 16px;
    }
  }
}


/* ご相談の流れ */
.flowImgSet {
  padding: 40px 3%;
  margin-bottom: 40px;
  .flowSet {
    padding: 0 2em !important;
    h3 {
      padding-left: 72px !important;
      margin: 0 0 32px -4px !important;
      .no {
        top: -2px !important;
        &::after {
          border-top: 60px solid #831918 !important;
          top: 0px !important;
        }
      }
    }
    p {
      margin: 0 0 1em 0 !important;
    }
    .tel{
      .button {
        width: 50%;
        margin-bottom: 16px;
        &::before {
          left: 28px !important;
          bottom: 16px !important;
        }
      }
    }
    .visit {
      a {
        padding: 12px 4.4em 12px 55px;
        font-size: 18px;
      }
    }
    .button.g.ilb {
      padding: 12px 40px 12px 40px;
      font-size: 18px;
    }
  }
  @media (max-width:800px) {
    display: flex;
    flex-direction: column;
    align-items: center;
    .flowSet {
      width: 85%;
      .button {
        display: block;
      }
      .button.g.ilb {
        font-size: 18px;
        padding: 12px 0;
        width: 100%;
      }
      .visit {
        a {
          padding: 12px 0;
          font-size: 16px;
          &::after {
            display: none;
          }
        }
      }
    }
    .imgBlk {
      width: 60%;
    }
    .tel {
      width: 100%;
      a {
        font-size: 16px;
        span {
           margin-top: 0;
        }
        &::before {
          display: none;
        }
      }
    }
  }
}