/*
Theme Name: CTS
Theme URL:
Description:
Author: thu
Version: 1.0
*/

:root {
  --main-color: #0e3c9c;
  --backgronud01-color: #f6f9ff;
  --text-color: #333333;
  --text-caption-color: #353535;
}

/* 基本設定 */
html,
body {
  line-height: 1.7;
  letter-spacing: 2px;
  font-weight: normal;
  font-size: 62.5%;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-color);
}

h1 {
  font-size: 3.2rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.2rem;
}

p,
li,
table,
a {
  font-size: 1.8rem;
}

/* アンカーリンクの表示位置を調整する */
.anchor {
  display: block;
  padding-top: 70px;
  margin-top: -70px;
}

/* ナビゲーション */
.header {
  box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
}
.header .container {
  position: relative;
}
.global-nav {
  position: absolute;
  max-width: 1000px;
  width: 100%;
  z-index: 10;
  margin-top: 20px;
  padding: 0 15px;
}

.global-nav .global-nav__list li a {
  text-shadow: 2px 2px 4px #000;
}

.global-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: center;
}
.global-nav__list li {
  padding: 0 32px;
}
.global-nav__list li a {
  display: block;
  height: 50px;
  line-height: 50px;
  color: var(--white);
  text-decoration: none;
}
.follow-nav {
  position: fixed;
  display: block;
  top: -100px;
  left: 0;
  transition: all 1s;
  background-color: #fff;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  padding: 10px 0;
  width: 100vw;
  z-index: 10;
}
.follow-nav nav {
  max-width: 1000px;
  width: 100vw;
  padding: 0 15px;
}
.follow-nav.is-fixed-nav {
  top: 0;
}
.is-fixed-nav li a {
  color: var(--main-color);
}

@media screen and (max-width: 768px) {
  .global-nav__list li {
    padding: 0;
  }
}
/* ヒーロー */
#particles-js {
  width: 100%;
  background: linear-gradient(rgba(0, 23, 67, 0.3), rgba(51, 4, 76, 0.3)),
    url("./assets/images/hero-overlay.png"), url("./assets/images/hero.jpg");
  background-repeat: repeat, repeat, no-repeat;
  background-size: auto, auto, cover;
  background-position: left top, left top, right 50%;
  position: relative;
  z-index: 0;
}

.home .page-hero {
  height: 60vh;
}

.page-hero {
  height: 30vh;
}

@media screen and (max-width: 768px) {
  #particles-js {
    width: 100%;
    background: linear-gradient(rgba(0, 23, 67, 0.3), rgba(51, 4, 76, 0.3)),
      url("./assets/images/hero-overlay.png"), url("./assets/images/hero.jpg");
    background-repeat: repeat, repeat, no-repeat;
    background-size: auto, auto, 300%;
    background-position: left top, left top, 80% 50%;
    position: relative;
    z-index: 0;
  }
}

/* メインコンテンツ */
.container {
  max-width: 1030px;
}

main h2 {
  color: var(--main-color);
}

