﻿@charset "utf-8";

/*========= レイアウトのためのCSS ===============*/

/* area */
#container {
  overflow-x: hidden;
    /*以下、IE11用*/
  z-index: 1;
  position: relative;
}


body {
  background: #fbfbfb;
  font-family: "Noto Sans JP", sans-serif;
  /* color:orange; */
  color: #182578;
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  word-wrap: break-word;
}

body.appear {
  background: #fbfbfb;
}

* {
  box-sizing: border-box;
}

/*==========================*/

/* h2 {
  font-size: 2rem;
  margin: 0 0 50px 0;
  text-transform: uppercase;
} */

/* .scrolldown1 span {
  transform: rotate(-90deg);
  text-transform: uppercase;
  left: -23px;
  top: -31px;
} */



/* 本文レイアウトCSS */

section {
  padding: 30px;
} */

section:nth-child(2n) {
  background: #f3f3f3;
  }


/* lead */

#lead {
  position: relative;
  padding: 150px 0 0 0;
  height: 110vh;
}

#slider-area {
  width: 90%;
  height: 75vh;
  position: relative;
  top: 0;
  left: 5%;
  z-index: -1;
}

#slider-area #slider {
  width: 100%;
  height: 75vh;
}

#lead h2.heading {
  position: absolute;
  top: 200px;
  right: 10%;
  font-weight:bold;
  /* 縁取り */
  text-shadow:
    2px 2px 0px #fff, -2px -2px 0px #fff,
    -2px 2px 0px #fff,  2px -2px 0px #fff,
    2px 0px 0px #fff, -2px -0px 2px #fff,
    0px 2px 0px #fff,  0px -2px 2px #fff;
  margin: 0;
}

#lead .lead {
  position: absolute;
  top: 280px;
  right: 4%;
  font-size: 3rem;
  letter-spacing: 0.2em;
  line-height: 1.6;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: horizontal-tb; /*vertical-rl;*/
  white-space: nowrap;
  font-weight:bold;
}

#lead .lead span {
    display: block;
    color: darkgray; /*thistle;*/
    padding: 80px 10px 10px 10px;
    /* 縁取り */
    text-shadow:
      1px 1px 0px #000, -1px -1px 0px #000,
      -1px 1px 0px #000,  1px -1px 0px #000,
      1px 0px 0px #000, -1px -0px 0px #000,
      0px 1px 0px #000,  0px -1px 0px #000;
    margin: 0;
}

#lead .lead span b {
    color: blue; /*thistle;*/
    text-shadow:
      1px 1px 0px #fff, -1px -1px 0px #fff,
      -1px 1px 0px #fff,  1px -1px 0px #fff,
      1px 0px 0px #fff, -3px -0px 3px #fff,
      0px 1px 0px #fff,  0px -1px 0px #fff;
    margin: 0;
}

/* font-family */
/* heading */
.heading {
    font-family: system-ui;
    /* font-family: sans-serif; */
    font-size: 5vw;
    font-weight: normal;
    color: blue; /*green/Orange;*/
    animation-delay: 0.3s;
}
.heading1 {
    font-family: system-ui;
    /* font-family: sans-serif; */
    font-size: 5vw;
    font-weight: bolder;
    color: green;
    animation-delay: 0.3s;
}

@media screen and (max-width: 960px) {
  .heading {
    font-size: 3.5rem;
  }
  .heading1 {
    font-size: 3.5rem;
  }
}
@media screen and (max-width: 550px) {
  .heading {
    font-size: 3.00rem;
  }
}


/* new */

#news {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #fff;
  width: 40%;
  z-index: 2;
  padding: 40px;
}

#news h2 {
  text-decoration:none ;
  position: relative;
  font-size: 1.2rem;
  margin: 0 0 30px 0;
  /* background: red; */
}

#news h2::before {
  /* content: ""; */ /*絵文字やロゴを入れる*/
  position: absolute;
  width: 30px;
  height: 1px;
  background: #182578;
  left: 0;
  bottom: -5px;
}

