@charset "UTF-8";

/*   
Theme Name: HANNA SHM
Description: HANNA SHM
Version: 2026.04
Author: MS
*/

/*** clearfix ***/
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/* ===========================================================================================

	Common

=========================================================================================== */
.b-o-header .b-a-heading .b-a-textLink_anchor {
  text-decoration: none;
}
.b-m-footerBottom {
  display: block;
}
#mainArea {
  font-family: "游ゴシック", "YuGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ＭＳ ゴシック", sans-serif;
  overflow: hidden;
  color: #000;
  -webkit-text-size-adjust: none;
  height: auto !important;
}
.f_min {
  font-family: "游明朝", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", serif;
}
.f_en {
  font-family: "Roboto", sans-serif;
}
#mainArea p {
  color: inherit;
  font-size: 16px;
  line-height: 1.8em;
}
#mainArea a,
#mainArea a img {
  text-decoration: none;
  color: #000;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    opacity 0.3s ease;
  outline: none;
}
#mainArea a:hover {
  opacity: 0.75;
}

#mainArea img {
  display: block;
  max-width: 100%;
  height: auto;
}
#mainArea .non_pc {
  display: none !important;
}
#mainArea .bt_more {
  display: block;
  background: #202020;
  border-radius: 6px;
}
#mainArea .bt_more > span {
  display: flex;
  padding: 0 0 0 20px;
  color: #fff;
  font-weight: bold;
  position: relative;
  height: 40px;
  align-items: center;
}
#mainArea .bt_more > span::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  height: 40px;
  width: 40px;
  border-left: 1px solid #707070;
}
#mainArea .bt_more > span::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translate(0, -50%);
  background: url(../images/icon_arrow_w.png) no-repeat center center / 8px;
}

/** Common **********************/
#mainArea .site_header {
  position: relative;
  background: #fff;
  z-index: 1;
  &.nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    min-width: 1160px;
    max-width: 1920px;
    @media screen and (min-width: 1160px) {
      left: 50%;
      width: 100%;
      transform: translate(-50%, 0);
    }
    & > .inner {
      height: 66px;
      justify-content: space-between;
    }
    ul {
      width: 100%;
      display: flex;
      align-items: center;
      column-gap: min(3.75%, 30px);
      container-type: inline-size;
      li {
        font-size: min(16px, 2.125cqi);
      }
      a {
        color: #000;
        line-height: 1.2;
        font-size: inherit;
        transition:
          color 0.3s ease,
          background 0.3s ease,
          opacity 0.3s ease;
        outline: none;
      }
    }
  }
}

#mainArea .site_header > .inner {
  display: flex;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  height: 80px;
}
#mainArea .site_header .logo {
  margin: 0;
  width: 342px;
  display: block;
  a {
    padding-top: 4.2%;
    padding-bottom: 4.2%;
    display: flex;
    align-items: baseline;
    column-gap: 4.2%;
    color: maroon;
    font-weight: 700;
    img {
      flex: 0 0 38%;
      max-width: 38%;
    }
  }
}
#mainArea .site_header .bt_tel {
  display: flex;
  align-items: center;
  column-gap: 0.125em;
  font-size: 26px;
  font-weight: 500;
  color: #740000;
  margin-left: auto;
  letter-spacing: 0.05em;
  pointer-events: none;
  padding-top: 1px;
  small {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    line-height: 1.1;
  }
}
#mainArea .site_header .btbox {
  display: flex;
  column-gap: 8px;
  margin-left: 35px;
}
#mainArea .site_header .btbox a {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.125em;
  background: #740000;
  width: 100px;
  color: #fff;
  text-align: center;
  line-height: 30px;
  font-size: 13px;
  font-weight: 700;
  &.bt_tel {
    margin-right: 25px;
    padding-top: 1px;
    width: auto;
    white-space: nowrap;
    color: #740000;
    background: none;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.05em;
    pointer-events: none;
  }
}
#mainArea .bt_top {
  position: fixed;
  right: 0;
  bottom: 0;
  background: #1d1d1d99;
  border-radius: 4px 0 0 0;
  z-index: 8;
}
#mainArea .bt_top span {
  display: flex;
  flex-direction: column;
  width: 76px;
  height: 75px;
  justify-content: start;
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  box-sizing: border-box;
  padding-top: 16px;
}
#mainArea .bt_top span::before,
#mainArea .bt_top span::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translate(-50%, 0) rotate(-45deg);
  margin: 0;
  position: absolute;
  bottom: 7px;
  left: 50%;
}
#mainArea .bt_top span::after {
  bottom: 12px;
}

