/*
Theme Name: asukaday
Version: 1.1
Template: habakiri
*/

/* common */
body {
  font-family: "Zen Maru Gothic", system-ui;
}

#main {
  margin-bottom: 0;
}

.header {
  display: none;
  @media  screen and (max-width: 768px) {
    display: block;
    position: fixed;
  }
}

.page-header {
  display: none;
}

.breadcrumbs {
  display: none;
}

[btn--^] {}

.section-margin {
  padding-top: 100px;
}

.sp_menu {
  display: none;

  @media screen and (max-width: 768px) {
    display: block;
  }
}

.sp_header-logo {
  position: fixed;
  display: flex;
  height: 75px;
  align-items: center;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 90;
  background-color: #517664;
}

.home--address_logo-top {
  display: flex;
  align-items: center;
  & img {
    width: 60%;
    padding-left: 5%;
  }
}

.sp_menu__box {
  position: fixed;
  top: 0px;
  right: 0px;
  display: flex;
  height: 72px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
}

.sp_menu__box span, .sp_menu__box span:before, .sp_menu__box span:after {
  content: "";
  display: block;
  height: 5px;
  width: 40px;
  border-radius: 3px;
  background: #fff;
  position: absolute;
}
.sp_menu__box span:before {
  top: -10px;
}

.sp_menu__box span:after {
  top: 10px;
}

.sp_menu__content {
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  width: 50%;
  padding: 30px;
  margin-top: 60px;
  background-color: #517664;
  transition: all 0.5s;
  @media screen and (max-width: 430px) {
    width: 80%;
    
  }
}

#sp_menu__check:checked~.sp_menu__content {
  left: 60%;
  @media screen and (max-width: 430px) {
    left: 30%;
  }
}

.sp_menu__item {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}

.sp_menu__link {
  display: block;
  width: 100%;
  font-size: 16px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
}

.top-logo {
  @media screen and (max-width: 1300px) {
    display: block;
    width: 250px;
  }
}

.top-hero {
  position: relative;
  background: none;
  height: auto;
}

.top-hero-content {
  position: absolute;
  top: 15%;
  left: 5%;
  color: #fff;

  & h1 {
    font-size: clamp(2.5rem, 1.5rem + 3.07vw, 6.5rem);
    font-weight: 100;
    margin-top: 130px;

    @media screen and (max-width: 1350px) {
      font-size: 42px;
    }

    @media screen and (max-width: 992px) {
      font-size: 28px;
    }

    @media screen and (max-width: 768px) {
      font-size: 28px;
      margin-top: 220px;
    }
    @media screen and (max-width: 430px) {
      font-size: 24px;
      margin-top: 120px;
    }
  }

  & p {
    font-size: clamp(1.5rem, 1.676rem + 2.5vw, 4rem);

    @media screen and (max-width: 1350px) {
      font-size: 32px;
    }

    @media screen and (max-width: 992px) {
      font-size: 22px;
    }

    @media screen and (max-width: 768px) {
      display: none;
    }
  }

  & nav {
    font-size: clamp(1.5rem, 1.676rem + 2.5vw, 4rem);
    display: flex;
    flex-direction: column;

    @media screen and (max-width: 1350px) {
      font-size: 32px;
    }

    @media screen and (max-width: 992px) {
      font-size: 22px;
    }

    @media screen and (max-width: 768px) {
      display: none;
    }

    & a {
      color: #fff;
    }
  }

  & .sp-blank {
    display: none;

    @media screen and (max-width: 768px) {
      display: block;
    }
  }
}


.intro-- {
  background: url(https://mb-sample.site/asukaday/wp-content/themes/asukaday/img/intro--img.png) no-repeat;
}

.intro--btn--wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;

  @media screen and (max-width: 1000px) {
    grid-template-columns: repeat(1, 1fr);
  }

  .intro--btn-content {
    display: grid;
  }
}

.intro--btn-content {
  & a {
    background-color: #006837;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 70px;
    font-size: 24px;

    @media screen and (max-width: 1200px) {
      padding-left: 15px;
    }

    & span {
      padding-left: 10px;
    }
  }
}