#news li {
  margin: 0 0 10px 0;
}

#news li a {
  transition: all 0.3s;
}

#news li a:hover {
  background: #efefef;
}

#news li time {
  display: inline-block;
  padding: 0 20px 0 0;
  font-size: 0.8rem;
  color: #999;
}

@media screen and (max-width: 1200px) {
  #lead .lead {
    font-size: 1.8rem;
    right: 2.5%;
  }
  #news {
    width: 50%;
  }
}

@media screen and (max-width: 960px) {
  #lead .lead {
    font-size: 1.6rem;
    right: 3%;
  }
  #news {
    padding: 20px 30px;
  }
  #news li time {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  #slider-area {
    width: 90%;
    height: 90vh;
    left: 0;
  }
  #slider-area #slider {
    height: 90vh;
  }

  #lead h2.heading {
    top: 160px;
  }

  #lead {
    padding: 100px 0 0 0;
  }

  #lead .lead {
    right: 7%;
    top: 260px;
  }

  #news {
    width: 100%;
    bottom: -200px;
  }
}

@media screen and (max-width: 550px) {
  #lead .lead {
    font-size: 1.3rem;
    right: 5%;
  }
}

@media screen and (max-width: 350px) {
  #lead .lead {
    right: 2%;
  }
}


/* service */

#service {
  position: relative;
  text-align: center;
  padding: 100px 0 0 0;
}

#service header {
  background: midnightblue;
  color: white;
  width: 100%;
  padding: 50px 0 100px 0;
  z-index: 1;
}

#service header h1{
  font-size: 3rem;
  /* background: red; */
}

#service header p {
  margin: 0 0 30px 0;
}

#service header p br {
  display: none;
}

#service header h2 {
  font-size: 1.5rem;
  margin: 0 0 20px 0;
  letter-spacing: 0.1em;
}

#service .service-area {
  background: white;
  padding: 10px;
  width: 90%;
  position: relative;
  top: -50px;
  left: 5%;
  z-index: 2;
}

#service .service-area ul {
  /* display: flex; */
  flex-wrap: wrap;
  justify-content: space-around;
  /* スマホ表示用。flipDownを指定している親要素に指定しないとうまく動かない*/
  /* transform: translate3d(0, 0, 0); */
}

#service .service-area ul li {
  opacity: 0;
  list-style: none;
  width: 90%;
  padding: 0 0 50px 0;
  margin: auto;
}

#service .service-area ul li a {
  font-size: 2.0rem;
  display: inline-block;
}
.video-Title {
  list-style: none;
}
.Video-Gennba {
  display: block;
  width: 720px;
  height: 540px;
  margin: auto;
}

@media screen and (max-width: 1200px) {
  #service header {
    width: 100%;
  }
  #service header p br {
    display: block;
  }

  #service .service-area {
    width: 90%;
    left: 5%;
    padding: 80px 20px 30px 20px;
  }
  #service .service-area ul li {
    list-style: none;
    width: 90%;
    /* background: red; */
  }
  #service .service-area ul li a {
    font-size: 1.6rem;
  }

  .Video-Gennba {
    width: 720px;
    height: 540px;
  }
}
@media screen and (max-width: 960px) {
  #service header {
    width: 100%;
  }
  #service header p br {
    display: block;
  }

  #service .service-area {
    width: 90%;
    left: 5%;
    padding: 80px 20px 30px 20px;
      /* background: red; */
  }
  #service .service-area ul li {
    width: 90%;
  }

  .Video-Gennba {
    width: 640px;
    height: 480px;
  }
}

@media screen and (max-width: 768px) {
  #service header h1{
    font-size: 2rem;
    transform: translateY(40PX);
  }
  #service header p {
    margin: 0 0 5px 0;
    transform: translateY(30PX);
  }  

  #service {
    padding: 100px 0 0 0;
  }
  #service .service-area {
    width: 90%;
    left: 5%;
    /* background: #fff; */
  }
  .Video-Gennba {
    width: 480px;
    height: 360px;
  }
}

