@charset "UTF-8";

body {
    margin: 0;
}

h1, h2, h6, p, th, td {
    font-family: "Zen Old Mincho", serif;
}

/* ヘッダー（reckの文字） */

header {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  color: white;
  -webkit-text-stroke: 1px black;
}

header img {
  height: clamp(30px, 5vw, 6vw);
  padding-top: 5px;
  margin: auto 0;
}

header h1 {
  margin: 0;
  font-family: "Meiryo";
  font-size: clamp(30px, 5vw, 6vw);
}

/* ナビゲーション */

nav {
    display: flex;
    line-height: 14px;
    justify-content: space-around;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}

nav div:first-child {
    margin-left: 2%;
}

nav a {
    text-decoration: none;
    color: black;
}

nav h2 {
    font-size: clamp(10px, 2vw, 2.2vw);
    font-weight: 400;
}

/* メイン会社について */

.about-corp {
    display: flex;
    width: 90%;
    margin: 30px auto 0 auto;
}

/* メイン会社について　＞　イメージロゴ */

.logo-img {
    margin-top: 5px;
    width: 40%;
}

.logo-img img {
    width: 100%;
}

/* メイン会社について　＞　内容 */

.about-logo-description {
    width: 60%;
    margin-left: 7%;
}

.about-logo-description h2 {
    font-size: 4vw; 
}

.about-logo-description p {
    margin: 0;
    font-size: 2.5vw;
}

/* テーブル表 */

table {
    width: 80%;
    margin: auto;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 5px;
}

.table-body {
    display: table-row;
    vertical-align: middle;
}

table th {
    width: 25%;
    padding-left: 5px;
    background: rgb(209, 209, 209, 0.3);
    font-size: 3vw;
    color: rgb(71, 71, 71);
    text-align: left;
    border: 1px solid rgb(172, 172, 172);
    font-weight: normal;
}

table td {
    width: 75%;
    padding-left: 10px;
    font-size: 3vw;
    text-align: left;
    border: 1px solid rgb(172, 172, 172);
    font-weight: normal;
}

/* 注意書き */

.attention {
    width: 80%;
    margin: 0px auto ;
}

.attention h6 {
    font-size: 2.5vw;
    font-weight: normal;
    margin: 3px auto;
}

/* 会社情報について */

.corp-info {
    width: 80%;
    margin: 50px auto 0 auto;
}

.corp-info h1 {
    font-size: 3.5vw;
    margin: 10px 10px 10px 0;
    font-weight: lighter;
}

.corp-info-title h1 {
    margin: 20px 0 20px 0;
}

.corp-name {
    display: flex;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}

.corp-name h1:first-child {
    width: 23%;
}

.corp-address {
    display: flex;
    border-bottom: 1px solid #dcdcdc;
}

.corp-address h1:first-child {
    width: 23%;
}

.corp-establish {
    display: flex;
    border-bottom: 1px solid #dcdcdc;
}

.corp-establish h1:first-child {
    width: 23%;
}

.corp-member {
    display: flex;
    border-bottom: 1px solid #dcdcdc;
}

.corp-member > h1 {
    width: 23%;
}

.corp-business {
    display: flex;
    border-bottom: 1px solid #dcdcdc;
}

.corp-business > h1 {
    width: 23%;
}

/* コンタクトフォームへ */

.to-contact {
    position: relative;
    text-align: center;
    margin-top: 100px;
}

.to-contact img {
    display: block;
    width: 90%;
    margin: 0 auto;
    height: 150px;
    object-fit: cover;
    filter: brightness(0.5);
    border-radius: 2%;
}

.contact-form {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 中央に配置 */
    color: white; /* 文字色を白に設定 */
    text-align: center; /* 文字を中央揃え */
  }

.contact-form button {
    width: 40%;
    height: 40px;
    background-color: rgba(0, 0, 0, 0);
    color: white;
    border: 1px solid white;
    border-radius: 5px;
}

/* フッター */

footer {
    width: 100%;
    margin-top: 100px;
    border-top: 1px solid black;
}

.footer-top {
    color: white;
    display: flex;
    -webkit-text-stroke: 1px black;
}

.footer-top img {
  height: clamp(30px, 5vw, 6vw);
  padding-top: 5px;
  margin: auto 0;
}

.footer-top h1 {
    margin: 5px auto 5px 5px;
    font-family: "Meiryo";
    font-size: clamp(25px, 4.5vw, 5.5vw);
}

.footer-bottom h6 {
    text-align: center;
    margin: 0;
    line-height: 30px;
    font-size: clamp(8px, 1.2vw, 1.2vw);
}