#mainArea .bnr_contact {
  margin-top: 35px;
}
#mainArea .bnr_contact .text {
  text-align: center;
  font-size: 15px;
}
#mainArea .bnr_contact a {
  display: block;
  height: 172px;
  background: rgba(85, 0, 0, 1);
  padding-top: 78px;
  margin-top: 12px;
  text-align: center;
  position: relative;
  transition: background 0.3s ease;
}
/* #mainArea .bnr_contact a::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  width: 100%;
  top: 0;
  height: 100%;
  background: rgba(85, 0, 0, 0.75);
  transition: width 0.3s ease;
} */
#mainArea .bnr_contact a:hover {
  background: #333333;
  opacity: 1;
}
/* #mainArea .bnr_contact a:hover::before {
  width: 0%;
} */
#mainArea .bnr_contact a span {
  position: relative;
  display: inline-block;
  font-size: 19px;
  font-weight: bold;
  color: #fff;
  transition: transform 0.3s ease;
  background: url(../images/icon_arrow.png) no-repeat right center;
  background-size: 10px 10px;
  padding-right: 20px;
}
#mainArea .bnr_contact a:hover span {
  transform: scale(1.1);
}
#mainArea .works {
  position: relative;
}
#mainArea .works > .inner {
  width: 1038px;
  margin: 0 auto;
  padding: 50px 0 80px 0;
}
#mainArea section.works .lead {
  text-align: center;
  font-size: 24px;
}
#mainArea section.works .bnr_case {
  display: block;
  width: 780px;
  margin: 20px auto 0 auto;
}
#mainArea .works h2 {
  text-align: center;
  font-size: 19px;
  font-weight: bold;
  color: #740000;
  margin-top: 40px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 12px;
}
#mainArea .works ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 40px;
}
#mainArea .works ul li {
  width: 487px;
  margin-top: 60px;
}
#mainArea .works ul li:nth-child(-n + 2) {
  margin-top: 0;
}
#mainArea .works ul li a {
  display: block;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.16);
  padding-bottom: 35px;
  position: relative;
  overflow: hidden;
}
#mainArea .works ul li a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 100px;
  background: #740000;
  transform: rotate(45deg);
  right: -60px;
  bottom: -60px;
  transition: 0.3s ease background;
}
#mainArea .works ul li a::after {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 10px;
  background: url(../images/icon_arrow.png) no-repeat center center;
  background-size: contain;
  right: 10px;
  bottom: 10px;
}
#mainArea .works ul li a .img {
  overflow: hidden;
}
#mainArea .works ul li a .img img {
  transition: 0.3s ease transform;
}
#mainArea .works ul li a .title {
  font-size: 20px;
  text-align: center;
  margin-top: 30px;
}
#mainArea .works ul li a .text {
  font-size: 15px;
  text-align: center;
  margin: 10px 0 0 0;
}