@media screen and (max-width: 550px) {
  #service .service-area {
    width: 90%;
    left: 5%;
  }
  .Video-Gennba {
    width: 360px;
    height: 270px;
  }
}

@media screen and (max-width: 400px) {
  #service .service-area {
    width: 100%;
    left: 0;
    font-size: 0.9rem;
  }
  .Video-Gennba {
    width: 320px;
    height: 240px;
  }

}

/* message */

#message {
  position: relative;
  padding: 0 70px;
}

#message h2 {
  position: absolute;
  right: 50%;
  font-weight:bold;
  /* text-shadow:
  3px 3px 3px #fff, -3px -3px 3px #fff,
  -3px 3px 3px #fff,  3px -3px 3px #fff,
  3px 0px 3px #fff, -3px -0px 3px #fff,
  0px 3px 3px #fff,  0px -3px 3px #fff; */
  z-index: 2;
}

.message-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.message-img {
  background: url("../img/KSK-pict_01.jpg") no-repeat center;
  /* background: url("../img/KSK-Video1.MP4") no-repeat center; */
  background-size: cover;
  height: 50vh;
  width: 48%;
}

.message-content {
  display: flex;
  justify-content: center;
  padding: 150px 0 0 0;
  width: 45%;
}

.message-box {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}

.message-content h3,
.message-content p,
.message-content .message-btn {
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: 20em;
  letter-spacing: 0.1em;
}

.message-content h3 {
  font-size: 1.5rem;
  line-height: 2.5;
}
.message-btn {
  font-size: 1.5rem;
}

_:-ms-lang(x)::-ms-backdrop,
.message-content h3 {
  /*IE11用ハック*/
  width: 30%;
}

.message-content p {
  line-height: 3.5;
  margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop,
.message-content p {
  /*IE11用ハック*/
  width: 60%;
}

_:-ms-lang(x)::-ms-backdrop,
.message-content .message-btn {
  /*IE11用ハック*/
  width: 10%;
}

@media screen and (max-width: 1280px) {
  .message-content h3 {
    line-height: 2;
    margin: 0 0 0 10px;
  }

  .message-content p {
    line-height: 3;
    margin: 0 0 0 20px;
  }
}

@media screen and (max-width: 1000px) {
  .message-content p {
    line-height: 2;
  }
}

@media screen and (max-width: 768px) {
  #message {
    padding: 0 30px;
  }

  #message h2 {
    position: relative;
    right: inherit;
    top: 40px;
  }

  .message-img,
  .message-content {
    width: 100%;
  }

  .message-img {
    height: 40vh;
  }

  .message-content {
    padding: 50px 0 0 0;
  }

  .message-content h3,
  .message-content p,
  .message-content .message-btn {
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 50px 0;
  }

  _:-ms-lang(x)::-ms-backdrop,
  .message-content h3,
  _:-ms-lang(x)::-ms-backdrop,
  .message-content p,
  _:-ms-lang(x)::-ms-backdrop,
  .message-content .message-btn {
    /*IE11用ハック*/
    width: 100%;
  }

  .message-content h3 {
    text-align: center;
    font-size: 1.2rem;
  }

  .message-box {
    display: block;
  }

  .message-box .btn {
    padding: 10px;
    display: block;
  }
}

@media screen and (max-width: 430px) {
  .message-img {
    height: 20vh;
  }
}

@media screen and (max-width: 370px) {
  .message-content p br {
    display: none;
  }
}

/* history */

#history {
  position: relative;
  padding: 0 70px;
  margin: 0 0 100px 0;
}

