/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}


/* -------------
ここからCSS
------------- */

/* ---------
 共通CSS
---------- */

/* フェードイン */
.fadein {
	opacity : 0.5;
	transform : translate(0, 50px);
	transition : all 700ms;
}

/* 画面内に入った状態 */
.fadein.scrollin {
	opacity : 1;
	transform : translate(0, 0);
}

body{
  font-family: Meiryo,'メイリオ','Hiragino Kaku Gothic Pro W3','ヒラギノ角ゴ Pro W3',sans-serif;
  margin-left: auto;
  margin-right: auto;
}

.background-1{
  background-image: url("img/背景.png");
}

a	{
  text-decoration:none;
}



/* ---------------------
デスクトップCSS  768px～
-------------------------- */

@media (min-width:768px){

  header{
    background-color: #333333;
    color: white;
    height: 130px;
  }

  .fixed-background{
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 200px 0;
  }

  nav li a:hover {
    color:orange;
  }

  .header-mobile{
    display: none;
  }

  .header-left{
   float: left;
   display: flex;
   padding-top: 10px;
  }

  .header-left img{
    width: 100px;
  }

  .header-left h1{
    font-size: 50px;
    padding-top: 30px;
  }

  .hamburger{
    display: none;
  }

  .globalMenuSp{
    float: right;
    margin-right: 30px;
  }

  .globalMenuSp ul{
   display: flex;
   justify-content: center;
   padding-top: 35px;
  }

  .globalMenuSp li{
    font-size: 20px;
    padding: 20px;
  }

  a:link, a:visited, a:active {
    color: white;
   }

  main{
    box-shadow:  16px 16px 14px -8px rgba(0,0,0,0.6);
    border-radius: 20px 20px;
    width:85%;
    display: block;
    margin: 0 auto;
    background-color: white;
    padding: 50px 0;
  }

  main h1{
    font-size: 60px;
    width: 280px;
    margin: 0 auto;
    text-align: center;
    padding: 80px 0 20px 0;
    border-bottom: 3px solid  #f6e4b2;
    margin-bottom: 100px;
  }

  .company{
    width: 55%;
    display: block;
    margin: 0 auto;
  }

  .company ul{
    list-style: none;
  }

  .company li{
    display: flex;
    font-size: 25px;
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px solid  rgb(192,192,192,0.7);
  }

  .company li:nth-last-of-type(1){
    font-size: 25px;
    border-bottom: 1px solid  white;
    padding-bottom: 130px;
    margin-bottom: inherit;
  }

  span{
    font-weight: bold;
    padding-left: 50px;
    width: 220px;
  }

  .company a:link, .company a:visited, .company a:active {
    color: orange;
  }

  .company a:hover{
    color: #f6e4b2;
  }

  .footer-1{
    text-align: center;
    padding: 150px 0;
    background-image: url("img/コアpanel6.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    color: white;
  }

  .footer-1 h5{
   font-size: 30px;
   padding: 30px;
  }

  .mobile{
    font-size: 50px;
    padding: 20px;
    display: inline-block;
    background-color: orange;
    color: white;
    letter-spacing: 11px;
  }

  .time{
    font-size: 20px;
    padding: 20px;
  }

  .footer-2 {
    background-color: #333333;
    color: white;
  }

  .footer-2 h1{
    font-size:60px;
  }

  .footer-2 p{
    font-size: 25px;
    margin-top: 30px;
    line-height: 45px;
  }

  .footer-contents0{
    width: 70%;
    padding-top: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
  }

  .footer-contents0 img{
    width: 130px;
  }

  .footer‐contents{
    display: flex;
    flex-wrap: wrap;
    width: 70%;
    margin: 100px auto;
  }

  .footer-contents1{
    flex:4;
    padding-left: 20px;
  }

  .footer-contents1 ul{
    list-style: none;
  }

  .footer-contents1 li{
    padding-bottom: 60px;
    padding-top: 5px;
  }

  .footer-contents1 li:hover{
    color: orange;
  }

  .footer-contents2{
    flex: 5;
  }

  .footer-contents2 p{
    font-size: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0;
    line-height: normal;
  }

  .footer-contents2 a:hover{
    color: #1A9AF3;
  }

  .footer-contents3{
    flex: 5;
  }

  .footer-contents3 p{
    font-size: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0;
    line-height: normal;
  }

  .footer-contents4 p{
    font-size: 15px;
    padding: 0 0 10px 0;
    margin: 0;
    line-height: inherit;
    text-align: center;
  }

  footer a:link, footer a:visited, footer a:active {
    color: white;
  }

  .footer-contents1 a:hover{
    color: orange;
    }


}

/* --------------
スマホCSS 1~767px
--------------- */

@media (min-width: 1px) and (max-width: 767px){

  .header-mobile{
    width: 100%;
    background-color: #333333;
    height: 65px;
    position: fixed;
    z-index : 1;
  }

  .header-mobile img{
    height: 100%;
  }

  .header-left{
    display: none;
  }

  .header-right{
    display: none;
  }

  .hamburger {
    display : block;
    position: fixed;
    z-index : 4;
    right : 13px;
    top   : 12px;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
 }

  .hamburger span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : white;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 10px;
  }

  .hamburger span:nth-child(2) {
    top: 20px;
  }

  .hamburger span:nth-child(3) {
    top: 30px;
  }

/* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top : 16px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
  }

  nav.globalMenuSp {
    position: fixed;
    z-index : 2;
    top  : 0;
    left : 0;
    color: white;
    background-color: #333333;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.6s;
    width: 100%;
  }

  nav.globalMenuSp ul {
    background-color: #333333;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }

  nav.globalMenuSp ul li {
    list-style-type: none;
    font-size: 30px;
    padding: 0;
    width: 100%;
    border-bottom: 1px solid #fff;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }

  nav.globalMenuSp ul li:hover{
    background :#ddd;
  }

  nav.globalMenuSp ul li a {
    display: block;
    color: white;
    padding: 1em 0;
    text-decoration :none;
  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    transform: translateY(0%);
  }

  .fixed-background{
    min-height: 100vh;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 150px 0 80px 0;
  }

  main{
    box-shadow:  16px 16px 14px -8px rgba(0,0,0,0.6);
    border-radius: 20px 20px;
    width: 85%;
    margin: 0 auto;
    background-color: white;
  }

  main h1{
    font-size: 40px;
    width: 200px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 0 20px 0;
    border-bottom: 3px solid  #f6e4b2;
    margin-bottom: 80px;
  }


  .company{
    width: 85%;
    display: block;
    margin: 0 auto;
  }

  span{
    font-weight: bold;
    width: 100px;
  }

  .company ul{
    list-style: none;
  }

  .company li{
    display: flex;
    font-size: 15px;
    margin-bottom: 30px;
    padding: 20px;
    border-bottom: 1px solid  rgb(192,192,192,0.7);
  }

  .company li p{
   width: 170px;
  }

  .company li:nth-last-of-type(1){
    font-size: 15px;
    border-bottom: 1px solid  white;
    padding-bottom: 130px;
    margin-bottom: inherit;
  }

  .company a:link, .company a:visited, .company a:active {
    color: orange;
  }

  .company a:hover{
    color: #f6e4b2;
  }

  .footer-1{
    text-align: center;
    padding: 50px 0;
    background-image: url("img/コアpanel6.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    color: white;
  }

  .footer-1 h5{
   font-size: 25px;
   padding: 10px;
  }

  .mobile{
    font-size: 30px;
    padding: 10px;
    display: inline-block;
    background-color: orange;
    letter-spacing: 5px;
  }

  .time{
    font-size: 20px;
    padding: 10px;
  }

  .footer-2 {
    background-color: #333333;
    color: white;
  }

  .footer-2 h1{
    font-size: 25px;
  }

  .footer-2 p{
    font-size: 25px;
    margin-top: 30px;
    line-height: 45px;
  }

  .footer-contents0{
    width: 80%;
    padding-top: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
  }

  .footer-contents0 img{
    width: 100px;
  }

  .footer‐contents0 a:hover{
    color: white;
  }

  .footer‐contents{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 20px auto;
  }

  .footer-contents1{
   padding-left: 20px;
   padding-bottom: 30px;
  }

  .footer-contents1 ul{
    list-style: none;
  }

  .footer-contents1 li{
   padding: 15px 0 0 0;
  }

  .footer-contents1 li:hover{
    color: orange;
  }

  .footer-contents2{
    margin: 20px 0;
  }

  .footer-contents2 p{
    font-size: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0;
    line-height: normal;
  }

  .footer-contents2 a:hover{
    color: #1A9AF3;
  }

  .footer-contents3{
      margin: 20px 0;
  }

  .footer-contents3 p{
    font-size: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0;
    line-height: normal;
  }

  .footer-contents4 p{
    font-size: 15px;
    padding: 0 0 10px 0;
    margin: 0;
    line-height: inherit;
    text-align: center;
  }

  footer a:link, footer a:visited, footer a:active {
    color: white;
  }

 .footer-contents1 a:hover{
    color: orange;
  }

}
