@charset "UTF-8";

html {
  margin: 0;
  padding: 0;
  font-size: 62.5%;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: #797e81;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

p {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  vertical-align: bottom;
}

ul {
  margin: 0;
  padding: 0;
}

ul li {
  padding: 0;
  list-style: none;
}

table {
  border-collapse: collapse;
}

input {
  cursor: pointer;
}

.wrapper {
  width: 1024px;
  padding: 0 20px;
  margin: 0 auto;
}

a {
  color: #797e81;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

dt {
  font-weight: normal;
}

h2.section-title {
  text-align: center;
  padding: 20px 0 40px;
  font-size: 4rem;
}

main {
  display: block;
}


#about,
#overview,
#contact,
#footer {
  margin: 0;
  padding: 0;
}

h2.section-title .en {
  font-size: 2rem;
}

#about,
#overview,
.copyright {
  background-color: rgb(164, 238, 246);
}

#contact,
#service {
  background-color: rgb(228, 225, 225);
}

.sp {
  display: none;
}




/* header----------------------------------------------- */
#header {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
  background-color: #fff;
}

#header .logo {
  width: 100%;
  max-width: 150px;
}

#header .logo a {
  display: block;
  width: 40%;
}

#header .header-nav .menu {
  display: flex;
  align-items: center;
  padding-right: 20px;
}

#header .header-nav .menu li {
  font-size: 18px;
  margin-left: 40px;
}


/* kv------------------------------- */
#kv {
  position: relative;
  height: 700px;
  overflow: hidden;
  background-image: url(../img/top_image.jpg);
  background-size: cover;

  /* background-position-y: -384px;  トリミングするとき使用*/
  /* height: auto; 消滅する*/
}

#kv .text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 10;
  line-height: 0.8;
}

#kv .catch {
  font-size: 5rem;
  margin: 0;
  color: #fff;
  text-shadow: 0 4px 7px rgba(0, 0, 0, .5);
}

/* 0618　タイトル変更-display:inline-blockにすると文字を箱としてとらえるのでtransformが効く---- */
.slide-up-title {
  display: inline-block;
  margin: 40px 0;
  font-size: 8rem;
  font-weight: bold;
  color: #2f4fef;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-out forwards;
}

.slide-up-sub {
  display: inline-block;
  font-size: 4rem;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-out 0.5s forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* about---------------------------- */
#about {
  padding: 0 80px 80px;
  width: 100%;
  height: auto;
  align-items: center;
  /* background-color: rgb(164, 238, 246); */
}


#about h2.section-title {
  position: relative;
}

#about .section-title::after {
  content: "";
  width: 100px;
  height: 1.5px;
  background-color: #797e81;
  margin: 0 auto;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
}


#about .about-list {
  display: flex;
  justify-content: space-between;
  gap: 10%;
  margin-top: 70px;
  /* background-color: blue; */
}

#about .about-item {
  width: 30%;
}

#about .about-item img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 20px;
}

#about .about-item h3 {
  font-size: 2.0rem;
  margin-bottom: 15px;
  text-align: center;
  font-weight: bold;
}

#about .about-item .lead {
  text-align: justify;
  font-size: 1.8rem;
}

/* 写真スライドの初期状態 */
#about .slide-target {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 2s ease, transform 2s ease;
}

/* 表示 */
#about .slide-target.show {
  opacity: 1;
  transform: translateX(0);
}


#about .about-item:nth-child(1) {
  transition-delay: 0s;
}

#about .about-item:nth-child(2) {
  transition-delay: 0.3s;
}

#about .about-item:nth-child(3) {
  transition-delay: 0.5s;
}



/* service------------------------------------------- */

#service {
  padding: 0 80px 80px;
  width: 100%;
  /* background-color: rgb(211, 209, 209);  */
}

#service .text .text-inner {
  width: 100%;
  display: flex;
  margin: 70px auto 0;
}

#service .title {
  display: flex;
}

#service .title-inner {
  width: 60%;
  font-size: 2rem;
  padding: 0 0 50px 50px;
  text-align: center;
}