#history h2 {
  position: absolute;
  right: 25%;
  font-weight:bold;
  /* text-shadow:
  3px 3px 3px #fff, -3px -3px 3px #fff,
  -3px 3px 3px #fff,  3px -3px 3px #fff,
  3px 0px 3px #fff, -3px -0px 3px #fff,
  0px 3px 3px #fff,  0px -3px 3px #fff; */
  z-index: 2;
}

.history-area {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.history-img {
  background: url("../img/KSK-pict_02.jpg") no-repeat center;
  background-size: cover;
  height: 50vh;
  width: 48%;
}

.history-content {
  width: 45%;
  padding: 150px 0 0 0;
}

@media screen and (max-width: 768px) {
  #history {
    padding: 0 30px;
  }

  #history h2 {
    position: relative;
    right: inherit;
    top: 40px;
  }

  .history-img,
  .history-content {
    width: 100%;
  }

  .history-img {
    height: 40vh;
  }

  .history-content {
    padding: 50px 0 0 0;
  }
}

@media screen and (max-width: 430px) {
  .history-img {
    height: 20vh;
  }
}

/* Commercial */
/* おすすめのリンク先 */
#Commercial .Link-area {
  display: inline-block;
  border-top-style: solid;
  border-top:#182578;
  border-width: 3px;
  margin: 5px auto;
  padding: 5px auto;
  text-align: center;
}

#Commercial .Link-Title h1 {
  text-align: center;
  font-size: 2.4rem;
  }

#Commercial .link-Title {
  display: inline-block;
  width: 500px;
  margin: auto 20%;
  text-align: center;
  border-radius: 15px;
  border-width: 2px;
}

#Commercial .Link-area div {
  display: inline-block;
  justify-content: center;
  vertical-align: top;
  color: green;
  width: 400px;
  height: 200px;
  margin: 5px auto;
  padding: 5px auto;
  background: #fff;
  border-radius: 20px;
  border-style: double groove;
  border-color: green;
  border-width: 8px;
}

#Commercial .Link-area h1 {
  font-size: 2.0rem;
}
#Commercial .Link-area h2 {
  font-size: 1.6rem;
}
#Commercial .Link-area h3 {
  font-size: 1.2rem;
}
#Commercial .Link-area h4 {
  font-size: 1.0rem;
}

@media screen and (max-width: 1200px) {
    #Commercial .Link-area {
  display: inline-block;
  }
  #Commercial .Link-area div {
    width: 380px;
    /* padding: 10px 5px; */
  }

  /* #Commercial .Link-Title h1 {
    font-size: 2.0rem;
    } */
  /* #Commercial .Link-area h2 {
    font-size: 1.6rem;
  } */
  /* #Commercial .Link-area h3 {
    font-size: 1.2rem;
  } */
  /* #Commercial .Link-area h4 {
    font-size: 1.0rem;
  } */
}


@media screen and (max-width: 1024px) {
  #Commercial .Link-area {
    display: inline-block;
  }
  #Commercial .Link-Title h1 {
    font-size: 1.8rem;
    }
  #Commercial .Link-area div {
    width: 380px;
    /* padding: 10px 5px; */
  }
  /* #Commercial .Link-area h1 {
    font-size: 1.8rem;
  } */
  /* #Commercial .Link-area h2 {
  font-size: 1.4rem;
  } */
  /* #Commercial .Link-area h3 {
    font-size: 1.0rem;
  } */
  /* #Commercial .Link-area h4 {
    font-size: 0.8rem;
  } */
}

@media screen and (max-width: 550px) {
  #Commercial .Link-area {
    display: block;
  }
  
  #Commercial .Link-area div {
    margin: 5px auto;
    width: 380px;
    /* padding: 15px 25px; */
  }

  #Commercial .Link-area h1 {
    font-size: 1.8rem;
  }
  #Commercial .Link-area h2 {
  font-size: 1.4rem;
  }
  #Commercial .Link-area h3 {
    font-size: 1.0rem;
  }
  #Commercial .Link-area h4 {
    font-size: 0.8rem;
  }
}