body{
  color: #192943;
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  margin: 0 auto;
  max-width: 1920px;
  min-width: 340px;
  box-sizing: border-box;
}
ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
}
a:hover {
  opacity: .5;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.br-sp{
  display: none;
}
.animated {
    /* 最初から非表示 */
    opacity: 0;
  }
@media screen and (max-width: 1280px) {
  .container {
    padding: 0 20px;
  }
}
@media screen and (max-width: 680px) {
  .br-sp {
    display: block;
  }
}

/* テキスト */
/* 紺色帯タイトル */
h2 {
  font-size: 30px;
  letter-spacing: 0.15em;
  margin: 0;
}
.title-text p,
.page-title p {
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.15em;
  margin: 0;
}
/* 各セクションのタイトル */
h3{
  font-size: 30px;
  margin: 0;
}
p{
  font-size: 18px;
}
@media screen and (max-width: 680px){
  h2 {
    font-size: 20px;
  }
  .title-text p {
    font-size: 12px;
  }
  h3 {
    font-size: 20px;
  }
  p{
    font-size: 14px;
  }
}


/* header */
.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 20px;
  height: 80px;
  background-color: #fff;
  box-sizing: border-box;
  position: fixed;
  top:0;
  left: 0;
  right: 0;
  z-index: 10;
}
.logo a{
  display: inline-block;
}
.logo img{
  width: 80px;
}
.nav-list ul{
  display: flex;
}
.nav-list li{
  padding: 0 30px;
}
.nav-list li a{
  color: #192943;
  font-weight: 600;
  font-size: 18px;
}

@media screen and (max-width: 680px) {
  .header-nav{
    height: 60px;
    padding: 0 10px;
  }
  .logo img{
    width: 60px;
  }
  .nav-list li{
    padding: 0 10px;
  }
  .nav-list li a{
    font-size: 14px;
  }
}

/* hero */
.hero {
  margin-top: 80px;
  position: relative;
}
.hero img {
  width: 100%;
  vertical-align:top;
}

@media screen and (max-width: 680px) {
  .hero {
    margin-top: 60px;
  }
}


/* section */
.earth-bg1,
.earth-bg2 {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 100px 0;
  margin: 150px auto 300px;
  position: relative;
}
.earth-bg1 {
  background-image: url(img/top_bg1.png);
}
.earth-bg2 {
  background-image: url(img/top_bg2.png);
}
.title-text{
  background-color: #192943;
  color: #fff;
  display: inline-block;
  padding: 20px 60px;
  position: absolute;
  top: -60px;
}
.earth-bg1 .title-text {
  border-radius: 0 20px 20px 0;
  left: 0;
  box-shadow: 5px 5px 5px rgba(130, 133, 137, 0.5);
}
.earth-bg2 .title-text{
  border-radius: 20px 0 0 20px;
  right: 0;
  box-shadow: -5px 5px 5px rgba(130, 133, 137, 0.5);
}

/* 半透明の白枠、テキスト本文 */
.section-bg{
  text-align: center;
}
.section-text {
  display: inline-block;
  background-color:rgba(255,255,255,0.7);
  border-radius: 40px;
  padding: 40px 100px;
  margin:0 auto;
  max-width: 1600px;
}
.section-text p {
  color: #192943;
  font-size: 20px;
  line-height: 2;
}
.button a{
  margin-top: 60px;
  padding: 15px 40px;
  display: inline-block;
  background-color: #456393;
  border-radius: 50px;
  border: 2px solid  #456393;
  color:#fff;
  font-size: 18px;
}
.button a:hover {
  opacity: .8;
  color:#456393;
  background-color: #fff;
}

@media screen and (max-width: 680px) {
  .earth-bg1,
  .earth-bg2 {
    padding: 60px 20px;
    margin: 100px auto;
  }
  .title-text {
    padding: 10px 30px;
    top: -40px;
  }
  .section-text {
    padding: 20px;
    width: 90%;
  }
  .section-text p {
    font-size: 14px;
  }
  .button a{
    margin-top: 30px;
    padding: 10px 30px;
    font-size: 12px;
  }
}

