/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}
.sp {
  display: none !important;
}

@media screen and (max-width: 1000px) {
  /*スマホ用のcssを記述*/

  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }

  h2 {
    font-size: 60px;
    letter-spacing: 3px;
    margin-top: 60px;
  }

  h3 {
    margin: 60px 0 40px 0;
  }

  body {
    line-height: 1.7;
  }

  .container {
    max-width: 600px;
  }

  /* ----------------------------header-------------------------------- */
  header {
    position: fixed;
  }

  .header-container {
    padding: 20px;
  }

  /*ハンバーガーボタン*/
  .el_humburger {
    position: fixed;
    top: 45px;
    right: 60px;
    width: 46px;
    height: 25px;
    padding-top: 1px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 0px;
    z-index: 20;
    cursor: pointer;
    pointer-events: auto;
    color: #000;
    text-align: center;
  }
  /*ハンバーガーボタン*/
  @media screen and (max-width: 840px) {
    .el_humburger {
      display: block;
      right: 0;
      top: 0;
      padding-top: 20px;
      width: 70px;
      height: 70px;
    }
    #factory .el_humburger {
      display: none;
    }
    .header-container:hover {
      background: none;
      color: #000;
    }
  }

  .el_humburger_wrapper {
    margin-bottom: 5px;
    width: 42px;
    display: inline-block;
  }

  @media screen and (max-width: 840px) {
    .el_humburger_wrapper {
      margin-bottom: 5px;
      width: 30px;
    }
  }

  .el_humburger_text {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .js_humburgerOpen .el_humburger_text.el_humburger_text__menu {
    display: none;
  }

  .el_humburger_text.el_humburger_text__close {
    display: none;
  }

  .js_humburgerOpen .el_humburger_text.el_humburger_text__close {
    display: block;
  }

  @media screen and (max-width: 840px) {
    .el_humburger_text {
      font-size: 10px;
      padding-top: 2px;
    }
  }

  @media screen and (max-width: 840px) {
    .el_humburger_text svg path {
      -webkit-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
      -o-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
      transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
      fill: #000;
    }
  }

  @media screen and (max-width: 840px) {
    .js_humburgerOpen .el_humburger_text svg path {
      fill: #000;
    }
  }

  .el_humburger span.el_humburger_bar {
    display: block;
    width: 100%;
    margin: 0 auto 9px;
    height: 1px;
    background: #000;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }

  .el_humburger span.el_humburger_bar:last-child {
    margin-bottom: 0;
  }

  .js_humburgerOpen .el_humburger span.el_humburger_bar {
    background: #000;
  }

  @media screen and (max-width: 840px) {
    .el_humburger span.el_humburger_bar {
      left: 0;
      top: 0;
      background: #000;
    }
  }

  .js_humburgerOpen .el_humburger span.el_humburger_bar.top {
    -webkit-transform: translateY(9px) rotate(-45deg);
    -ms-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
  }

  .js_humburgerOpen .el_humburger span.el_humburger_bar.middle {
    opacity: 0;
  }

  .js_humburgerOpen .el_humburger span.el_humburger_bar.bottom {
    -webkit-transform: translateY(-11px) rotate(45deg);
    -ms-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg);
  }

  .el_humburgerButton.el_humburgerButton__close {
    top: 2%;
    right: 2%;
  }

  .el_humburgerButton__close span.el_humburger_bar {
    display: block;
    width: 35px;
    margin: 0 auto;
    height: 4px;
    background: #000;
  }

  .el_humburgerButton__close span.el_humburger_bar.top {
    -webkit-transform: translateY(5px) rotate(-45deg);
    -ms-transform: translateY(5px) rotate(-45deg);
    transform: translateY(5px) rotate(-45deg);
  }

  .el_humburgerButton__close span.el_humburger_bar.bottom {
    -webkit-transform: translateY(-6px) rotate(45deg);
    -ms-transform: translateY(-6px) rotate(45deg);
    transform: translateY(-6px) rotate(45deg);
  }

  /*ナビゲーション*/
  .header-nav-sp {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background-color: #f5f4f1;
    width: 0;
    z-index: 3;
    padding-top: 60px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 400ms ease-out;
    -o-transition: all 400ms ease-out;
    transition: all 400ms ease-out;
    overflow: hidden;
  }

  .js_humburgerOpen .header-nav-sp {
    width: 60%;
  }

  .header-menu-sp li {
    margin: 0 15%;
    padding: 15px 0;
    font-size: 18px;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 2.5px;
    border-bottom: dotted 2px #333;
  }

  .header-menu-sp li .op_innerLink {
    cursor: pointer;
  }

  .header-menu-sp a {
    display: block;
    color: #333;
  }

  .header-menu-sp a:hover {
    color: #333;
    text-decoration: none;
    opacity: 0.5;
  }

  /* ドロップダウン */
  .sp-accordion {
    padding: 0 !important;
  }
  .sp-accordion__head {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 15px 0;
    position: relative;
  }

  .sp-accordion__plus {
    position: absolute;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    right: 0;
  }
  .sp-accordion__plus::before,
  .sp-accordion__plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
  }
  .sp-accordion__plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.2s ease;
  }

  /* 開いたら「−」 */
  .sp-accordion.is-open .sp-accordion__plus::after {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  /* 開閉 */
  .sp-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  .sp-accordion__panel li {
    margin: 0;
  }

  /* 中身：画像＋テキスト＋矢印 */
  .sp-accordion__item {
    display: grid;
    grid-template-columns: 120px 1fr 18px;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 0px 6px;
  }

  .sp-accordion__thumb {
    width: 120px;
    height: 64px;
    overflow: hidden;
    display: block;
    margin: 0 auto;
  }
  .sp-accordion__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .sp-accordion__arrow {
    justify-self: end;
    opacity: 0.9;
  }

  .sp-accordion__item3 {
    border-bottom: none !important;
  }
  .sp-accordion__text{
    font-size: 15px;
    letter-spacing: 0.01em;
  }

  /* ----------------------------top-------------------------------- */
  .top-box {
    position: relative;
  }

  .top-texts {
    font-size: 12px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    padding: 10px 0;
    line-height: 1.5;
  }

  .consept-jp {
    font-size: 20px;
    font-weight: bold;
    line-height: 1.3;
    padding-bottom: 5px;
  }

  .consept-en {
    line-height: 1.3;
  }

  /* ----------------------------about--------------------------------- */
  #about {
    padding-bottom: 60px;
  }

  .about-box {
    display: unset;
    display: block;
    /* margin-bottom: 60px; */
  }

  .about-texts {
    width: 100%;
    padding: 0 10px;
    padding-top: 40px;
  }

  .about-text {
    padding: 0 10px;
  }

  .about-img {
    width: 98%;
    position: relative;
  }

  .about-img img {
    position: relative;
    z-index: 2;
  }

  .about-img-bg {
    position: absolute;
    left: 5%;
    top: 5%;
    z-index: 1;
    width: 98%;
    height: 98%;
    background-color: #00a3af;
  }

  .about-read {
    font-size: 20px;
    margin-bottom: 30px;
  }

  /* ----------------------------services-------------------------------- */
  #services {
    padding-bottom: 60px;
  }

  .pet-box {
    display: unset;
    display: block;
    width: 100%;
    margin-bottom: 40px;
  }

  .pet-area {
    width: 98%;
    margin: 30px 0;
  }

  button {
    width: 98%;
    margin-top: 30px;
  }

  /* ----------------------------company-------------------------------- */
  #company {
    padding-bottom: 60px;
  }

  .company-box {
    display: unset;
    display: block;
    padding: 40px 0 60px 0;
    font-size: 16px;
  }

  .company-bacic {
    width: 100%;
  }

  .company-relation {
    width: 100%;
    position: static;
    padding-top: 5px;
  }

  .company-bacic dd:last-of-type {
    margin-bottom: 0px;
  }

  .company-bacic dd {
    margin-left: 60px;
    margin-bottom: 20px;
  }

  .company-business {
    position: static;
  }

  .company-business-title {
    margin-top: 20px;
  }

  .greeting-texts h3 {
    position: relative;
    padding: 0 25px 5px 25px;
    display: inline-block;
    margin: 0 0 30px 0;
  }

  .greeting-box {
    display: unset;
    display: block;
  }

  .greeting-img {
    float: right;
    width: 50%;
    margin: 0 auto;
    order: 1;
    padding-left: 10px;
  }

  .greeting-texts {
    font-size: 16px;
    line-height: 1.7;
  }

  .greeting-text {
    width: 100%;
    padding-right: 0;
    order: 2;
  }

  .greeting-img2 {
    float: right;
    width: 50%;
    max-width: 400px;
    margin: 0 auto;
    padding-left: 10px;
  }

  .greeting-text2 {
    width: 100%;
    padding-left: 0px;
  }

  .font {
    font-family: "花鳥風月PB", sans-serif;
    font-size: 20px;
    padding-top: 0px;
    text-align: right;
  }

  /* -------------------------------access----------------------------------- */
  #access {
    padding-bottom: 60px;
  }

  .access-box {
    display: unset;
  }

  .access-img {
    width: 100%;
  }

  .access-texts {
    width: 100%;
    padding: 40px 10px;
  }
  /* ----------------------------contact-------------------------------- */

  /* ----------------------------footer-info-------------------------------- */
  .footer-info {
    text-align: center;
    padding-bottom: 40px;
  }

  .footer-info-box {
    display: unset;
  }

  .footer-menu {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
  }

  .footer-menu li {
    width: 33%;
  }

  .page-top {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 12px;
  }
}
