/* 全体リセット */

html {
  scroll-behavior: smooth;
}

body, ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: #000;
}

/* ヘッダー */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  /* box-shadow: 0 1px 4px rgba(0,0,0,0.1); */
}

.logo {
}

.logo img {
    width: 340px;
}

#about,
#partners,
#company,
#contact {
    margin-top: -100px;
    padding-top: 100px;
}

/* PCナビ */
.nav ul {
  display: flex;
  gap: 30px;
}
.nav a {
  font-size: 15px;
}

/* ハンバーガーボタン */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 14px;
  cursor: pointer;
  z-index: 1100;
}
.bar {
  height: 2px;
  width: 100%;
  background-color: #000;
  transition: all 0.3s;
}

/* ====== 見出し共通（前回のスタイル） ====== */
.sec_ttl {
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  position: relative;
  display: inline-block;
  margin: 0 auto 40px;
}
.sec_ttl::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 134px;
  height: 2px;
  background: linear-gradient(to right, #043A9F 50%, #b37b43 50%);
}

.sec_txt01 {
    line-height: 2;
    padding-bottom: 150px;
}

.sec_txt02 {
    line-height: 2;
    margin-bottom: 80px;
}

.sec_txt03 {
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.sec_txt04 {
    line-height: 1.8;
    margin-bottom: 30px;
}

.img01 {
    position: relative;
    top: -18vh;
}

.img02 {
    
}

.mgn01 {
    position: relative;
    top: 0;
}

.top_ttl {
    font-size: 34px;
    text-align: center;
    font-weight: 600;
    padding: 40px;
    font-family: serif;
}


.about_cnt,
.partners_cnt {
    text-align: center;
}

.about_cnt {
    background-image: url(../img/home/bg-img.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    z-index: 2;
    position: relative;
}

.partners_cnt,
.company_cnt {
  max-width: 800px;
  margin: 0 auto 100px;
}

.contact_cnt {
  max-width: 960px;
  margin: 0 auto 100px;
}

#partners h3 {
    font-family: serif;
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}


/* ====== 会社概要 ====== */
.company_cnt {
  padding: 0 20px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 15px 10px;
  border-bottom: 1px solid #ccc;
  text-align: left;
  vertical-align: top;
}

/* 項目名の左線 */
.company-table th {
  width: 25%;
  position: relative;
  font-weight: 600;
}
.company-table th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  transform: translateY(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(#043A9F 50%);
}

/* 関連会社リンク */
.company-table a {
  color: #043A9F;
  text-decoration: none;
  border-bottom: 1px solid #043A9F;
  transition: opacity 0.3s;
}
.company-table a:hover {
  opacity: 0.7;
}

#contact .tel-cnt {
    border: solid 2px #29529D;
    border-radius: 10px;
    width: 100%;
    padding: 30px 0;
    text-align: center;
    margin-bottom: 30px;
}

.blue_ttl {
    font-size: 16px;
    font-weight: bold;
    color: #29529D;
    text-align: center;
}

.tel-cnt a {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 15px;
}

.form {
    padding: 45px 120px 60px;
    background-color: #EFEFEF;
    border-radius: 10px;
    width: 100%;
}

.form .blue_ttl {
    margin-bottom: 35px;
}

.form_tbl {
    width: 100%;
    margin-bottom: 40px;
}
.form_tbl tr {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    gap: 5px;
}
.form_tbl tr th {
    font-size: 16px;
    font-weight: bold;
}

.form_tbl tr th span {
    color: #fff;
    background-color: red;
    border-radius: 5px;
    padding: 1px 5px;
    font-size: 12px;
    margin-left: 10px;
}

.form_tbl tr td {
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    border: solid 1px #DDDDDD;
}

.form_tbl tr td span {
    display: block;
    width: 100%;
}

.form_tbl tr td span input,
.form_tbl tr td span textarea {
    display: block;
    width: 100%;
    padding: 5px;
}

.privacy {
    margin: 0 auto 30px;
    text-align: center;
}

.privacy a {
    display: inline-block;
    text-decoration: underline;
    transition: all ease 0.3s;
}

.privacy a:hover {
    opacity: 0.5;
}

.form_submit {
    width: 100%;
    color: #fff;
    font-weight: bold;
}
.form_submit .submit_btn {
    display: block;
    border-radius: 30px;
    background-color: #043A9F;
    padding: 10px 80px;
    margin: 0 auto;
    transition: all ease 0.3s;
}

.form_submit .submit_btn:hover {
    opacity: 0.5;
}

footer {
    margin-bottom: 15px;
}

footer .nav {}
footer .nav ul {
    justify-content: center;
    margin-bottom: 30px;
}

footer p {
    text-align: center;
}



/* モバイル時 */
@media screen and (max-width: 768px) {
    main {
        /* padding: 0px 20px; */
    }
    .header {
        padding: 20px 30px;
    }

    .logo {
        z-index: 1001;
    }

    .logo img {
        width: 132px;
    }
    .nav {
        position: fixed;
        top: 0px;
        left: 0;
        background: #fff;
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }
    .nav.active {
        transform: translateY(0);
    }
    .nav ul {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .menu-btn {
        display: flex;
    }

    /* ✗ボタンのアニメーション */
    .menu-btn.active .bar:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    .menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-btn.active .bar:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    .top_ttl {
        font-size: 25px;
    }

    .sec_ttl {
        margin-bottom: 30px;
    }

    .sec_txt01,
    .sec_txt02,
    .sec_txt03 {
        text-align: start;
        padding: 0px 20px;
    }

    .sec_txt03 {
        padding: 0;
    }

    .img01 {
        top: -5vh;
    }

    #partners h3 {
        font-size: 20px;
    }

    .img02.vis-sp {
        max-width: 250px;
        width: 100%;
        display: block;
        margin: 0 auto;
    }

    .img02.hide-sp {
        display: none;
    }

    .company-table th {
        width: 30%;
    }

    #contact .tel-cnt {
        padding: 10px 0;
    }

    .form {
        padding: 45px 20px 30px;
    }

    .form_tbl {
        margin-bottom: 20px;
    }

    .tel-cnt a {
        font-size: 33px;
    }

    .contact_cnt {
        padding: 0 20px;
    }
    footer {
        margin-bottom: 20px;
    }
}
