
  
/* about */
#about .philosophy{
    width: 95%;
    margin: auto;
}

#about .philosophy h3{
    background-color: #ddd;
    width: fit-content;
    margin: 20px 0;
    padding: 2px 5px;
    font-size: 30px;
}

#about .philosophy .text{
    font-size: 18px;
    line-height: 40px;
    margin: 50px 0;
}

#about .philosophy_imgs{
    margin: 30px 0;
    width: 100%;
    display: flex;
    justify-content:space-between;
}

#about .philosophy_img{
    width: 48%;
}

#about .philosophy_img img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}
    

@media (max-width: 1280px) {
  #about .philosophy h3{
    font-size: 25px;
}
#about .philosophy .text{
  line-height: 35px;
}


 }
@media (max-width: 1024px) {
  #about .philosophy h3{
    font-size: 20px;
}
#about .philosophy .text{
  font-size: 15px;
  line-height: 30px;
}
}



@media (max-width: 600px)  { 
  #about .philosophy h3{
    font-size: 15px;
    margin: 15px 0;
    padding: 3px;
}
#about .philosophy .text{
  font-size: 13px;
  line-height: 25px;
  margin: 30px 0;
}

}
@media (max-width: 420px)  { 
  #about .philosophy h3{
    font-size: 13px;
    margin: 10px 0;
    padding: 3px;
}

 }



















.message{
    width: 95%;
    margin: 50px auto;
}
.message .img_text{
    display: flex;
    align-items: center;
}

.message_content{
    background-color: #13564D;
    padding: 50px 40px;
    border-radius: 20px;
    color: #fff;
}

.message_content h3{
  font-size: 40px;
  /* border-bottom: 2px solid #fff; */
  width: fit-content;
  /* padding: 10px 3px; */
  background-color: #fff;
  padding: 3px 10px;
  color: #13564D;
}
.message .text {
    font-size: 18px;
    line-height: 35px;
    margin: 50px auto 0;
}

.message .text .ceo{
  margin: 20px 0 0 auto;
  width: 100%;
  text-align: right;
}








    
@media (max-width: 1920px) { }
@media (max-width: 1440px) { 
 
 }
@media (max-width: 1280px) {  }
@media (max-width: 1024px) { }
@media (max-width: 768px)  { 

 }
@media (max-width: 600px)  { }
@media (max-width: 420px)  {  }



  .history {
    width: 80%;
    margin: 100px auto;
    /* font-family: 'Noto Sans JP', sans-serif; */
    text-align: center;
  }
  
  .history h2 {
    font-size: 20px;
    margin-bottom: 40px;
  }
  
  .history ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .history li {
    border-top: 2px solid #e85b5b;
    padding: 20px 0;
    text-align: left;
  }
  
  .history li:last-child {
    border-bottom: 2px solid #e85b5b;
  }
  
  .history .year {
    display: inline-block;
    width: 180px;
    font-weight: bold;
  }
  
  .history .desc {
    display: inline-block;
    max-width: 70%;
  }
  
  .history li.highlight {
    border: 2px dashed #3498db;
    background-color: #f4faff;
  }
  






    
@media (max-width: 1920px) { }
@media (max-width: 1440px) { 
 
 }
@media (max-width: 1280px) {  }
@media (max-width: 1024px) { }
@media (max-width: 768px)  { 

  .history {
    width: 95%;
    margin: 100px auto;
    /* font-family: 'Noto Sans JP', sans-serif; */
    text-align: center;
  }


  .history .desc {
    display: inline-block;
    max-width: 100%;
  }
 }
@media (max-width: 600px)  { }
@media (max-width: 420px)  {  }

/* ========== 会社概要 ========== */
.company-profile table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.company-profile h2{
font-size: 20px;
margin: 0 auto 40px;width: fit-content;

}
/* PC 表示：2列 */
.company-profile th,
.company-profile td {
  padding: 15px;
  vertical-align: top;
  border-bottom: 2px solid #e85b5b;
}
.company-profile th {
  width: 160px;
  font-weight: normal;
}

/* Google Map を包む div でレスポンシブ */
.company-profile .map-wrap {
  margin-top: 10px;
  width: 100%;
}
.company-profile .map-wrap iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* ========== Responsive（〜768px） ========== */
@media (max-width: 768px) {

  .company-profile {
    width: 95%;
    margin: auto;
  }

  /* 沿革：説明を 100% 幅に */
  .history .desc { max-width: 100%; }

  /* 会社概要：縦並びカード風レイアウト */
  .company-profile table,
  .company-profile tbody,
  .company-profile tr,
  .company-profile th,
  .company-profile td {
    display: block;
    width: 100%;
  }

  .company-profile tr {
    border-top: 2px solid #e85b5b;
    padding: 15px 0;
  }

  .company-profile th {
    border-bottom: none;
    font-weight: bold;
    /* background: #f9f9f9; */
    padding: 10px 15px 5px;
  }

  .company-profile td {
    border-bottom: none;      /* モバイルは下線を tr でまとめて表示 */
    padding: 5px 15px 15px;
  }

  /* Map の高さをやや縮小 */
  .company-profile .map-wrap iframe {
    height: 300px;
  }
}



/* =============================
   共通レイアウト：content-block
   ============================= */
   .content-block{
    width: 90%;          /* PC 幅：左右 5% ずつマージン */
    max-width: 1200px;   /* 最大幅を決めて行間を読みやすく */
    margin: 0 auto;      /* 中央寄せ */
    padding: 0 0 80px;   /* 下余白を揃える（お好みで） */
  }
  
  /* ------ ブレイクポイントはこれだけで足ります ------ */
  @media (max-width: 1024px){
    .content-block{ width: 95%; }
  }
  @media (max-width: 600px){
    .content-block{
      width: 92%;
      padding: 0 0 60px; /* モバイルは少し狭め＆余白縮小 */
    }
  }
  
  /* ===== 見出し（h3 や section_title）も視認性を統一 ===== */
  .section_title span,
  #about .philosophy h3,
  .message_content h3,
  .history h2,
  .company-profile h2{
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.3;
    margin-bottom: 24px;
  }
  
  /* ===== 残っていた各セクション固有の width 指定を neutralize ===== */
  /* 例：#about .philosophy ほか —— width を消してラッパーに委任 */
  #about .philosophy,
  .message,
  .history,
  .company-profile{
    width: auto;   /* 既存 width を上書き */
    margin: 100px auto;     /* 上書きしてラッパー依存に */
  }