@charset "UTF-8";
/* CSS Document */
body {
font-family: "Noto Sans JP", sans-serif;
font-optical-sizing: auto;
font-style: normal;font-size: 16px;
}

/* header本体 */
header {
  width: 100%;
  height: 50px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 4, 0, 0.25);
    position: absolute;
}

/* 中身のラッパー */
#headerWrap {
  max-width: 1100px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;        /* 縦中央 */
  justify-content: space-between;
}

/* ロゴ */
#headerWrap h1 {
  margin: 0;
  line-height: 1;
}

#headerWrap h1 img {
  display: block;
  height: 30px; /* 50pxヘッダーに対して安全なサイズ */
}

/* メニュー */
#headerMenu {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  align-items: center; /* 念のため */
}

#headerMenu a {
  display: flex;
  align-items: center; /* クリック領域も中央に */
  height: 50px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

#headerMenu a:hover {
  opacity: 0.7;
}

/* メインビジュアル */

#mainvisual {
    width: 100%;
    height: 687px;
    background-image: url("images/mvBack.png");
    background-position: center center;
    background-size: 100% auto;
    padding-top: 50px;
    margin-bottom: 0px;
}
#mainvisual #mvBody {
    width: 1100px;
    height: 637px;
    margin: 0px auto;
    background-image: url("images/mvMain.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: auto 100%;
    position: relative;
}
#mainvisual #mvBody #mvCont {
    width: 380px;
    height: auto;
    position: absolute;
    top: 50%;
    margin-top: -95px;
}

#mvCta h2{font-size: 16px;line-height: 25px;font-weight: normal;}
#mvCta #mvCtaImage {width: 100%;height: auto;}
#mvCta #mvCtaImage img {width: 100%;height: auto;}
#mvCta #mvCtaBtn {width: 100%;height: auto;}
#mvCta #mvCtaBtn a {display: block;width: 100%;height: 68px;background-color: #166EB8;border-radius: 100px;color: #fff;font-size: 24px;line-height: 68px;text-decoration: none;text-align: center;font-weight: bold;}




/* セクション */
section.contbody {
  width: 1100px;
  margin: 0 auto 80px;
}

/* 見出し */
.mds-h3 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 10px;
}

/* 見出し下の青ライン */
#newsList {
  margin: 0;
  padding: 0;
  border-top: 1px solid #166EB8;
}





/* 各行 */
#newsList dt,
#newsList dd {
  margin: 0;
  padding: 20px 0;
}

/* 日付 */
#newsList dt {
  float: left;
  width: 140px;
  font-size: 13px;
  color: #555;
    line-height: 1.6;
}

/* 本文 */
#newsList dd {
  padding-left: 140px;
  font-size: 14px;
  line-height: 1.6;
    margin-top: -1px;
  border-bottom: 1px solid #166EB8; 
  box-sizing: border-box;
    
}

/* リンクは「リンクらしく」 */
#newsList dd a {
  color: #222;
  text-decoration: underline;
}

#newsList dd a:hover {
  opacity: 0.7;
}

/* float解除（必須） */
#newsList::after {
  content: "";
  display: block;
  clear: both;
}

/* セクション */
#service {
  margin-bottom: 80px;
}

/* 3カラムラッパー */
#serviceWrap {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

/* 各カード */
.serviceBox {
  width: calc((100% - 80px) / 3); /* gap40px ×2 を考慮 */
  text-align: left;
}

/* 画像 */
.serviceBox .image {
  width: 100%;
  margin-bottom: 16px;
}

.serviceBox .image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 見出し */
.serviceBox h3 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
}

/* 説明文 */
.serviceBox .svtext {
  line-height: 20px;
  margin: 0 0 12px;
    display: block;
    height: 40px;
}

/* リンク */
.serviceLink {text-align: right;}
.serviceLink a {
  color: #000;
  text-decoration: underline;
}

.serviceLink a:hover {
  opacity: 0.7;
}

/* footer全体 */
footer {
  width: 100%;
  background: #0b6fb3;
  color: #fff;
}

/* 上段ラッパー */
#footerWrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* 2段目を許容 */
}

/* ロゴ */
#footerLogo {
    display: block;
    border-radius: 3px;
    background-color: #fff;
}
#footerLogo img {
  height: 28px;
  display: block;
}

/* メインメニュー */
#footerMenu {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footerMenu a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

#footerMenu a:hover {
  opacity: 0.7;
}

/* サブメニュー（法定リンク） */
#footerMenu2 {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

#footerMenu2 a {
  color: #fff;
  text-decoration: none;

  white-space: nowrap;
}

