@charset "UTF-8";

/*-------------------------
  全体にかかる設定
-------------------------*/
/* 基本設定 */
html {
  font-size: 16px;
}

body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
}

.wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

/* コンテナの左右の余白 */
.container {
  padding: 0 15px;
}

img {
  width: 100%;
}

h2 {
  font-size: 1.8rem;
  text-align: center;
  margin: 3rem 0;
  letter-spacing: 0.1em;
  font-weight: 600;
  line-height: 1.2;
}

h2 span {
  font-size: 0.6em;
  font-family: serif;
  color: #e56216;
  letter-spacing: 0.07em;
}

table {
  margin: 0;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 15px 0;
  vertical-align: top;
  border-bottom: 1px solid #c8b5b1;
}

tr:first-child th,
tr:first-child td {
  padding-top: 10px;
}

th {
  width: 130px;
  color: #614944;
}

td {
  padding-left: 15px;
}

/* 表示・非表示 */
.disp_pc {
  display: none;
}


/*-------------------------
  ヘッダー
-------------------------*/
header {
  background-color: #2d2927;
  /* background-color: #1b2f46; */
  padding: 1rem;
}
.site_name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 0.1em;
}
.site_name::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(images/logo.svg) no-repeat center;
  margin: auto 10px -10px 0;
}

/*-------------------------
  メイン
-------------------------*/
/* メイン画像 */
.main_images .bunkatsu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.main_images {
  position: relative;
  margin-bottom: 10px;
}

.main_images p.lead {
  /* background-color: rgba(255, 255, 255, 0.9); */

  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 5px 15px;
  font-size: min(5vw, 1.5rem);
  letter-spacing: 0.08em;
  font-family: serif;
  text-align: center;
  line-height: 1.4;
  font-weight: bold;
}

ul.lead {
  /* background-color: #e1641d; */
  border: 4px solid #e1641d;
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 2;
}

ul.lead li {
  margin-left: 1rem;
  color: #d9560a;
  font-size: min(4.5vw, 1.1rem);
  font-weight: 600;
}

ul.lead li br {
  display: none;
}

/* 導入文 */
.dounyu p {
  font-size: 1.2rem;
  line-height: 2.2;
  margin: 3rem 0 4rem;
  font-family: serif;
}

/* 会社概要 */
.profile {
  background-color: #ded9d6;
  background-image: url(images/bg.svg);
  background-size: 80vw;
  background-position: center;
  background-repeat: repeat;
  padding: 1px 0 3rem;
}

.profile .kakomi {
  background-color: #fff;
  padding: 20px;
}

.profile .kakomi img {
  margin: 2rem 0;
}

/*-------------------------
  フッター
-------------------------*/

footer {
  background-color: #564942;
  padding: 1.5rem 0;
}

address {
  text-align: center;
  color: #fff;
  letter-spacing: 0.05em;
}

address em {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.7rem; 
}

.copyright {
  color: #fff;
  margin-bottom: 0;
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.03em;
}



/*-------------------------
  リンク色
-------------------------*/
/* 標準 */
/*a {
   text-decoration: none; 
}*/

a:link {
  color: #e56216;
}

a:visited {
  color: #e56216;
}

a:hover {
  color: #f30;
}

a:active {
  color: #f30;
}

/*-------------------------
  メディアクエリ
-------------------------*/
/* スマートフォン */
@media (max-width: 599px) {
  .container {
    padding: 0 10px;
  }
}

/* タブレット */
@media (min-width: 600px) {
  .container {
    padding: 0 15px;
  }

 

  /*-------------------------
  メイン
  -------------------------*/

  /* メイン画像 */

  .main_images p.lead {
    font-size: 3vw;
    padding: 15px 20px;
  }


.gaiyou.bunkatsu {
  display: grid;
  gap: 30px;
  grid-template-columns: 53% auto;
}

.gaiyou.bunkatsu table {
  margin-top: 0;
}

  
/*-------------------------
  フッター
-------------------------*/

footer .container {
  display: flex;
  justify-content: space-between;
}

address {
  text-align: left;
}

.copyright {
  align-self: flex-end;
}
}

@media (min-width: 750px) {

  /* 表示・非表示 */
.disp_pc {
  display: block;
}

.disp_sp {
  display: none;
}

  /*-------------------------
  メイン
  -------------------------*/

  ul.lead {
    display: flex;
    gap: 15px;
    justify-content: space-around;
    padding: 20px 25px;
    margin-top: -15vw;
    position: relative;
    z-index: 1;
    background-color: transparent;
    padding-bottom: 6vw;
     list-style: none;
     border: none;
  }
  
  ul.lead li {
    background: linear-gradient(135deg,rgba(225, 107, 29, 0.8), rgba(225, 36, 29, 0.8));
    color: #fff;
    padding: 10px 20px;
    transform: skew(-8deg);
    margin-left: 0;
    line-height: 1.4;
    font-size: min(1.9vw, 1.6rem);
    text-align: center;
  }

  ul.lead li br {
  display: block;
}
  /* 導入文 */
  .dounyu p {
    font-size: 1.3rem;
    text-align: center;
  }

  .profile .kakomi img {
    margin: 0
  }

  .profile .kakomi {
    padding: 30px;
  }

}

/* パソコン */
@media (min-width: 1025px) {
  .container {
    width: 1025px;
    margin: 0 auto;
  }

  th {
    width: 180px;
  }

  ul.lead {
    margin-left: calc((-100vw + 1025px) / 2);
    margin-right: calc((-100vw + 1025px) / 2);
    margin-top: -14vw;
    padding-bottom: 6vw;
  }

    

  ul.lead li {
    padding: 10px 35px;

  }

}
