@charset "UTF-8";

/* ページ全体の設定 */
body {
  margin: 0;
  /*ブラウザが挿入する余白を削除*/
  font-family: 'Rajdhani', sans-serif;
  /* テキストの自動拡大を無効化 */
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/******************************company******************************/
/* 「ヘッダー」ブロック */
header {
  padding: 25px 15px;
  background-image: url(../img/header.jpg);
  background-size: 800px 500px;
}

figure {
  line-height: 1;
}

a {
  color: #ccc;
  text-decoration: none;
}

/* ナビゲーションメニュー */
nav {
  padding: 5px 0 15px 0;
}

ul {
  list-style-type: none;
  padding: 0;
  color: #fff;
  font-size: 16px;
  display: flex;
  justify-content: center;
  /*中央に表示*/
}

li:not(:last-child) {
  margin-right: 20px;
}

/********************nav・hover********************/
:root {
  --mainColor: #fff;
}

li a {
  background:
    linear-gradient(to right,
    var(--mainColor) 0%,
    var(--mainColor) 1px,
    transparent 15px);
  background-repeat: repeat-x;
  background-size: 100%;
  color: #fff;
  padding-left: 10px;
  text-decoration: none;
}

li a:hover {
  background:
    linear-gradient(to right,
    var(--mainColor) 0%,
    var(--mainColor) 5px,
    transparent);
}

/* 「メイン」ブロック */
main div {
  background-color: #d8d7dd;
  padding: 10px 15px;
  //padding: 0 15px;
  color: #002745;
}

/* 情報 */
article {
  background-color: #fff;
  padding: 20px;
  margin-top: -90px;
}

#company article:last-child {
  margin-top: 40px;
}

h1 {
  text-align: center;
  font-size: 16px;
  color: #fff;
  padding-bottom: 80px;
}

h1 strong {
  font-size: 32px;
}

h2 {
  font-size: 14px;
  padding-bottom: 10px;
}

h2 strong {
  font-size: 28px;
  border-left: 5px solid #002745;
  padding-left: 10px;
}

h2 span {
  padding-left: 15px;
}

p {
  line-height: 2;
  font-size: 12px;
}

img {
  width: 100%;
  height: auto;
}

/* テーブル */
table {
  font-size: 12px;
}

th, td {
  border: 0;
  padding: 18px;
}

th {
  width: 8em;
  text-align: left;
}

/* 「フッター」ブロック */
footer {
  background-color: #d8d7dd;
  padding: 50px 15px;
  color: #002745;
  font-size: 14px;
  text-align: center;
}

/* === pc版 === */
@media (min-width:600px) {

  /* pc版:コンテナ */
  .container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  /* pc版:「ヘッダー」 */
  header {
    background-size: 2000px 500px;
  }

  header .container {
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
  }

  header figure {
    margin: 0;
  }

  /* pc版:「ナビゲーションメニュー」 */
  header .container nav {
    line-height: 50px;
  }

  header .container ul {
    font-size: 20px;
  }

  /* pc版:情報 */
  #company article {
    padding: 40px;
    display: flex;
    justify-content: space-between;
  }

  h1 {
    font-size: 20px;
  }

  h1 strong {
    font-size: 40px;
  }

  h2 {
    font-size: 18px;
    width: 28%;
  }

  h2 strong {
    font-size: 30px;
  }

  table {
    font-size: 14px;
  }

  .tt {
    font-size: 16px;
  }

  p {
    width: 68%;
  }

  /* pc版:「フッター」 */
  footer {
    font-weight: bold;
  }
}

/* === pc版の設定ここまで === */
/* === pc版 (大) === */
@media (min-width:1025px) {

  /* pc版 (大):コンテナ */
  .container {
    max-width: 1100px;
  }

  /* pc版 (大): ヘッダー */
  header {
    padding: 40px 15px 150px 15px;
    background-size: 2000px 600px;
  }

  header .container ul {
    font-size: 24px;
  }

  /* pc版 (大):情報 */
  article {
    margin-top: -150px;
    padding: 100px;
  }

  h1 {
    margin-top: 50px;
    font-size: 20px;
  }

  h1 strong {
    font-size: 42px;
  }

  h2 {
    font-size: 20px;
  }

  h2 strong {
    font-size: 36px;
  }

  table {
    font-size: 16px;
  }

  .tt {
    font-size: 16px;
  }
}

/* === pc版 (大)の設定ここまで === */
/******************************business******************************/
#business th {
  width: 11em;
}

#business article {
  margin-top: -90px;
}

caption {
  text-align: left;
  margin: 20px 0 20px 0;
}

/* === pc版 === */
@media (min-width:600px) {

  /* pc版:情報 */
  #business article {
    padding: 40px;
    display: flex;
    justify-content: space-between;
  }

  #business table th {
    padding-left: 0;
  }
}

/* === pc版の設定ここまで === */
/* === pc版 (大)=== */
@media (min-width:1025px) {

  /* pc版 (大):情報 */
  #business article {
    padding: 100px;
  }
}

/* === pc版 (大)の設定ここまで === */
/******************************services******************************/
/* === pc版 === */
@media (min-width:600px) {
  #services th {
    width: auto;
  }

  #services article {
    margin-top: -90px;
  }
}

/* === pc版 === */
@media (min-width:600px) {

  /* pc版:情報 */
  #services article {
    padding: 40px;
    display: flex;
    justify-content: space-between;
  }

  #services h2 strong {
    font-size: 26px;
  }
}

/* === pc版の設定ここまで === */
/* === pc版 (大)=== */
@media (min-width:1025px) {

  /* pc版 (大):情報 */
  #services article {
    padding: 100px;
  }

  #services h2 strong {
    font-size: 32px;
  }
}

/* === pc版 (大)の設定ここまで === */
/******************************comfirm******************************/
#comfirm .btn {
  background-color: #002745;
  width: 41%;
  margin: 0 auto 50px auto;
}

#comfirm .btn a {
  color: #fff;
}

#comfirm h3 {
  font-size: 13px;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

/* === pc版 === */
@media (min-width:600px) {
  #comfirm h3 {
    font-size: 20px;
    text-align: center;
    margin: 0;
    padding: 100px;
  }

  #comfirm .btn {
    margin: auto;
    width: 30%;
    background-color: #002745;
    font-size: 1em;
    text-align: center;
    margin-bottom: 100px;
  }

  #comfirm .btn a {
    color: #fff;
  }
}

/* === pc版の設定ここまで === */
