/* オープニング */
#opening-animation {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: linear-gradient(to bottom, #131844, #222b77);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: 'Hiragino Mincho Pro', serif;
  }

  .opening-logo {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0;
  }

  .keywords p {
    font-size: 1.2rem;
    color: #fff;
    margin: 0.3rem 0;
    opacity: 0;
  }
    body {
    background: var(--content-BKcolor);
  }
  #main-content {
  background: var(--font-color_ff);
  opacity: 0;
  transition: opacity 1s;
}
#main-content.is-visible {
  opacity: 1;
}
/* オープニング */



section.sec_1 {
    background: url(../img/mv_pc.png) no-repeat center center;
    background-size: cover;
    width: 100%;
    height: calc(100vh - 70px); /* ヘッダーの高さを引く */
    position: relative;
}
.font_colo_w{
    color: var(--font-color_ff);
}
.sec_1 h2 {
    font-size: 30px;
    position: absolute;
    bottom: 30%;
    right: 4%;
    line-height: 1.5;
}
/* お問い合わせ　コンタクト */
.contact{
    width: 100%;
    color: var(--font-color_ff);
    background-color:var(--content-BKcolor);
    padding: 1rem;
    position: absolute;
    z-index: 10;
    bottom: 0;
    text-align: right;
}
.contact a{
    display: block;
}

/* 会社概要 */
.company_overview {
    margin: 5rem auto;
}
.company_overview h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 2rem;
}
/* ...テーブル... */
.business_detail {
    margin: 0 auto;
    border-collapse: collapse; /* 線を重ねてスッキリ見せる */
}

.business_detail th,
.business_detail td {
    border: 1px solid #333; /* 線の色や太さはお好みで調整 */
    padding: 2rem 3rem;
    text-align: left;
}
.business_detail th {
    font-weight: normal; /* 必要なら太さも調整 */
}
/* ...//ここまで... */

/* お知らせ */
.sec_3 {
    background: #f0f0f0;      /* 薄いグレー */
    text-align: center;       /* テキスト中央寄せ */
    padding: 3rem 0;          /* 上下余白 */
}

.sec_3 h2 {
    margin-bottom: 1rem;
}

.sec_3 .news_list {
    margin: 0 auto;
    padding: 0;
}
.sec_3 .news_list li {
    padding: 1rem 0;
    border-bottom: 1px solid #cbcbcb;
}
.news_list span{
    margin-right: 2rem;
}





/* フッター */
footer {
    background-color: var(--content-BKcolor);
    color: var(--font-color_ff);
    padding: 1rem 2rem;
}
.f_sec_1{
    justify-content: space-between;
    align-items: center;
}
.f_sec_1 h1{
    margin-top: 2rem;
}


.f_sec_1 h1 a {
    padding: 1rem;
    background-color: #000;
}

.f_sec_1 nav{
    align-items: center;
    justify-content: flex-end;
}
.f_sec_1 nav li{
    width: calc(100% / 4);
}

.f_sec_1 a{
    font-size: 14px;
}

/* コピーライト */

.copyright_text{
    text-align: center;
    padding: 1rem 0;
    font-size: 12px;
    color: #fff;
}

/* sp */
@media (width < 900px) {
/* メイン */
  section.sec_1 {
    background-image: url(../img/mv_sp.png);
  }
.sec_1 h2 {
    font-size: 20px;
    bottom: 0;
    top: 40%;
}
.company_overview h2 {
    font-size: 18px;
}

/* 会社概要 */
.business_detail th, .business_detail td {
    padding: 1rem;
    font-size: 14px;
}
.business_detail.w80 {
    width: 100%;
}
.sec_3 .news_list a,
.sec_3 .news_list span {
    font-size: 14px;
}

/* sp　フッター */
footer{
    padding: 1rem 1rem;
}
.f_sec_1{
        flex-wrap: wrap;
}
.f_sec_1 nav {
    order: 1;
    width: 100%;
    flex-wrap: wrap;
}
.f_sec_1 h1 {
    order: 2;
    width: 100%;
    text-align: center;
}

.f_sec_1 nav li {
    width: calc(100% / 3);
}

.f_sec_1 .button_b {
    width: 100%;
}
.f_sec_1 .sns_botm{
    flex-wrap: unset;
    padding: 1rem 4rem;
}

.f_sec_1 .sns_botm li {
    width: calc(100% / 4);
}

}