#service .description {
  margin-top: 20px;
  text-align: justify;
  padding: 0 50px;
}

#service .img {
  width: 40%;
}

#service .img img {
  width: 100%;
  height: auto;
  display: block;
}

#service h2.section-title {
  position: relative;
}

#service .section-title::after {
  content: "";
  width: 100px;
  height: 1.5px;
  background-color: #797e81;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: 0 auto;
}

/* ボタン */
#service .btn {
  text-align: left;
  padding-left: 50px;
}

#service .btn a {
  display: inline-block;
  width: 180px;
  height: 46px;
  line-height: 42px;
  font-size: 2rem;
  color: #ea7558;
  border: 2px solid #ea7558;
  border-radius: 30px;
  background-color: #eccfcf;
  margin-top: 80px;
  box-sizing: border-box;
  font-weight: 400;
  text-decoration: none;
  text-align: center;
}

#service .title-inner h3 {
  /* font-size: 2.2rem; */
  text-align: center;
  font-weight: bold;
  padding-bottom: 20px;
}


/* 会社概要---------------------------------------- */
#overview {
  padding: 0 80px 80px;
  width: 100%;
  height: auto;
  /* background-color: rgb(164, 238, 246); */
}

#overview .overview-list {
  width: 100%;
  margin: 0 auto;
}

#overview .overview-list th {
  font-size: 18px;
  padding: 20px 0;
  text-align: center;
  width: 30%;
  border: 1px solid gray;
}

#overview .overview-list td {
  font-size: 18px;
  padding: 20px 0;
  width: 70%;
  text-align: center;
  border: 1px solid gray;
}

#overview h2.section-title {
  position: relative;
}

#overview .section-title::after {
  content: "";
  width: 100px;
  height: 1.5px;
  background-color: #797e81;
  margin: 0 auto;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
}

.table-striped {
  width: 80%;
  margin: 0 auto;
  margin-top: 70px;
  /* background-color: blue;  */
}


/* contact-------------------------------- */
#contact {
  /* 左右の指定があるため右側が広がる--padding: 0 80px 80px; */
  padding: 0 0 80px;
  width: 100%;
  height: auto;
  /* background-color: rgb(211, 209, 209); */
}

#contact h2.section-title {
  position: relative;
}

#contact .section-title::after {
  content: "";
  width: 100px;
  height: 1.5px;
  background-color: #797e81;
  margin: 0 auto;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
}


/*footer-------------------------------- */
#footer {
  position: relative;
  bottom: 0;
}

#footer .inner-wrapper {
  display: block;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
}

#footer .logo {
  width: 100%;
  max-width: 100px;
  margin: 0 auto;
}

#footer .menu {
  display: flex;
  justify-self: center;
  margin-bottom: 10px;
  align-items: center;
  margin-top: 20px;
}

#footer .menu li {
  font-size: 1.6rem;
  margin: 0 15px;
}

#footer .sns {
  display: flex;
  justify-self: center;
  margin-bottom: 30px;
}

#footer .sns li {
  font-size: 1.6rem;
  margin: 0 15px;
}

.copyright {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  padding: 20px 0;
  text-align: center;
  /* background: #b7d0df; */
}