.intro--content {
  padding-top: 600px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 200px;

  @media screen and (max-width: 1000px) {
    display: flex;
    flex-direction: column;
  }

  & p {
    font-size: 24px;
    font-weight: bold;

    @media screen and (max-width: 1000px) {
      margin: auto;
    }
  }
}

.intro--content-img {
  margin: -100px;

  @media screen and (max-width: 1000px) {
    margin: 0;
  }

  & img {
    width: 90%;
  }
}

.section-top {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 50px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }

  & h2 {
    font-size: 56px;
    margin: 0;
  }

  & p {
    font-size: 22px;
  }
}

.facility--introduction--content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
  }
}

.facility--introduction--content-right {
  font-size: 24px;
}

.facility--information--contents {
  gap: 50px;
  display: flex;
  flex-direction: column;
}

.facility--information--content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(1, 1fr);
    margin: 0 auto;
  }
}

.facility--information--content-right {
  font-size: 24px;
}

.facility-introduction-blank {
  display: none;

  @media screen and (max-width: 430px) {
    display: block;
  }
}

.section-sub-text {
  font-size: 24px;
}

.top-page-contact {
  position: relative;

  & .contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 100px;
    margin-bottom: 400px;

    @media screen and (max-width: 768px) {
      grid-template-columns: repeat(1, 1fr);
      gap: 50px;
    }
  }

  & .content {
    margin: 0 auto;

    & a {
      border-radius: 50%;
      background-color: #517664;
      display: flex;
      width: 300px;
      height: 300px;
      color: #fff;
      padding: 50px;
      align-items: center;
      flex-direction: column;
      justify-content: center;
    }
  }
}

.top-page-contact::after {
  position: absolute;
  bottom: 0;
  content: "";
  background: url(https://mb-sample.site/asukaday/wp-content/themes/asukaday/img/contact--back-img02.png) center center no-repeat;
  height: 800px;
  width: 100%;
}

/* philosophy start */
.top-section-margin {
  padding-top: 650px;
}

.philosophy--top-contents {
  display: block;

  @media screen and (max-width: 430px) {}

  & .section-second {
    display: flex;
    gap: 50px;
    justify-content: space-between;

    @media screen and (max-width: 768px) {
      flex-direction: column-reverse;
      align-items: center;
    }

    & .img-content {
      margin-top: -100px;
      position: relative;

      @media screen and (max-width: 992px) {
        margin-top: 0;
      }
    }

    & .img-content--text {
      position: absolute;
      bottom: 0;
      left: 0;
    }

    & .img-content--text p {
      font-weight: bold;
      font-size: 20px;
    }

    & .explan-content {
      font-size: 20px;
    }
  }
}

.philosophy--features {
  & .features-contents {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;

    @media screen and (max-width: 1200px) {
      grid-template-columns: repeat(3, 1fr);
    }

    @media screen and (max-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  & .features-content {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 1;
    position: relative;
    background-color: #abce7c;
    border-radius: 15px;
    padding: 20px;
    justify-content: center;
    color: #000;
    align-items: center;
    width: 190px;

    @media screen and (max-width: 768px) {
      margin: 0 auto;
    }

    & img {
      position: absolute;
      top: -15px;
      left: -15px;
    }

    & p {
      margin: 0;
      text-align: center;
    }
  }
}

.philosophy--facility {
  .section-top {
    display: flex;

    @media screen and (max-width: 768px) {
      flex-direction: column;
    }
  }
}

.facility-table {
  margin-bottom: 150px;

  & h4 {
    font-size: 24px;
    color: #517664;
    margin-bottom: 30px;
  }

  & table {
    width: 100%;
    font-size: 24px;
  }

  & tr {
    border-bottom: 2px solid #ccc;
  }

  & th {
    color: #517664;
  }

  & th.content {
    display: flex;
  }

  & th,
  td {
    padding-top: 10px;
    padding-bottom: 10px;

    @media screen and (max-width: 768px) {
      display: block;
    }
  }
}

.facility-map {
  & iframe {
    height: 500px;

    @media screen and (max-width: 768px) {
      height: 300px;
    }
  }
}

.philosophy--facility::after {
  display: none;
}

/* philosophy end */

/* facility-introduction start */
.facility--img-contents {
  display: flex;
  gap: 50px;

  @media screen and (max-width: 768px) {
    flex-direction: column;
  }

  & .img-left {
    display: flex;
    flex-direction: column;
    gap: 70px;
  }

  & .img-right {
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin-top: 70px;
  }
}

.facility--intro-block {
  & h4 {
    font-size: 32px;
  }

  & .margin-top {
    margin-top: 100px;
  }

  & .color-red {
    color: #FF0000;
  }

  & .text-indent {
    text-indent: -1em;
    padding-left: 1em;
  }
}

.facility--introduction-table {
  margin-top: 100px;

  & h4 {
    font-size: 32px;
  }

  & table {
    width: 100%;
  }

  & th,
  td,
  h5 {
    font-size: 24px;
  }

  & th,
  td {
    padding-top: 10px;
    padding-bottom: 10px;

    @media screen and (max-width: 768px) {
      display: block;
    }
  }

  & th {
    color: #517664;
  }
}

.facility--intro-block {
  margin-bottom: 200px;
}

.facility-price {
  margin-top: 100px;

  & h4 {
    font-size: 28px;
  }

  & p {
    font-size: 16px;
  }
}

.facility-price-table,
.facility-service-price-table,
.facility-service-out-price-table {
  table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;

    @media screen and (max-width: 992px) {
      width: 900px;
    }
  }

  th,
  td {
    border: 1px solid #000;
    padding: 10px;
    font-size: 16px;
  }

  th {
    background-color: #dff2cc;
    text-align: center;
  }

  th.spread-width-small {
    width: 250px;
  }

  th.spread-width-middle {
    width: 430px;
  }

  th.green-color {
    background-color: #A9D08E;
  }

  td.blue-color {
    background-color: #E2EFDA;
  }

  td {
    background-color: #ffffff;
    /* 白 */
  }

  .highlight {
    font-weight: bold;
  }

  .table-responsive::-webkit-scrollbar {
    height: 8px;
    /* 高さ */
  }

  .table-responsive::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    /* トラックの色 */
  }

  .table-responsive::-webkit-scrollbar-thumb {
    background-color: #999;
    /* スクロールバーの色 */
    border-radius: 10px;
  }

  .table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: #555;
  }

  .table-responsive {
    position: relative;
    overflow-x: auto;
    box-shadow: inset -10px 0 10px -10px rgba(0, 0, 0, 0.3);
    /* 右端に影を追加 */
  }

  .table-responsive::after {
    content: "→ スクロールできます";
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 12px;
    color: #888;
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 5px;
    white-space: nowrap;
    animation: fadeInOut 2s infinite;
  }

  @keyframes fadeInOut {

    0%,
    100% {
      opacity: 0;
    }

    50% {
      opacity: 1;
    }
  }
}