#footerMenu2 a:hover {
  opacity: 0.7;
}

/* コピーライト */
#copy {
  text-align: center;
  font-size: 12px;
  padding: 16px 0 24px;
}

body#mission #contMv {background-image: url("images/mvback-misson.png");}
body#company #contMv {background-image: url("images/mvback-company.png");}
body#works #contMv {background-image: url("images/mvback-works.png");}
body#contact #contMv {background-image: url("images/mvback-contact.png");background-position: center 50px!important;background-size: auto 240px;}
#contMv {
    background-position: center center;
    background-size: 100% auto;
    width: 100%;
    height: 290px;
    background-repeat: no-repeat;
    padding-top: 50px;
    margin-bottom: 150px;
}
#contMv h2 {
    display: block;
    width: 100%;
    height: 240px;
    line-height: 240px;
    text-align: center;
    color: #fff;
    font-size: 40px;
    background-color: rgba(0,0,0,0.60);
}

#missioncb h3 {
    text-align: center;
    font-size: 40px;
    line-height: 50px;
    color: #166EB8;
    font-weight: bold;
    margin-bottom: 50px;
}

#missionTxt {text-align: center;margin-bottom: 150px;}
#missionTxt p {font-size: 26px;line-height: 34px;color: #166EB8;margin-bottom: 30px;}


/* セクション全体 */
#workscb,#companycb,#contactcb {
    margin-bottom: 150px;
}

/* 各ブロック */
.worksWrap {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 150px;
}

/* 最後だけ余白不要 */
.worksWrap:last-child {
  margin-bottom: 0;
}

/* 画像 */
.worksWrap .image {
  flex-shrink: 0;
  width: 300px;
}

.worksWrap .image img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト側 */
.worksWrap dl {
  margin: 0;
}

/* タイトル */
.worksWrap dt {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* 説明文 */
.worksWrap dd {
  margin: 0;
}

.worksWrap dd p {
  font-size: 24px;
  line-height: 1.8;
  color: #333;
  margin: 0 0 10px;
}

/* リンク */
.worksWrap dd a {
  font-size: 16px;
  color: #333;
  text-decoration: underline;
  float: right;
    clear: both;
}

.worksWrap dd a:hover {
  opacity: 0.7;
}


#companycb {
    width: 720px;margin: 0px auto;
}

/* dl全体 */
.companyInfo {
  display: grid;
  grid-template-columns: 260px 1fr; /* 左ラベル / 右内容 */
  border-top: 1px solid #ddd;
  margin: 0;
  padding: 0;
}

/* dt / dd 共通 */
.companyInfo dt,
.companyInfo dd {
  padding: 14px 16px;
  margin: 0;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.6;
}

/* 左カラム（項目） */
.companyInfo dt {
  background: #f5f5f5;
  font-weight: 500;
}

/* 右カラム（内容） */
.companyInfo dd {
  background: #fff;
}

/* 役職ブロック（詰める） */
.companyInfo dt.post,
.companyInfo dd.post {
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: none;
}

/* 役職ブロックの最後だけ罫線を戻す */
.companyInfo dd.post:last-of-type {
  border-bottom: 1px solid #ddd;
}

/* リンク（もし今後入った場合） */
.companyInfo a {
  color: #2563eb;
  text-decoration: underline;
}

.companyInfo a:hover {
  opacity: 0.7;
}

#contactWrap {width: 518px;height: auto;margin: 0px auto;}
#contactWrap iframe {width: 576px;height: 1000px;}

@media screen and (max-width: 768px) {

  /* ★ flexを完全に殺す */
  #footerWrap {
    display: block !important;
  }

  #footerMenu,
  #footerMenu2 {
    display: block !important;
  }
  #footerMenu .bexa {
        text-align: center;
        margin-bottom: 20px;
        margin-top: -20px;
    }
  /* ロゴ */
  #footerLogo {
    width: 100px;
    margin: 0px auto 30px;
  }

  /* メインメニュー */
  #footerMenu li {
    display: block;
    margin: 0px 30px 8px;
  }

  /* サブメニュー */
  #footerMenu2 li {
    display: block;
    margin-bottom: 6px;
    margin: 0px 30px 8px;

  }
}


/* ハンバーガー（PC非表示） */
#menuBtn,#spMenu {
  display: none;
}

