/* Sedical layout adjustments (2026-11-15)
   余白は黄金比の数列（13 / 21 / 34 / 55 / 89 / 144px）で統一
   PC：見出し→本文 89 / セクション末 144　SP：見出し→本文 55 / セクション末 89 */

/* ---------- ロゴ（文字の高さを見出しの大きさに合わせる） ---------- */
.mv-ttl .pc-sm .on img{width:340px;height:auto;}
.mv-ttl .pc-sm .off img{width:132px;height:auto;}
.mv-ttl .sp-sm .on img{width:236px;height:auto;}
.mv-ttl .sp-sm .off img{width:94px;height:auto;}
.footer-logo img{width:144px;height:auto;}

/* ---------- 小見出しの線をコラムの右端まで伸ばす ---------- */
.ttl-comp03::before{width:auto;right:0;}

/* ---------- 会社概要：行ごとの罫線 ---------- */
.company-info .item{margin:0!important;padding:21px 0!important;border-top:1px solid rgba(255,255,255,.3);}
.company-info .item:last-child{border-bottom:1px solid rgba(255,255,255,.3);}

/* ---------- 事業内容：相談ボタンを本文の左端にそろえる ---------- */
.service-list__item .sedical-oem-link{display:table;margin-left:max(0px,calc(100% - 443px));}

/* ---------- PC・タブレット ---------- */
@media screen and (min-width:768px){
  .sec-about,.sec-news,.sec-service,.sec-company,.sec-contact{padding-bottom:144px!important;}
  .ttl-comp01{margin-bottom:70px!important;}
  .ttl-comp01 + *{margin-top:0!important;}

  .sec-about .box-comp > .ttl-comp02{margin-bottom:89px!important;}
  .about-list .item{margin-top:0!important;margin-bottom:0!important;}
  .about-list .item + .item{margin-top:89px!important;}
  .ttl-comp03{margin-bottom:21px!important;}
  .about-list .box > .ttl-comp02{margin-bottom:21px!important;}

  .news-list > li{margin-top:0!important;margin-bottom:0!important;}
  .news-list > li + li{margin-top:55px!important;}
  .news-list .ttl{width:76.4%!important;}
  .news-list .txt-date{width:23.6%!important;text-align:right;}
  .sedical-news-more-wrap{margin-top:55px!important;}

  .service-list > li{margin-top:0!important;margin-bottom:0!important;}
  .service-list > li + li{margin-top:89px!important;}
  .service-list__item .company-list{margin-top:55px!important;}

  .contact-list{max-width:855px!important;margin-left:auto!important;margin-right:auto!important;}
  .contact-list__item{margin:0!important;padding:21px 0!important;border-top:1px solid rgba(66,123,191,.3);align-items:baseline;}
  .contact-list__item:last-child{border-bottom:1px solid rgba(66,123,191,.3);}
  .contact-list__item .l{flex:0 0 163px!important;width:163px!important;max-width:none!important;}
}

/* ---------- PC：見出しを本文コラムの左端にそろえ、左右対称にする ---------- */
@media screen and (min-width:991px){
  .sec-about .ttl-comp01,.sec-news .ttl-comp01,.sec-service .ttl-comp01,
  .sec-company .ttl-comp01,.sec-contact .ttl-comp01{padding-left:120px;}
  .company-info{max-width:855px!important;}
  .service-list__item .sedical-oem-link{margin-left:calc(100% - 665px);}
  .service-list__item .txt-basic03--en ~ .sedical-oem-link{margin-left:calc(100% - 554px);}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width:767px){
  /* 見出しが色の境目にわずかに重なる位置（PCと同じ比率） */
  .ttl-comp01{top:-13px!important;margin-bottom:42px!important;}
  .ttl-comp01 + *{margin-top:0!important;}
  .sec-about,.sec-news,.sec-service,.sec-company,.sec-contact{padding-bottom:89px!important;}

  .sec-about .box-comp > .ttl-comp02{margin-bottom:55px!important;}
  .about-list .item{margin-top:0!important;margin-bottom:0!important;}
  .about-list .item + .item{margin-top:55px!important;}
  .ttl-comp03{margin-bottom:13px!important;}
  .about-list .box > .ttl-comp02{margin-bottom:13px!important;}

  .news-list > li{margin-top:0!important;margin-bottom:0!important;}
  .news-list > li + li{margin-top:34px!important;}
  .sedical-news-more-wrap{margin-top:34px!important;}

  .service-list > li{margin-top:0!important;margin-bottom:0!important;}
  .service-list > li + li{margin-top:55px!important;}
  .service-list__item .company-list{margin-top:34px!important;}
  .service-list__item .sedical-oem-link{margin-top:21px;}
}