/* フッター */
.footer1 {
  background-color: #192943;
  text-align: center;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer1 a {
  color: #fff;
}
.footer1 img {
  width: 50px;
  padding-right: 10px;
}
.footer2 {
  background-color:rgba(25,41,67,0.4);
  padding: 10px 0;
}
.footer2 ul {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer2 ul li {
  padding: 0 20px;
}
.footer2 ul li a,
.footer2 ul li {
  color:#fff;
  font-size: 12px;
}
@media screen and (max-width: 680px) {
  .footer1 {
    padding: 10px 0;
  }
  .footer2 ul li {
    padding: 0 5px;
  }
  .footer2 ul li a,
  .footer2 ul li {
    font-size: 10px;
 }
}

/* -----------------------
      企業情報ページ
  ----------------------- */

.page-title {
  position: absolute;
  bottom: 400px;
  left: 300px;
  color: #fff;
}
.page-title h2,
.page-title p {
  text-shadow: 3px 3px 10px #000;
}
.letter-title {
  margin-top: 50px;
}

.letter-title p{
  text-align: center;
  line-height: 3;
  margin-top: 50px;
}
.company {
  margin: 100px auto;
}
.company table {
  width:80%;
  margin: 50px auto;
  text-align: left;
  border: none;
  border-collapse: collapse;
}
.company table th{
  word-break: keep-all;
}
.company table th,
.company table td{
  padding: 20px;
}
.company table .padding-less {
  padding: 0 20px 20px;
}
.company table td{
  box-sizing: border-box;
  display:block;
}
.company table tr:nth-child(odd) th,
.company table tr:nth-child(odd) td {
	background: #EDF2F5;
}
.company table tr:nth-child(even) th,
.company table tr:nth-child(even) td {
	background: #F5F8FA;
}

@media screen and (max-width: 1600px) {
  .page-title {
    bottom: 300px;
    left: 180px;
  }
}
@media screen and (max-width: 1120px) {
  .page-title {
    bottom: 230px;
    left: 140px;
  }
}
@media screen and (max-width: 820px) {
  .page-title {
    bottom: 160px;
    left: 120px;
  }
}
@media screen and (max-width: 680px) {
  .company table {
    width: 100%;
    font-size: 14px;
  }
  .company table th,
  .company table td{
    padding: 20px 10px;
  }
  .company table .padding-less {
    padding: 0 10px 20px;
  }
}
@media screen and (max-width: 550px) {
  .page-title {
    bottom: 140px;
    left: 70px;
  }
}
@media screen and (max-width: 450px) {
  .page-title {
    bottom: 110px;
    left: 60px;
  }
}
@media screen and (max-width: 320px) {
  .page-title {
    bottom: 90px;
    left: 40px;
  }
}
/* -----------------------
      事業内容ページ
  ----------------------- */
.works {
  display: grid;
  grid-template-areas:
    "image title"
    "image text";
  grid-template-columns: 400px 1fr;
  grid-gap:10px 10%;
  margin: 200px auto 0;
}
.works-right{
  display: grid;
  grid-template-areas:
    "title image"
    "text image";
  grid-template-columns: 1fr 400px;
  grid-gap:10px 10%;
  margin: 200px auto 0;
}
.works-item-image {
  grid-area: image;
}
.works-item-title {
  grid-area: title;
}
.works-item-text {
  grid-area: text;
}

.works img,
.works-right img {
  width: 100%;
  margin-top: 20px;
}

.works-item-title,
.works-text h3{
  margin: 0 0 20px;
}

.works-item-text {
  font-size: 18px;
}
/* その他（写真なし） */
.last-works {
  margin: 200px auto;
}
.last-works p {
  padding:30px 0;
}
.link-button {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 50px;
}
.link-button p {
  padding: 0 20px;
}
.link-button a {
  background-color: #456393;
  color: #fff;
  border-radius: 20px;
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid #456393;
}
.link-button a:hover {
  opacity: 1;
  color: #456393;
  background-color: #fff;
}

@media screen and (max-width: 1000px) {
  .works,
  .works-right {
    grid-gap:10px 20px;
  }
}
@media screen and (max-width: 920px) {
  .link-button {
    flex-direction: column;
  }
}
@media screen and (max-width: 680px) {
  .works,
  .works-right {
    grid-template-areas:
    "title"
    "image"
    "text";
    grid-gap: 10px;
    grid-template-columns:1fr;
    margin: 100px auto;
  }
  .works-item-title::before,
  .works-text h3::before{
    width: 3px;
    height: 35px;
    top: -3px;
  }
  .works img,
  .works-right img {
    margin-top: 0;
  }

  .link-button {
    flex-direction: row;
    justify-content: space-around;
    margin-top: 30px;
  }
  .link-button p {
    padding: 0;
  }
  .link-button a {
    font-size: 14px;
    padding: 5px 20px
  }
  .last-works {
    margin: 50px auto;
  }
  .last-works p {
    padding:10px 0;
    margin: 0 auto;
  }
}
/* -----------------------
      お問い合わせページ
  ----------------------- */
.contact-main {
  text-align: center;
  margin: 100px 0 200px;
}
.contact-main p {
  margin-bottom: 100px;
}
.contact-main a {
  font-size: 20px;
  text-decoration: underline;
}
@media screen and (max-width: 680px) {
  .contact-main p {
    margin-bottom: 50px;
  }
  .contact-main a {
    font-size: 14px;
  }
}

/* -----------------------
      サイトマップ
  ----------------------- */
.sitemap-section {
  display: flex;
  justify-content: space-around;
  flex-wrap:wrap;
  margin: 50px auto 100px;
}
.sitemap-section a{
  color: #4474FD;
  text-decoration: underline;
}
.sitemap-group{
  width: 40%;
  margin: 50px auto;
}
.sitemap-title{
  background-color: #F0F0F0;
  padding: 10px 20px;
}
.sitemap-group ul{
  padding-left: 30px;
  list-style: disc;
}
.sitemap-group ul li {
  padding: 10px 0 0;
  font-size: 14px;
}
@media screen and (max-width: 680px) {
  .sitemap-section {
    flex-direction: column;
  }
  .sitemap-group{
    width: 100%;
    margin: 10px auto;
  }
}