@media screen and (max-width: 768px) {
header {
  height: 60px;
}
    #spMenu {display: block;}
#headerWrap h1 {
  margin-left: 10px;
}
  /* PCメニュー非表示 */
  #headerMenu {
    display: none;
  }

  /* ハンバーガー */
  #menuBtn {
    display: block;
    width: 40px;
    height: 40px;
    background: #0b6fb3;
    border: none;
    cursor: pointer;
    position: relative;
      margin-right: 10px;
  }

  #menuBtn span {
    position: absolute;
    left: 10px;
    width: 20px;
    height: 2px;
    background: #fff;
    transition: .3s;
  }

  #menuBtn span:nth-child(1) { top: 12px; }
  #menuBtn span:nth-child(2) { top: 19px; }
  #menuBtn span:nth-child(3) { top: 26px; }

  /* SPメニュー */
  #spMenu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: #0b6fb3;
    transform: translateX(100%);
    transition: .3s;
      z-index: 2000; /* ← 最重要 */
  }

  #spMenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #spMenu li {
    border-bottom: 1px solid rgba(255,255,255,.3);
  }

  #spMenu a {
    display: block;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    position: relative;
  }

  #spMenu a::after {
    content: ">";
    position: absolute;
    right: 20px;
  }

  /* OPEN状態 */
  header.open #spMenu {
    transform: translateX(0);
  }

  header.open #menuBtn span:nth-child(1) {
    transform: rotate(45deg);
    top: 19px;
  }

  header.open #menuBtn span:nth-child(2) {
    opacity: 0;
  }

  header.open #menuBtn span:nth-child(3) {
    transform: rotate(-45deg);
    top: 19px;
  }
}

@media screen and (max-width: 768px) {
/*index SP*/
#mainvisual {
    width: 100%;
    height: 600px;
    background-position: center center;
    background-size: 100% auto;
    padding-top: 50px;
    margin-bottom: 50px;
}
#mainvisual #mvBody {
    width: auto;
    height: 550px;
    margin: 0px auto;
    background-position: center 30px;
    background-image: url(images/mvMain_sp.png);
    background-size: 320px auto;
    position: relative;
}
#mainvisual #mvBody #mvCont {
    width: auto;
    padding: 0px 20px;
    height: auto;
    position: absolute;
    top: auto;bottom: 0px;
    margin-top: 0px;
}

#mvCta h2{font-size: 16px;line-height: 25px;font-weight: normal;}
#mvCta #mvCtaImage {width: 100%;height: auto;}
#mvCta #mvCtaImage img {width: 100%;height: auto;}
#mvCta #mvCtaBtn {width: 100%;height: auto;}
#mvCta #mvCtaBtn a {display: block;width: 100%;height: 68px;background-color: #166EB8;border-radius: 100px;color: #fff;font-size: 24px;line-height: 68px;text-decoration: none;text-align: center;font-weight: bold;}

    section.contbody {width: auto;margin: 0px 20px 80px;}
    #newsList {padding: 0px 0px;}
    #newsList dt {width: 100px; padding-left: 10px;}
    #newsList dd {padding-left: 100px; padding-right: 10px;}
    #serviceWrap {display: block;}
    .serviceBox {width: 100%;margin-bottom: 20px;}
    
    
    
/*mission SP*/
    
#contMv {
    background-size: auto 200px;
    width: 100%;
    height: 220px;
    background-repeat: no-repeat;
    padding-top: 50px;
    margin-bottom: 50px;
}
#contMv h2 {
        width: 100%;
        height: 160px;
        line-height: 160px;
        font-size: 30px;
    }
section.contbody {
        width: auto;
        margin: 0px 20px 50px;
    }
#missioncb h3 {font-size: 20px;line-height: 35px;}
    #missionTxt {margin-bottom: 20px;}
#missionTxt p {font-size: 16px;line-height: 30px;text-align: center;}
    
    
.worksWrap {
    display: block;
    align-items: center;
    margin-bottom: 100px;
}
    
.worksWrap dd p {
    font-size: 18px;
    margin: 0 0 10px;
}
    
#companycb {width: auto;margin: 0px 20px;}
    
.companyInfo {
    display: block;
    border-top: none;
    margin: 0 0 50px 0;
    padding: 0;
}
    
.companyInfo dt, .companyInfo dd {
    padding: 14px 16px;
    margin: 0;
    border-bottom: none;
    font-size: 14px;
    line-height: 1.6;
} 
    
#contactWrap {
    width: 320px;
    height: auto;
    margin: 0px auto;
}    

    
    #contactWrap iframe {width: 320px !important; margin: 0px auto 50px;height: 1200px;}
    
    
body#contact #contMv {
    background-image: url(images/mvback-contact.png);
    background-position: center 46px !important;
    background-size: auto 80%;
}
}