/* スマホ------------------- */
@media screen and (max-width: 767px) {

  .sp {
    display: block;
  }

  main {
    padding-top: 80px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  #about,
  #service,
  #overview,
  #contact {
    padding: 0 15px 50px;
    margin: 0;
    box-sizing: border-box;
  }

  h2.section-title span {
    font-size: 2.6rem;
  }

  h2.section-title {
    padding: 20px 0 40px;
    line-height: 0.8;
  }

  /* --------------------- */
  #header {
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999;
  }

  #header .logo {
    max-width: 120px;
  }

  #header .header-nav {
    width: 60%;
    height: 40vh;
    background-color: #fff;
    position: fixed;
    top: 0;
    right: -80%;
    z-index: 10000;
    transition: all 0.6s;
  }

  #header .header-nav.active {
    right: 0;
  }

  #header .header-nav .menu {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    padding: 60px 0;
    overflow: auto;
  }

  #header .header-nav .menu li {
    padding: 10px 0;
    margin-left: 0;
  }

  /* ------------------- */
  #header .hamburger {
    width: 50px;
    height: 50px;
    cursor: pointer;
    position: fixed;
    top: 5px;
    right: 10px;
    z-index: 10001;
  }

  #header .hamburger span {
    width: 30px;
    height: 3px;
    background-color: #000;
    display: inline-block;
    position: absolute;
    left: 10px;
    transition: all 0.4s;
  }

  #header .hamburger span:nth-of-type(1) {
    top: 16px;
  }

  #header .hamburger span:nth-of-type(2) {
    top: 25px;
  }

  #header .hamburger span:nth-of-type(3) {
    top: 34px;
  }

  /* ------------------------------------- */
  #header .hamburger.active span:nth-of-type(1) {
    top: 24px;
    transform: rotate(-45deg);
  }

  #header .hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }

  #header .hamburger.active span:nth-of-type(3) {
    top: 24px;
    transform: rotate(45deg);
  }

  /* --------------------- */
  #kv {
    height: 300px;
    overflow: hidden;
    z-index: auto;
    background-position-y: initial;
    /* color: rgb(1, 244, 224); */
  }

  #kv .inner p {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
  }

  #kv .catch {
    font-size: 2rem;
    line-height: 1;
    padding-top: 70px;
  }

  #kv .catch .site-title {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    color: #2f4fef;
  }

  .slide-up-title {
    /* display: inline-block; */
    margin: 0;
    padding: 0;
    font-size: 22px;
  }

  .slide-up-sub {
    font-size: 20px;
    margin: 0;
    padding: 0;
  }

  /* about-------------------- */
  #about .about-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 0;
  }

  #about .about-item {
    width: 100%;
  }

  #about .about-item img {
    width: 90%;
    border-radius: 10px;
    margin-bottom: 0;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  #about .about-item h3 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 15px 0;
    text-align: center;
  }

  #about .about-item .lead {
    font-size: 1.8rem;
    line-height: 1.8;
  }

  /* service------------------------- */
  #service .text .text-inner {
    margin-top: 10px;
  }

  #service .title {
    flex-direction: column;
  }

  #service .title-inner {
    width: 100%;
    padding: 0;
    font-size: 1.6rem;
  }


  #service .title-inner h3 {
    font-size: 2.2rem;
    line-height: 1.8rem;
    font-weight: 600;
  }


  #service .description {
    padding: 0;
    text-align: justify;
    font-size: 1.8rem;
    line-height: 1.8;
  }

  #service .img {
    width: 100%;
    margin-top: 30px;
    display: block;
    margin: 30px auto 0;
  }

  #service .img img {
    width: 90%;
    margin: 0 auto;
  }



  #service .btn {
    text-align: center;
    padding-left: 0;
    height: auto;
  }

  #service .btn a {
    width: 160px;
    font-size: 1.6rem;
    padding-left: 0;
    margin-top: 30px;
  }

  #service p {
    height: 120px;
  }


  /* -------------------- */
  .table-striped {
    width: 100%;
    margin-top: 0;
  }

  #overview .overview-list th,
  #overview .overview-list td {
    font-size: 1.6rem;
    padding: 10px;
    display: table-cell;
  }

  #overview .overview-list th {
    width: 30%;
  }

  #overview .overview-list td {
    width: 70%;
  }

  input#your-name,
  input#phone-num,
  input#e-mail,
  textarea {
    width: 100%;
  }

  th,
  td {
    display: block;
    width: 100%;
    padding-bottom: 15px;
  }

  #btn-submit {
    display: block;
    margin: 20px auto;
  }

  .form-blk {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
  }

  /* -------------------- */
  #footer .logo {
    max-width: 80px;
    margin: 0 auto 30px;
  }

  #footer .menu,
  #footer .sns {
    flex-direction: column;
    align-items: center;
  }

  #footer .menu li,
  #footer .sns li {
    margin: 5px 0;
  }


}