.contents-area {
  padding: 60px 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title:before,
.section-title:after {
  border-top: 2px solid;
  content: "";
  width: 28px;
}

.section-title:before {
  margin-right: 5px;
}

.section-title:after {
  margin-left: 5px;
}

h2 .caption {
  font-size: 1.5rem;
  font-weight: normal;
  display: block;
  text-align: center;
  color: var(--text-caption-color);
}

footer {
  background-color: var(--main-color);
}
/* コンポーネント */
/* ボタン */
.btn-basic {
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
  border-radius: 45px;
  max-width: 420px;
  width: 80%;
  height: 80px;
  font-size: 20px;
  display: table;
}

.btn-basic:hover {
  text-decoration: none;
  color: var(--main-color);
  background-color: #fff;
  border: 2px solid var(--main-color);
}

.btn-basic-inner {
  display: table-cell;
  vertical-align: middle;
}

.arrow-icon {
  margin: 0 2px 4px 0;
}

@media screen and (max-width: 768px) {
  .btn-basic {
    height: 66px;
  }
}

/* お知らせ */
.news-box {
  background-color: var(--white);
  box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  background: #fff;
  margin-top: -200px;
}
.background-img01 {
  background-image: url("./assets/images/background-img01.jpg");
  -webkit-background-size: cover;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  /* position: relative; */
  z-index: -1;
}

.news-box {
  padding: 60px 0;
}

.news-list ul {
  margin-bottom: 20px;
  padding: 0 32px;
}

.news-list ul li {
  list-style-type: none;
  margin-bottom: 1rem;
}

.news-list ul li .date {
  margin-right: 24px;
}

.news-list ul li .news-title a {
  color: var(--text-color);
}

.news-list ul li .news-title img {
  margin-bottom: 8px;
}

.news-title a {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .news-list ul li .date {
    display: block;
  }
}

/* 会社概要 */
.company-box {
  background-color: #fff;
  box-shadow: 0 0 20px -5px rgba(0, 0, 0, 0.1);
}

.company-box table {
  margin-bottom: 0;
}

.company-box table th {
  font-weight: normal;
  width: 30%;
}
.company-box table th,
td {
  padding: 30px 20px;
}

.company-box table td {
  padding-left: 4rem;
}

.company-box table ul {
  margin: 0;
  padding: 15px 0 15px 0;
}

.company-box table ul li {
  list-style: none;
}

.company-box .table-striped tbody tr:nth-of-type(odd) {
  background-color: var(--backgronud01-color);
}

@media screen and (max-width: 768px) {
  .company-box table td {
    padding-left: 2rem;
  }
}

/* 事業内容 */
.bgc-blue {
  background-color: var(--backgronud01-color);
}

.business-list ol li {
  list-style-type: none;
  counter-increment: number;
  /* padding-left: 1em; */
  text-indent: -12px;
  margin-bottom: 1.6rem;
}

.business-list ol li::before {
  content: counter(number) ".";
  margin-right: 8px;
  color: var(--main-color);
  display: inline-block;
}

/* アクセス */
.access-area h3 {
  color: var(--main-color);
}

/* フッター */
footer {
  padding: 20px 0;
  color: #fff;
  font-size: 2rem;
}

footer a {
  color: #fff;
}

footer a:hover {
  color: #fff;
}

.copyright {
  font-size: 1.2rem;
}

@media screen and (max-width: 991px) {
  footer {
    height: 22vh;
  }
}

@media screen and (max-width: 768px) {
  footer {
    height: 200px;
  }
}

@media screen and (max-width: 576px) {
  footer {
    height: 200px;
  }
  .copyright {
    font-size: 1rem;
  }
}

.bottom-nav {
  width: 100%;
  color: #fff;
  background-color: var(--main-color);
  text-align: center;
  opacity: 0.8;
  position: fixed;
  bottom: 0; /*下に固定*/
  padding: 20px 0px 20px;
  border-top: 1px solid var(--backgronud01-color);
}

.icon-nav-item a {
  display: block;
  color: #fff;
  font-size: 12px;
}

.icon-nav-item a .nav-icon {
  display: block;
}

.icon-nav-item a .nav-icon-name {
  line-height: 100%;
}

@media screen and (max-width: 576px) {
  .icon-nav-item a .nav-icon-name {
    letter-spacing: 0px;
  }
}

/* -------------お知らせ一覧ページ------------- */
section.page-archive {
  min-height: calc(100vh - 100px);
}

.page-archive .news-area .news-box {
  margin-top: -180px;
}

.page-archive .news-area .news-box .news-list li {
  margin-bottom: 20px;
}

.page-archive .news-area .news-box .news-list li .date {
  display: block;
}

.page-archive h3.news-title,
.page-archive h3.news-title a {
  font-size: 1.8rem;
  font-weight: normal;
  margin-bottom: 0;
}

.page-archive .news-list p {
  font-size: 1.6rem;
}

/* ページネーション */
.pagenation {
  margin: 10px 0 20px;
}

ul.page-numbers li {
  color: #333;
  display: inline-block;
  margin-right: 20px;
  font-size: 2rem;
}
ul.page-numbers li a {
  color: var(--main-color);
}

/* 記事詳細ページ */
.news-page-contents {
  padding: 60px 40px;
}
.news-page-date {
  font-size: 1.4rem;
}
.news-page-contents .btn-basic {
  width: 100%;
}

/* IE対応 */
@media all and (-ms-high-contrast: none) {
  body {
    color: #333333;
  }
  .global-nav__list li a {
    color: #ffffff;
  }
  .is-fixed-nav li a {
    color: #0e3c9c;
  }
  main h2 {
    color: #0e3c9c;
  }
  h2 .caption {
    color: #353535;
  }
  .btn-basic {
    background-color: #0e3c9c;
    border-color: #0e3c9c;
  }
  .btn-basic:hover {
    color: #0e3c9c;
    border: 2px solid #0e3c9c;
  }
  .bgc-blue {
    background-color: #f6f6f6;
  }
  footer {
    background-color: #0e3c9c;
  }
  .bottom-nav {
    background-color: #0e3c9c;
    border-top: 1px solid #f6f6f6;
  }
  .global-nav {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
  }
}
