@charset "UTF-8";

main {
  padding: 120px 0;
}

p.subtitle {
  font-size: 20px; 
  text-align: center;
  margin-bottom: 120px;
}

.wrapper {
  min-height: 0;
}
/*-------------------------------------------
ABOUT
-------------------------------------------*/
.container {
  padding: 0 100px;
}

.company-info {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: grid;
  grid-template-columns: 140px 1fr; /* 左カラム固定幅 */
}

.company-info dt {
  font-weight: bold;
  border-top: 1px solid var(--color-bl);
  padding-top: 20px;
  font-size: var(--font-size-16);
}

.company-info dd {
  line-height: 1.4;
  border-top: 1px solid var(--color-bl);
  padding: 16px 0;
  font-size: var(--font-size-16);
}

ul li {
 margin-bottom: 8px;
}

ul li:last-child {
 margin-bottom: 0px;
}

.info-row:last-child {
  border-bottom: 1px solid var(--color-bl);
}

.company-sns {
  text-decoration: underline;
  text-underline-offset: 4px;  
  color: var(--color-bl); 
  text-decoration-thickness: .5px;
}

/* telリンクを全ブラウザで強制的に黒（var(--color-bl)）に固定 */
.company-info dd a[href^="tel:"]:any-link,
.company-info dd a[href^="tel:"]:link,
.company-info dd a[href^="tel:"]:visited,
.company-info dd a[href^="tel:"]:hover,
.company-info dd a[href^="tel:"]:active {
  color: var(--color-bl) !important;
  text-decoration: none !important;
}


/*-------------------------------------------
SP (スマホ)
-------------------------------------------*/
@media screen and (max-width: 767px) {
  main {
  padding: 48px 0 40px;
  }

  h2 {
    margin-bottom: 16px;
  }

  p.subtitle {
    font-size: var(--font-size-16); 
    margin-bottom: 40px;
  }
  
  .info-row {
  grid-template-columns: 88px 1fr; 
  }

  .container {
  padding: 0;
  }

  .info-row dt.sns,
  .info-row dd.sns,
  .info-row dt.business,
  .info-row dd.business {
    display: block !important; 
    grid-column: 1 / -1 !important;
  }

  .info-row dt.sns,
  .info-row dt.business {
    padding-bottom: 8px; /* dt の下に 8px 空ける */
  }

  .info-row dd.sns,
  .info-row dd.business {
    border-top: none;   /* dt と dd の間の線は消す */
    padding-top: 0;
  }
}