/* md以上 */
@media (min-width: 768px) {
   .shadow {
      box-shadow: none !important;
   }
}
/* スマホ対応(md以下) */
@media (max-width: 767px) {
   .bg-gray {
      background-color: #bfc6ce;
   }
   .shadow {
      box-shadow: 0 0.5rem 1rem rgba(black, 0.15) !important;
   }
   #home0 {
      font-size: 10rem;
   }
   #home1 {
      flex-direction: column;
      height: auto;
      padding: 3rem 0;
   }
   #home1::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 50%;
      height: 500%;
      background: none;
      opacity: 0.3;
      z-index: -2; /* 背景を最背面に */
   }
   #home1::after {
      top: 15%;
      height: 10rem; /* 斜線を細く */
      background: #738699; /* 線の色 */
      transform: rotate(-20deg); /* 角度を調整 */
   }

   .content {
      width: 90%; /* スマホではコンテンツ幅を広げる */
   }
   #home2 {
      flex-direction: column;
      position: relative; /* ::before の基準位置 */
      height: auto;
   }
   #company3 > div {
      flex-direction: column;
   }
   #company3 > div > div {
      width: 50%;
      margin: 0;
      margin-left: auto;
      margin-right: auto;
   }
   #greeting-card {
      position: absolute;
      top: 80%;
      left: 50%;
      width: 75%;
      transform: translate(-50%, -50%);
   }
   #presedentImg {
      height: 35rem;
   }
   .business {
      position: relative; /* ::before の基準位置 */
      flex-direction: column;
      height: auto;
   }
   .business::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1; /* 背景を最背面に */
   }
   #business2::after {
      content: "";
      height: 8rem; /* 線の太さ */
      top: -10%;
      right: -10%;
      transform: rotate(-30deg);
   }

   #business4::after {
      content: "";
      height: 8rem; /* 線の太さ */
      background: #1a3d70; /* 線の色 */
      top: 50rem;
      left: -25rem;
      transform: rotate(-30deg);
      z-index: -2; /* 背景を最背面に */
   }
   #business5::before {
      content: "";
      height: 8rem; /* 線の太さ */
      background: #1a3d70; /* 線の色 */
      top: 60rem;
      right: -30rem;
      transform: rotate(-30deg);
   }
   .w-underLG-50 {
      width: 75%;
   }
   .md-wrap {
      display: block;
   }
}
