@charset "utf-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 751px) {
  /*フッター*/
  .footer_link ul {
    display: flex;
    justify-content: space-between;
  }

  .footer_link {
    border-bottom: 0.7px solid #000;
    padding: 12px 12%;
  }

  footer {
    height: auto;
    background-color: #ffffff;
    color: #454545;
    font-family: "Zen Maru Gothic", serif;
  }

  footer img {
    width: 13%;
  }

  .footer_link ul li {
    list-style: none;
  }
  .footer_link a {
    text-decoration: none;
    color: #000;
  }

  .footer_link a:hover {
    color: #03592a;
  }

  .footer_main_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 12%;
    gap: 40px;
  }

  .footer_contact {
    flex: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 0;
  }

  .footer_contact p {
    font-size: 1.1rem; /* PC版も少し大きく */
    margin-top: 15px;
  }

  footer img {
    width: 220px; /* 固定幅または大きめの指定に変更して高さを稼ぐ */
    max-width: 40%;
    height: auto;
  }

  .Copyright {
    padding: 20px 8px;
    text-align: center;
    border-top: 1px solid #eee;
  }
  /*フッターここまで*/
}

/*----------------------------
    PC向けここまで
------------------------------*/

/*----------------------------
    スマホ向けここから
------------------------------*/
@media screen and (max-width: 750px) {
  /*フッター　後日リンクを行にします*/
  footer {
    height: auto;
    background-color: #ffffff;
    color: #454545;
    font-family: "Zen Maru Gothic", serif;
    font-size: 0.95rem; /* サイズアップ */
  }

  footer img {
    width: 50%;
  }

  .footer_main_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 6%;
    gap: 30px;
  }

  .footer_contact {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .footer_contact p {
    font-size: 1.1rem !important; /* 強制的に適用 */
    line-height: 1.6;
  }

  .footer_link ul li {
    list-style: none;
    padding: 0 15px;
    width: 100%;
    display: block;
    width: 100%;
    position: relative;
  }
  .footer_link a {
    text-decoration: none;
    color: #000;
  }

  .footer_link ul li:hover {
    background-color: #ccc;
  }

  .footer_link ul li a {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 15px 0 15px 5%;
    color: #333;
  }

  .Copyright {
    padding: 15px 5px;
    text-align: center;
    font-size: 0.75rem; /* サイズアップ */
  }
  /*フッターここまで*/
}
/*----------------------------
    スマホ向けここまで
------------------------------*/