#mainArea .works ul li a:hover::before {
  background: #1d1d1d;
}
#mainArea .works ul li a:hover .img img {
  transform: scale(1.1);
}
#mainArea .works ul li a:hover {
  opacity: 1;
  background: #f4f4f4;
}
#mainArea .works .comingsoon {
  text-align: center;
  font-size: 20px;
  margin-top: 60px;
  opacity: 0.4;
  letter-spacing: 0.1em;
}
#mainArea .access {
  background: #f0f0f0;
}
#mainArea .access > .text {
  text-align: center;
  padding: 65px 0 55px 0;
  font-size: 24px;
}
#mainArea .access .sec h2 {
  text-align: center;
  background: #740000;
  color: #fff;
  font-weight: bold;
  font-size: 19px;
  padding: 13px 0;
}
#mainArea .access .sec > .inner {
  padding: 20px 0 60px 0;
}
#mainArea .access .sec .bt_more {
  font-size: 13px;
  margin: 0 auto;
  width: 360px;
  display: flex;
  border: 1px solid #740000;
  color: #740000;
  padding: 14px 0;
  font-weight: bold;
  justify-content: center;
  align-items: center;
  background: none;
  border-radius: 0;
}
#mainArea .access .sec .bt_more::after {
  content: "";
  background: url(../images/icon_arrow_r.png) no-repeat right center;
  background-size: 10px 10px;
  display: block;
  width: 10px;
  height: 10px;
  margin-left: 10px;
}
#mainArea .access .sec .fbox {
  width: 1038px;
  margin: 40px auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
}
#mainArea .access .sec .fbox .info {
  width: 372px;
}
#mainArea .access .sec .fbox .info h3 {
  font-size: 18px;
  font-weight: bold;
  color: #740000;
}
#mainArea .access .sec .fbox .info section {
  margin-top: 15px;
}
#mainArea .access .sec .fbox .info section:nth-child(2) {
  margin-top: 20px;
  margin-bottom: 30px;
}
#mainArea .access .sec .fbox .info section h4 {
  font-size: 15px;
  border-bottom: 1px solid #dddddd;
  padding: 10px 0;
  margin-bottom: 10px;
}
#mainArea .access .sec .fbox .info section .bt_tel {
  display: block;
  font-size: 36px;
  letter-spacing: 0.05em;
  font-weight: 500;
  color: #740000;
  padding: 17px 20px 15px 60px;
  border-radius: 4px;
  background: url(../images/icon_tel.png) no-repeat 15px center;
  background-size: 30px 30px;
  background-color: #fff;
  box-shadow: 2px 4px 2px #ccc;
  margin-top: 15px;
  pointer-events: none;
}
#mainArea .access .sec .fbox .info section .bt_contact {
  display: block;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin-top: 20px;
  font-weight: 500;
  color: #fff;
  padding: 16px 20px 16px 60px;
  background:
    url(../images/icon_mail.png) no-repeat 15px center,
    url(../images/icon_arrow.png) no-repeat calc(100% - 15px) center;
  background-size:
    30px 30px,
    10px 10px;
  font-weight: bold;
  background-color: #740000;
}
#mainArea .access .sec .fbox .info section .bt_contact:hover {
  background-color: #333;
  opacity: 1;
}
#mainArea .access .sec .fbox .info section .text {
  font-size: 15px;
  margin-top: 10px;
}
#mainArea .access .sec .fbox iframe {
  width: 564px;
  height: auto;
  aspect-ratio: 564/535;
  max-width: 100%;
  border: solid 16px #ffffff;
}
/* #mainArea .bnr_bottom {
  padding: 90px 0;
}
#mainArea .bnr_bottom.shm {
  padding-top: 0;
  margin-top: -30px;
}
#mainArea .bnr_bottom a {
  display: block;
  width: 810px;
  margin: 0 auto;
} */
#mainArea .breadlist {
  border-top: 1px solid #d0d0d0;
}
#mainArea .breadlist > .inner {
  padding: 20px 0;
  width: 1156px;
  margin: 0 auto;
  font-size: 13px;
}
#mainArea .breadlist a,
#mainArea .breadlist span {
  display: inline-block;
  letter-spacing: 0.05em;
}
#mainArea .breadlist span {
  color: #707070;
}