.facility-service-price-table {
  .number-title {
    width: 100px;
  }

  .kind-title {
    width: 140px;
  }

  .parsent-title {
    width: 190px;
  }
}

/* facility-introduction end */

/* footer start */
.footer {
  background: none;
  position: relative;

  & .footer-contents {
    position: absolute;
    top: 20%;
    left: 20%;

    @media screen and (max-width: 1200px) {
      left: 15%;
    }

    @media screen and (max-width: 600px) {
      left: 7%;
    }

    @media screen and (max-width: 430px) {
      top: 10%;
    }
  }
}

.footer-bgimg {
  @media screen and (max-width: 680px) {
    display: block;
  }
}

.home--address_logo {
  & a {
    @media screen and (max-width: 800px) {
      width: 200px;
      display: block;
    }
  }
}

.ft--info-second {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 50px;

  @media screen and (max-width: 992px) {
    gap: 10px;
    margin-top: 20px;
  }

  @media screen and (max-width: 430px) {
    margin-top: 10px;
  }

  & a {
    color: #fff;
    font-size: 28px;

    @media screen and (max-width: 992px) {
      font-size: 24px;
    }

    @media screen and (max-width: 800px) {
      font-size: 20px;
    }
  }

  & img {
    margin-right: 10px;

    @media screen and (max-width: 430px) {
      width: 25px;
    }
  }

  & .sp-footer-blank {
    display: none;

    @media screen and (max-width: 430px) {
      display: block;
    }
  }

  & span {
    margin: 0;

    @media screen and (max-width: 430px) {
      margin-left: 90px;
    }
  }
}

/* footer end */