/**************************************************************/
/**************************************************************/
/** SP ********************************************************/
/**************************************************************/
/**************************************************************/
@media screen and (max-width: 767px) {
  .b-o-footer_content {
    padding-bottom: 1px;
  }
  #mainArea .non_pc {
    display: block !important;
  }
  #mainArea .non_sp {
    display: none !important;
  }

  /** Common **********************/
  #mainArea .site_header {
    &.nav {
      min-width: 100%;
      & > .inner {
        height: auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-top: 6px;
        padding-bottom: 6px;
        .btbox {
          margin-top: 0;
          width: calc(100% - 40px);
          a {
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            &.bt_tel {
              order: 3;
              margin-right: 0;
              padding: 0;
              letter-spacing: 0;
              pointer-events: all;
              @media screen and (max-width: 459px) {
                font-size: 20px;
              }
              @media screen and (max-width: 379px) {
                font-size: 14px;
              }
            }
          }
        }
      }
      .bt_menu {
        display: block;
        flex: 0 0 30px;
        width: 30px;
        height: 40px;
        font-size: 12px;
        text-align: center;
        box-sizing: border-box;
        z-index: 1000;
        overflow: hidden;
        position: relative;
        margin-left: auto;
        border: none;
        border-radius: 4px;
        background: no-repeat;
        &::before,
        &::after {
          display: block;
          position: absolute;
          content: "";
          width: 16px;
          height: 2px;
          background: #1d1d1d;
          top: 50%;
          left: 8px;
          transition: all 0.3s ease;
        }
        &::before {
          margin-top: 5px;
        }
        &::after {
          margin-top: -7px;
        }
        span {
          display: block;
          text-indent: -9999px;
          overflow: hidden;
          height: 100%;
          &::before {
            display: block;
            position: absolute;
            content: "";
            width: 16px;
            height: 2px;
            background: #1d1d1d;
            top: 50%;
            left: 8px;
            transition: all 0.3s ease;
            margin-top: -1px;
          }
        }
        &.open {
          &::before {
            margin-top: -1px;
            transform: rotate(-135deg);
          }
          &::after {
            margin-top: -1px;
            transform: rotate(135deg);
          }
          span {
            &::before {
              opacity: 0;
            }
          }
        }
      }
      ul {
        display: none;
        position: absolute;
        top: 66px;
        background: #fff;
        right: 0;
        width: 15em;
        box-sizing: border-box;
        padding: 17px 0 30px 7%;
        font-size: 15px;
        a {
          font-size: 15px;
          display: block;
          padding: 15px 0px;
        }
      }
    }
  }
  #mainArea .site_header {
    & > .inner {
      display: flex;
      align-items: center;
      padding: 0 8px 0 6px;
      height: 120px;
    }
    &:not(.nav) > .inner {
      flex-direction: column;
      row-gap: 8px;
    }
  }
  #mainArea .site_header .logo,
  #mainArea .site_header .logo a {
    width: 100%;
    max-width: 345px;
    margin: 0;
    padding-bottom: 0;
  }
  #mainArea .site_header .bt_tel {
    margin-left: 0;
    font-size: 22px;
    pointer-events: all;
  }
  #mainArea .site_header .btbox {
    justify-content: center;
    margin-left: 0;
    width: 100%;
  }
  #mainArea .site_header .btbox a {
    flex: 1;
    font-size: 12px;
  }

  #mainArea .bnr_contact {
    margin: 35px auto 0 auto;
    width: 300px;
  }
  #mainArea .bnr_contact .text {
    text-align: center;
    font-size: 15px;
  }
  #mainArea .bnr_contact a {
    display: block;
    height: 100px;
    padding-top: 21px;
    margin-top: 15px;
    text-align: center;
    position: relative;
  }
  #mainArea .bnr_contact a::before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    width: 100%;
    top: 0;
    height: 100%;
    background: rgba(85, 0, 0, 0.75);
    transition: width 0.3s ease;
  }
  #mainArea .bnr_contact a:hover {
    opacity: 1;
  }
  #mainArea .bnr_contact a:hover::before {
    width: 100%;
  }
  #mainArea .bnr_contact a span {
    position: relative;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.8em;
    color: #fff;
    transition: transform 0.3s ease;
    background: url(../images/icon_arrow.png) no-repeat 228px 38px;
    background-size: 10px 10px;
    padding-right: 0;
  }
  #mainArea .bnr_contact a:hover span {
    transform: scale(1);
  }
  #mainArea .works {
    position: relative;
  }
  #mainArea .works > .inner {
    width: 86%;
    margin: 0 auto;
    padding: 50px 0 40px 0;
  }
  #mainArea section.works .lead {
    text-align: center;
    font-size: 16px;
  }
  #mainArea section.works .bnr_case {
    display: block;
    width: auto;
    margin: 15px auto 0 auto;
  }
  #mainArea .works h2 {
    text-align: center;
    font-size: 19px;
    font-weight: bold;
    color: #740000;
    margin-bottom: 40px;
    margin-top: 30px;
  }
  #mainArea .works ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
  }
  #mainArea .works ul li {
    width: auto;
    margin-top: 40px;
  }
  #mainArea .works ul li:nth-child(-n + 2) {
    margin-top: 40px;
  }
  #mainArea .works ul li:first-child {
    margin-top: 0;
  }
  #mainArea .works ul li a {
    display: block;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.16);
    padding-bottom: 35px;
    position: relative;
    overflow: hidden;
  }
  #mainArea .works ul li a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100px;
    height: 100px;
    background: #740000;
    transform: rotate(45deg);
    right: -60px;
    bottom: -60px;
    transition: 0.3s ease background;
  }
  #mainArea .works ul li a::after {
    content: "";
    display: block;
    position: absolute;
    width: 10px;
    height: 10px;
    background: url(../images/icon_arrow.png) no-repeat center center;
    background-size: contain;
    right: 10px;
    bottom: 10px;
  }
  #mainArea .works ul li a .img {
    overflow: hidden;
  }
  #mainArea .works ul li a .img img {
    transition: 0.3s ease transform;
  }
  #mainArea .works ul li a .title {
    font-size: 16px;
    text-align: center;
    margin-top: 36px;
    line-height: 1.7em;
  }
  #mainArea .works ul li a .text {
    font-size: 13px;
    text-align: center;
    margin: 3px 0 0 0;
  }

  #mainArea .works ul li a:hover::before {
    background: #750000;
  }
  #mainArea .works ul li a:hover .img img {
    transform: scale(1);
  }
  #mainArea .works ul li a:hover {
    opacity: 1;
    background: #ffffff;
  }
  #mainArea .works .comingsoon {
    text-align: center;
    font-size: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    opacity: 0.4;
    letter-spacing: 0.1em;
  }
  #mainArea .access {
    background: #f0f0f0;
  }
  #mainArea .access > .text {
    text-align: center;
    padding: 20px 0 20px 0;
    font-size: 16px;
    width: 300px;
    margin: 0 auto;
  }
  #mainArea .access .sec h2 {
    text-align: center;
    background: #740000;
    color: #fff;
    font-weight: bold;
    font-size: 17px;
    padding: 13px 0;
  }
  #mainArea .access .sec > .inner {
    padding: 20px 0 20px 0;
  }
  #mainArea .access .sec .bt_more {
    font-size: 13px;
    margin: 0 auto;
    width: 320px;
    display: flex;
    border: 1px solid #740000;
    color: #740000;
    padding: 14px 0;
    font-weight: bold;
    justify-content: center;
    align-items: center;
  }
  #mainArea .access .sec .bt_more::after {
    content: "";
    background: url(../images/icon_arrow_r.png) no-repeat right center;
    background-size: 10px 10px;
    display: block;
    width: 10px;
    height: 10px;
    margin-left: 10px;
  }
  #mainArea .access .sec .fbox {
    width: 90%;
    margin: 40px auto 0 auto;
    display: block;
    justify-content: space-between;
  }
  #mainArea .access .sec .fbox .info {
    width: 290px;
    margin: 0 auto;
  }
  #mainArea .access .sec .fbox .info h3 {
    font-size: 18px;
    font-weight: bold;
    color: #740000;
  }
  #mainArea .access .sec .fbox .info section {
    margin-top: 15px;
  }
  #mainArea .access .sec .fbox .info section:nth-child(2) {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #mainArea .access .sec .fbox .info section h4 {
    font-size: 15px;
    border-bottom: 1px solid #dddddd;
    padding: 10px 0;
    margin-bottom: 10px;
  }
  #mainArea .access .sec .fbox .info section .bt_tel {
    display: block;
    font-size: 30px;
    font-weight: 500;
    color: #740000;
    padding: 17px 20px 15px 60px;
    border-radius: 4px;
    background: url(../images/icon_tel.png) no-repeat 15px center;
    background-size: 30px 30px;
    background-color: #fff;
    box-shadow: 2px 4px 2px #ccc;
    margin-top: 15px;
    pointer-events: auto;
  }
  #mainArea .access .sec .fbox .info section .bt_contact {
    display: block;
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-top: 20px;
    font-weight: 500;
    color: #fff;
    padding: 16px 20px 16px 60px;
    background:
      url(../images/icon_mail.png) no-repeat 15px center,
      url(../images/icon_arrow.png) no-repeat calc(100% - 15px) center;
    background-size:
      30px 30px,
      10px 10px;
    font-weight: bold;
    background-color: #740000;
  }
  #mainArea .access .sec .fbox .info section .bt_contact:hover {
    background-color: #740000;
    opacity: 1;
  }
  #mainArea .access .sec .fbox .info section .text {
    font-size: 15px;
    margin-top: 10px;
  }
  #mainArea .access .sec .fbox iframe {
    width: 100%;
    margin-top: 30px;
    border-width: 8px;
  }

  /* #mainArea .bnr_bottom {
    padding: 30px 0;
  }
  #mainArea .bnr_bottom.shm {
    padding-top: 0;
    margin-top: 0;
  }
  #mainArea .bnr_bottom a {
    width: 86%;
  } */
}
